Agda-2.4.2: A dependently typed functional programming language and proof assistant

Safe HaskellNone

Agda.Compiler.JS.Parser

Documentation

type Parser = ReadP CharSource

token :: String -> Parser ()Source

punct :: Char -> Parser ()Source

localid :: Map String Nat -> Parser ExpSource

field :: Map String Nat -> Parser (MemberId, Exp)Source

object :: Map String Nat -> Parser ExpSource

function :: Map String Nat -> Parser ExpSource

bracedBlock :: Map String Nat -> Parser ExpSource

returnBlock :: Map String Nat -> Parser ExpSource

ifBlock :: Map String Nat -> Parser ExpSource

exp0 :: Map String Nat -> Parser ExpSource

exp1 :: Map String Nat -> Parser ExpSource

exp2 :: Map String Nat -> Parser ExpSource

exp2' :: Map String Nat -> Exp -> Parser ExpSource

exp3 :: Map String Nat -> Parser ExpSource

exp3' :: Map String Nat -> Exp -> Parser ExpSource

exp :: Map String Nat -> Parser ExpSource

parse :: String -> Either Exp StringSource