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`

public class CaseInsensitiveIdentifierTokenManager extends IdentifierTokenMatcher
An IdentifierTokenMatcher that converts all identifier tokens to lowercase.

Since:
  Jep 4.1
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CaseInsensitiveIdentifierTokenManager(String regex)`
  `CaseInsensitiveIdentifierTokenManager(Pattern pattern)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Token`
  `buildToken(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, unicodeIdentifierMatcher`

  ### Methods inherited from class com.singularsys.jep.configurableparser.matchers.RegExpTokenMatcher

  `match, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### CaseInsensitiveIdentifierTokenManager

    public CaseInsensitiveIdentifierTokenManager(Pattern pattern)

  - ### CaseInsensitiveIdentifierTokenManager

    public CaseInsensitiveIdentifierTokenManager(String regex)

- ## Method Details

  - ### buildToken

    public Token buildToken(String s)
    Description copied from class: `IdentifierTokenMatcher`
    Create the token, if the name matches a function name return a FunctionToken otherwise return an IdentifierToken.
    Specified by:
      `buildToken` in interface `TokenBuilder`
    Overrides:
      `buildToken` in class `IdentifierTokenMatcher`
    Parameters:
      `s` - String representing the completed matched token
    Returns:
      the appropriate type of token.