Class AbstractOptimizer

    • Constructor Detail

      • AbstractOptimizer

        protected AbstractOptimizer()
      • AbstractOptimizer

        protected AbstractOptimizer​(ParserContext pCtx)
    • Method Detail

      • tryStaticAccess

        protected Object tryStaticAccess()
        Try static access of the property, and return an instance of the Field, Method of Class if successful.
        Returns:
        - Field, Method or Class instance.
      • nextSubToken

        protected int nextSubToken()
      • capture

        protected String capture()
      • whiteSpaceSkip

        protected void whiteSpaceSkip()
        Skip to the next non-whitespace position.
      • scanTo

        protected boolean scanTo​(char c)
        Parameters:
        c - - character to scan to.
        Returns:
        - returns true is end of statement is hit, false if the scan scar is countered.
      • findLastUnion

        protected int findLastUnion()