casl2 library

Classes

BlockStatement
Code
Env
ErrorNode
error
ErrorToken
error
LabelCode
Lexer
lexical analysis.
LexerInterface
LiteralCode
Node
Parser
Program
Parser return this Node
Root
Statement's root
Statement
Token
Token

Enums

ExpectedStatus
expected current status.
TokenType
Type of Token

Constants

tokenEOF → const Token

Properties

comma int
final
decNumbers HashSet<int>
final
hexNumbers HashSet<int>
final
minus int
final
newline int
newline
final
quote int
final
semicolon int
comment
final
sharp int
final
space int
space
final
tab int
final

Functions

isNewline(int? rune) bool
isSeparation(int? rune) bool
isSpace(int? rune) bool
parseMacro(Node parent, Token? label, Token opecode, List<Token> operand, Env env) Node
parseNode(Node parent, Token? label, Token? opecode, List<Token> operand, Env env, {required Token current}) Node
parse to node
tokenTypeAsString(TokenType type) String