Class PropertyVerifier

All Implemented Interfaces:
Serializable, Parser

public class PropertyVerifier extends AbstractOptimizer
This verifier is used by the compiler to enforce rules such as type strictness. It is, as side-effect, also responsible for extracting type information.
Author:
Mike Brock, Dhanji Prasanna
See Also:
  • Constructor Details

    • PropertyVerifier

      public PropertyVerifier(char[] property, ParserContext parserContext)
    • PropertyVerifier

      public PropertyVerifier(char[] property, int start, int offset, ParserContext parserContext)
    • PropertyVerifier

      public PropertyVerifier(String property, ParserContext parserContext)
    • PropertyVerifier

      public PropertyVerifier(String property, ParserContext parserContext, Class root)
  • Method Details

    • getInputs

      public List<String> getInputs()
    • setInputs

      public void setInputs(List<String> inputs)
    • analyze

      public Class analyze()
      Analyze the statement and return the known egress type.
      Returns:
      known engress type
    • isResolvedExternally

      public boolean isResolvedExternally()
    • isClassLiteral

      public boolean isClassLiteral()
    • isDeepProperty

      public boolean isDeepProperty()
    • isInput

      public boolean isInput()
    • isMethodCall

      public boolean isMethodCall()
    • isFqcn

      public boolean isFqcn()
    • getCtx

      public Class getCtx()
    • setCtx

      public void setCtx(Class ctx)