Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
Token represents a config token
func (Token) IsParameterEligible ¶
IsParameterEligible checks if token is directive parameter eligible
type Tokens ¶
type Tokens []Token
Tokens list of token
type Type ¶
type Type int
Type Token.Type
const ( //EOF end of file EOF Type = iota //Eol end of line Eol //Keyword any keyword Keyword //QuotedString Quoted String QuotedString //Variable any $variabl Variable //BlockStart { BlockStart //BlockEnd } BlockEnd //Semicolon ; Semicolon //Comment #comment Comment //EndOfLine \n or \r EndOfLine //Illegal a token that should never happen Illegal //Regex any reg expression Regex // LuaCode lua block LuaCode )
Click to show internal directories.
Click to hide internal directories.