Uses of Class
net.fauxpark.stringes.Lexer.SymbolPriority
-
Packages that use Lexer.SymbolPriority Package Description net.fauxpark.stringes The core Stringe classes. -
-
Uses of Lexer.SymbolPriority in net.fauxpark.stringes
Methods in net.fauxpark.stringes that return Lexer.SymbolPriority Modifier and Type Method Description static Lexer.SymbolPriority
Lexer.SymbolPriority. valueOf(String name)
Returns the enum constant of this type with the specified name.static Lexer.SymbolPriority[]
Lexer.SymbolPriority. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.fauxpark.stringes that return types with arguments of type Lexer.SymbolPriority Modifier and Type Method Description (package private) List<ThreeTuple<Function<StringeReader,Boolean>,T,Lexer.SymbolPriority>>
Lexer. getFunctions()
Returns the list of function rules.(package private) List<ThreeTuple<Pattern,Lexer.RuleMatchValueGenerator<T>,Lexer.SymbolPriority>>
Lexer. getRegexes()
Returns the list of regex rules.Methods in net.fauxpark.stringes with parameters of type Lexer.SymbolPriority Modifier and Type Method Description void
Lexer. add(String[] symbols, T id, boolean ignoreCase, Lexer.SymbolPriority priority)
Defines a lexer rule that returns a token when any of the specified strings are found.void
Lexer. add(String[] symbols, T id, Lexer.SymbolPriority priority)
Defines a lexer rule that returns a token when any of the specified strings are found.void
Lexer. add(String symbol, T id, boolean ignoreCase, Lexer.SymbolPriority priority)
Defines a lexer rule that returns a token when the specified string is found.void
Lexer. add(String symbol, T id, Lexer.SymbolPriority priority)
Defines a lexer rule that returns a token when the specified string is found.void
Lexer. add(Function<StringeReader,Boolean> func, T id, Lexer.SymbolPriority priority)
Defines a lexer rule that returns a token when the specified function returns true.void
Lexer. add(Pattern regex, Function<MatchResult,T> generator, Lexer.SymbolPriority priority)
Defines a lexer rule that returns a token when the specified regular expression finds a match.void
Lexer. add(Pattern regex, T id, Lexer.SymbolPriority priority)
Defines a lexer rule that returns a token when the specified regular expression finds a match.
-