Class JuelConnector.ExtendedParser

java.lang.Object
de.odysseus.el.tree.impl.Parser
org.apache.ofbiz.base.util.string.JuelConnector.ExtendedParser
Enclosing class:
JuelConnector

protected static class JuelConnector.ExtendedParser extends de.odysseus.el.tree.impl.Parser
Custom Parser class needed to implement auto-vivify.
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.odysseus.el.tree.impl.Parser

    de.odysseus.el.tree.impl.Parser.ExtensionHandler, de.odysseus.el.tree.impl.Parser.ExtensionPoint, de.odysseus.el.tree.impl.Parser.ParseException
  • Field Summary

    Fields inherited from class de.odysseus.el.tree.impl.Parser

    context, extensions, scanner
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExtendedParser(de.odysseus.el.tree.impl.Builder context, String input)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected de.odysseus.el.tree.impl.ast.AstBracket
    createAstBracket(de.odysseus.el.tree.impl.ast.AstNode base, de.odysseus.el.tree.impl.ast.AstNode property, boolean lvalue, boolean strict)
     
    protected de.odysseus.el.tree.impl.ast.AstDot
    createAstDot(de.odysseus.el.tree.impl.ast.AstNode base, String property, boolean lvalue)
     
    protected de.odysseus.el.tree.impl.ast.AstEval
    eval(boolean required, boolean deferred)
     

    Methods inherited from class de.odysseus.el.tree.impl.Parser

    add, and, cmp, consumeToken, consumeToken, createAstBinary, createAstChoice, createAstComposite, createAstFunction, createAstIdentifier, createAstMethod, createAstUnary, createScanner, eq, eval, expr, fail, fail, function, getExtensionHandler, getFunctions, getIdentifiers, getToken, identifier, literal, lookahead, mul, nonliteral, or, params, parseFloat, parseInteger, putExtensionHandler, text, tree, unary, value

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExtendedParser

      public ExtendedParser(de.odysseus.el.tree.impl.Builder context, String input)
  • Method Details

    • eval

      protected de.odysseus.el.tree.impl.ast.AstEval eval(boolean required, boolean deferred) throws de.odysseus.el.tree.impl.Scanner.ScanException, de.odysseus.el.tree.impl.Parser.ParseException
      Overrides:
      eval in class de.odysseus.el.tree.impl.Parser
      Throws:
      de.odysseus.el.tree.impl.Scanner.ScanException
      de.odysseus.el.tree.impl.Parser.ParseException
    • createAstBracket

      protected de.odysseus.el.tree.impl.ast.AstBracket createAstBracket(de.odysseus.el.tree.impl.ast.AstNode base, de.odysseus.el.tree.impl.ast.AstNode property, boolean lvalue, boolean strict)
      Overrides:
      createAstBracket in class de.odysseus.el.tree.impl.Parser
    • createAstDot

      protected de.odysseus.el.tree.impl.ast.AstDot createAstDot(de.odysseus.el.tree.impl.ast.AstNode base, String property, boolean lvalue)
      Overrides:
      createAstDot in class de.odysseus.el.tree.impl.Parser