Documentation ¶
Index ¶
- Variables
- type Lexer
- func (l *Lexer) ChopChar(len int)
- func (l *Lexer) FormatCode(tokens *[]*Token, swap *map[string]string) (res string)
- func (l *Lexer) GetTokenContent(token *Token) string
- func (l *Lexer) GetTokens() *[]*Token
- func (l *Lexer) NextToken() *Token
- func (l *Lexer) SetContent(content string)
- func (l *Lexer) Trim()
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Lexer ¶
type Lexer struct { Content string Content_len int Cursor int Line int LineStart int KeywordsTree *map[string]uint8 }
func (*Lexer) FormatCode ¶
func (*Lexer) GetTokenContent ¶
func (*Lexer) SetContent ¶
Click to show internal directories.
Click to hide internal directories.