Agda-2.6.2.2.20221106: A dependently typed functional programming language and proof assistant
Safe HaskellSafe-Inferred
LanguageHaskell2010

Agda.Compiler.JS.Syntax

Documentation

data Exp Source #

Instances

Instances details
Pretty Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

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

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 #

Show Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

showsPrec :: Int -> Exp -> ShowS #

show :: Exp -> String #

showList :: [Exp] -> ShowS #

Eq Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

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

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

newtype LocalId Source #

Constructors

LocalId Nat 

Instances

Instances details
Pretty LocalId Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

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

Show LocalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

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

newtype GlobalId Source #

Constructors

GlobalId [String] 

Instances

Instances details
Pretty GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

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

Show GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Eq GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Ord GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

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
Pretty MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

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

Show MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Eq MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Ord MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

newtype Comment Source #

Constructors

Comment String 

Instances

Instances details
Pretty Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

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

Globals Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Uses Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Monoid Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Semigroup Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Show Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

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

data Export Source #

Constructors

Export 

Fields

Instances

Instances details
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 #

Show Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

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
Pretty Module Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

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

Globals Module Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Show Module Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

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 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 Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: Export -> 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 (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 (a, b) Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: (a, b) -> 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 Comment Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Module Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

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

Defined in Agda.Compiler.JS.Syntax

Methods

globals :: Maybe a -> Set GlobalId Source #

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

Defined in Agda.Compiler.JS.Syntax

Methods

globals :: [a] -> 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 (a, b) Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

globals :: (a, b) -> 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 #