Package com.singularsys.jep.misc
Class CaseInsensitiveIdentifierTokenManager
java.lang.Object
com.singularsys.jep.configurableparser.matchers.RegExpTokenMatcher
com.singularsys.jep.configurableparser.matchers.IdentifierTokenMatcher
com.singularsys.jep.misc.CaseInsensitiveIdentifierTokenManager
- All Implemented Interfaces:
TokenBuilder,TokenMatcher,Serializable
An IdentifierTokenMatcher that converts all identifier tokens to lowercase.
- Since:
- Jep 4.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbuildToken(String s) Create the token, if the name matches a function name return a FunctionToken otherwise return an IdentifierToken.Methods inherited from class com.singularsys.jep.configurableparser.matchers.IdentifierTokenMatcher
basicIdentifierMatcher, dottedIdentifierMatcher, init, javaIdentifierMatcher, unicodeIdentifierMatcherMethods inherited from class com.singularsys.jep.configurableparser.matchers.RegExpTokenMatcher
match, toString
-
Constructor Details
-
CaseInsensitiveIdentifierTokenManager
-
CaseInsensitiveIdentifierTokenManager
-
-
Method Details
-
buildToken
Description copied from class:IdentifierTokenMatcherCreate the token, if the name matches a function name return a FunctionToken otherwise return an IdentifierToken.- Specified by:
buildTokenin interfaceTokenBuilder- Overrides:
buildTokenin classIdentifierTokenMatcher- Parameters:
s- String representing the completed matched token- Returns:
- the appropriate type of token.
-