Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LexerInput ¶
type LexicalCfg ¶
type LexicalCfg struct {
StartCharset string `json:"start_charset"` //must in this charset.
StartWith []string `json:"start_with"` //if len != 0, only when find those string can do.
EndWith []string `json:"end_with"`
Contains string `json:"contains"`
NotContains string `json:"not_contains"`
FilterBackSlash bool `json:"filter_back_slash"`
}
type LexicalUnit ¶
type LexicalUnit struct {
snreader.ProductItf
Type LexType
Value string
}
func (*LexicalUnit) ProductType ¶
func (this *LexicalUnit) ProductType() int
Click to show internal directories.
Click to hide internal directories.