Documentation ¶
Index ¶
- func InitKeywordMatcher(newKeywords []string) func() func(r rune, currentText *string) MatcherResult
- func InitSymbolMatcher(newSymbols []string) func() func(r rune, currentText *string) MatcherResult
- func StartFloatMatcher() func(r rune, currentText *string) MatcherResult
- func StartIdentifierMatcher() func(r rune, currentText *string) MatcherResult
- func StartIntegerMatcher() func(r rune, currentText *string) MatcherResult
- func StartStringMatcher() func(r rune, currentText *string) MatcherResult
- func StartWhitespaceMatcher() func(r rune, currentText *string) MatcherResult
- func StartWordMatcher() func(r rune, currentText *string) MatcherResult
- type MatcherResult
- type Token
- type TokenType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitKeywordMatcher ¶
func InitKeywordMatcher(newKeywords []string) func() func(r rune, currentText *string) MatcherResult
func InitSymbolMatcher ¶
func InitSymbolMatcher(newSymbols []string) func() func(r rune, currentText *string) MatcherResult
func StartFloatMatcher ¶
func StartFloatMatcher() func(r rune, currentText *string) MatcherResult
func StartIdentifierMatcher ¶
func StartIdentifierMatcher() func(r rune, currentText *string) MatcherResult
func StartIntegerMatcher ¶
func StartIntegerMatcher() func(r rune, currentText *string) MatcherResult
func StartStringMatcher ¶
func StartStringMatcher() func(r rune, currentText *string) MatcherResult
func StartWhitespaceMatcher ¶
func StartWhitespaceMatcher() func(r rune, currentText *string) MatcherResult
func StartWordMatcher ¶
func StartWordMatcher() func(r rune, currentText *string) MatcherResult
Types ¶
type MatcherResult ¶
Click to show internal directories.
Click to hide internal directories.