Agda-2.6.2.2: A dependently typed functional programming language and proof assistant
Safe HaskellNone
LanguageHaskell2010

Agda.Compiler.JS.Syntax

Documentation

data Exp Source #

Instances

Instances details
Eq Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

(==) :: Exp -> Exp -> Bool #

(/=) :: Exp -> Exp -> Bool #

Show Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

showsPrec :: Int -> Exp -> ShowS #

show :: Exp -> String #

showList :: [Exp] -> ShowS #

Globals Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Uses Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: Exp -> Set JSQName Source #

Pretty Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: (Nat, Bool) -> Exp -> Doc Source #

newtype LocalId Source #

Constructors

LocalId Nat 

Instances

Instances details
Eq LocalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

(==) :: LocalId -> LocalId -> Bool #

(/=) :: LocalId -> LocalId -> Bool #

Ord LocalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Show LocalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Pretty LocalId Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: (Nat, Bool) -> LocalId -> Doc Source #

newtype GlobalId Source #

Constructors

GlobalId [String] 

Instances

Instances details
Eq GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Ord GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Show GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Pretty GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: (Nat, Bool) -> GlobalId -> Doc Source #

Pretty [(GlobalId, Export)] Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: (Nat, Bool) -> [(GlobalId, Export)] -> Doc Source #

data MemberId Source #

Instances

Instances details
Eq MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Ord MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Show MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Pretty MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: (Nat, Bool) -> MemberId -> Doc Source #

newtype Comment Source #

Constructors

Comment String 

Instances

Instances details
Eq Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

(==) :: Comment -> Comment -> Bool #

(/=) :: Comment -> Comment -> Bool #

Ord Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Show Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Semigroup Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Monoid Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Uses Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Pretty Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: (Nat, Bool) -> Comment -> Doc Source #

data Export Source #

Constructors

Export 

Fields

Instances

Instances details
Show Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Uses Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: Export -> Set JSQName Source #

Pretty [(GlobalId, Export)] Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: (Nat, Bool) -> [(GlobalId, Export)] -> Doc Source #

data Module Source #

Constructors

Module 

Instances

Instances details
Show Module Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Module Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Pretty Module Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: (Nat, Bool) -> Module -> Doc Source #

class Uses a where Source #

Minimal complete definition

Nothing

Methods

uses :: a -> Set JSQName Source #

default uses :: (a ~ t b, Foldable t, Uses b) => a -> Set JSQName Source #

Instances

Instances details
Uses Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: Export -> Set JSQName Source #

Uses Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Uses Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: Exp -> Set JSQName Source #

Uses a => Uses [a] Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: [a] -> Set JSQName Source #

(Uses a, Uses b) => Uses (a, b) Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: (a, b) -> Set JSQName Source #

Uses a => Uses (Map k a) Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: Map k a -> Set JSQName Source #

(Uses a, Uses b, Uses c) => Uses (a, b, c) Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: (a, b, c) -> Set JSQName Source #

class Globals a where Source #

Minimal complete definition

Nothing

Methods

globals :: a -> Set GlobalId Source #

default globals :: (a ~ t b, Foldable t, Globals b) => a -> Set GlobalId Source #

Instances

Instances details
Globals Module Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals a => Globals [a] Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

globals :: [a] -> Set GlobalId Source #

Globals a => Globals (Maybe a) Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

globals :: Maybe a -> Set GlobalId Source #

(Globals a, Globals b) => Globals (a, b) Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

globals :: (a, b) -> Set GlobalId Source #

Globals a => Globals (Map k a) Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

globals :: Map k a -> Set GlobalId Source #

(Globals a, Globals b, Globals c) => Globals (a, b, c) Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

globals :: (a, b, c) -> Set GlobalId Source #