org.ofbiz.base.util.string
Class JuelConnector.ExtendedParser

java.lang.Object
  extended by Parser
      extended by org.ofbiz.base.util.string.JuelConnector.ExtendedParser
Enclosing class:
JuelConnector

protected static class JuelConnector.ExtendedParser
extends Parser

Custom Parser class needed to implement auto-vivify.


Constructor Summary
JuelConnector.ExtendedParser(Builder context, java.lang.String input)
           
 
Method Summary
protected  AstBracket createAstBracket(AstNode base, AstNode property, boolean lvalue, boolean strict)
           
protected  AstDot createAstDot(AstNode base, java.lang.String property, boolean lvalue)
           
protected  AstEval eval(boolean required, boolean deferred)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JuelConnector.ExtendedParser

public JuelConnector.ExtendedParser(Builder context,
                                    java.lang.String input)
Method Detail

eval

protected AstEval eval(boolean required,
                       boolean deferred)
                throws ScanException,
                       ParseException
Throws:
ScanException
ParseException

createAstBracket

protected AstBracket createAstBracket(AstNode base,
                                      AstNode property,
                                      boolean lvalue,
                                      boolean strict)

createAstDot

protected AstDot createAstDot(AstNode base,
                              java.lang.String property,
                              boolean lvalue)