Documentation
¶
Index ¶
Constants ¶
View Source
const ( ILLEGAL = "ILLEGAL" EOF = "EOF" // literals INT = "INT" IDENT = "IDENT" DATE = "DATE" UNIT = "UNIT" // Operators ASSIGN = "=" LT = "<" GT = ">" LE = "<=" GE = ">=" EQ = "==" NOT_EQ = "!=" // Keywords AND = "AND" OR = "OR" LPAREN = "(" RPAREN = ")" )
Variables ¶
View Source
var ExtensionEnum = []string{"dll", "exe", "ps1"}
View Source
var TypeEnum = []string{"pe", "elf", "macho", "txt"}
Functions ¶
This section is empty.
Types ¶
type TokenType ¶
type TokenType string
func LookupIdent ¶
Update LookupIdent to return both token type and value type
Click to show internal directories.
Click to hide internal directories.