| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Parser
Documentation
parse :: ByteString -> Either [CompileError] Program Source #
Constructors
| Program | |
Fields
| |
data ImportDecl Source #
Constructors
| ImportDecl | |
Instances
| Show ImportDecl Source # | |
Defined in Parser.Tree Methods showsPrec :: Int -> ImportDecl -> ShowS # show :: ImportDecl -> String # showList :: [ImportDecl] -> ShowS # | |
data MethodDecl Source #
Constructors
| MethodDecl | |
Instances
| Show MethodDecl Source # | |
Defined in Parser.Tree Methods showsPrec :: Int -> MethodDecl -> ShowS # show :: MethodDecl -> String # showList :: [MethodDecl] -> ShowS # | |
Constructors
| ScalarField | |
| VectorField | |
Constructors
| Argument | |
Fields
| |
Constructors
| Block | |
Fields
| |
Constructors
| AssignStatement | |
Fields
| |
| MethodCallStatement | |
Fields | |
| IfStatement | |
| IfElseStatement | |
| ForStatement | |
Fields
| |
| WhileStatement | |
Fields
| |
| ReturnVoidStatement | |
| ReturnExprStatement | |
Fields
| |
| BreakStatement | |
| ContinueStatement | |
| ErrorStatement | |
Constructors
| ScalarLocation | |
Fields
| |
| VectorLocation | |
Fields
| |
data AssignExpr Source #
Constructors
| AssignExpr | |
Fields
| |
| IncrementExpr | |
Fields
| |
Instances
| Show AssignExpr Source # | |
Defined in Parser.Tree Methods showsPrec :: Int -> AssignExpr -> ShowS # show :: AssignExpr -> String # showList :: [AssignExpr] -> ShowS # | |
data MethodCall Source #
Constructors
| MethodCall | |
Fields
| |
Instances
| Show MethodCall Source # | |
Defined in Parser.Tree Methods showsPrec :: Int -> MethodCall -> ShowS # show :: MethodCall -> String # showList :: [MethodCall] -> ShowS # | |
Constructors
| ExprImportArg | |
Fields
| |
| StringImportArg | |
Fields
| |
data CounterUpdate Source #
Constructors
| CounterUpdate | |
Fields
| |
Instances
| Show CounterUpdate Source # | |
Defined in Parser.Tree Methods showsPrec :: Int -> CounterUpdate -> ShowS # show :: CounterUpdate -> String # showList :: [CounterUpdate] -> ShowS # | |
Constructors
| LocationExpr | |
| MethodCallExpr | |
Fields | |
| IntLiteralExpr | |
Fields
| |
| CharLiteralExpr | |
Fields
| |
| BoolLiteralExpr | |
Fields
| |
| LenExpr | |
| ArithOpExpr | |
| RelOpExpr | |
| EqOpExpr | |
| CondOpExpr | |
| NegativeExpr | |
Fields
| |
| NegateExpr | |
Fields
| |
| ParenExpr | |
| ChoiceExpr | |