Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
Lexer tokenizes the source code.
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser parses tokens into an AST.
type TokenType ¶
type TokenType string
TokenType defines the type of a token.
const ( IDENT TokenType = "IDENT" STRING TokenType = "STRING" LBRACE TokenType = "LBRACE" RBRACE TokenType = "RBRACE" COLON TokenType = "COLON" AT TokenType = "AT" LPAREN TokenType = "LPAREN" RPAREN TokenType = "RPAREN" HTTP_METHOD TokenType = "HTTP_METHOD" PATH TokenType = "PATH" EOF TokenType = "EOF" ILLEGAL TokenType = "ILLEGAL" )
Click to show internal directories.
Click to hide internal directories.