Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateRegExpResult ¶
type GenerateTransitionsUsingBinarySearchResult ¶
type GenerateTransitionsUsingBinarySearchResult struct {
Lookup codegen.Node
Next codegen.Node
Code codegen.Node
}
func GenerateTransitionsUsingBinarySearch ¶
func GenerateTransitionsUsingBinarySearch(bySource *automatons.RuneRangeTargetsMapping, source int, tokenName string, imports map[string]bool, deadState int) GenerateTransitionsUsingBinarySearchResult
type Regexp ¶
func MustCompile ¶
type RegexpImpl ¶
type RegexpImpl struct {
// contains filtered or unexported fields
}
func (*RegexpImpl) FindStringIndex ¶
func (r *RegexpImpl) FindStringIndex(s string) (loc []int)
func (*RegexpImpl) GenerateRegExp ¶
func (r *RegexpImpl) GenerateRegExp(funcName string, tokenName string) GenerateRegExpResult
func (*RegexpImpl) GetStartChars ¶
func (r *RegexpImpl) GetStartChars() *automatons.RuneSet
func (RegexpImpl) String ¶
func (re RegexpImpl) String() string
Click to show internal directories.
Click to hide internal directories.