Class Filter.FilterCompiler.IdentitiferLookAhead

java.lang.Object
sailpoint.tools.Parser.BaseLookAhead
sailpoint.object.Filter.FilterCompiler.IdentitiferLookAhead
All Implemented Interfaces:
sailpoint.tools.Parser.LookAhead
Enclosing class:
Filter.FilterCompiler

public static class Filter.FilterCompiler.IdentitiferLookAhead extends sailpoint.tools.Parser.BaseLookAhead
Identifiers can have ambiguity because they can contain spaces. To figure out if a space should be a part of the identifier or not, look ahead to see if the next part of the string is something we expect in the grammar after an identifier - either a dot (for a dotted property), a parenthesis (when using an identifier as a function name), or an operator.
  • Constructor Details

    • IdentitiferLookAhead

      public IdentitiferLookAhead()
  • Method Details

    • isAmbiguous

      public boolean isAmbiguous(char c)
      Description copied from interface: sailpoint.tools.Parser.LookAhead
      Return whether the given character can be ambiguous for the grammar.
    • continueParsingInternal

      public boolean continueParsingInternal(sailpoint.tools.Parser p)
      Description copied from class: sailpoint.tools.Parser.BaseLookAhead
      A template method that should be overridden to check if we should continue parsing.
      Specified by:
      continueParsingInternal in class sailpoint.tools.Parser.BaseLookAhead