///<summary> ///Parses the given OGNL expression and returns a tree representation of the ///expression that can be used by <c>Ognl</c> static methods. ///</summary> ///<param name="expression">the OGNL expression to be parsed</param> ///<returns>a tree representation of the expression</returns> ///<exception cref="ExpressionSyntaxException">if the expression is malformed</exception> ///<exception cref="OgnlException"> if there is a pathological environmental problem</exception> /// public static object parseExpression(string expression) // throws OgnlException { try { OgnlParser parser = new OgnlParser(new StringReader(expression)); return(parser.topLevelExpression()); } catch (ParseException e) { throw new ExpressionSyntaxException(expression, e); } catch (TokenMgrError e) { throw new ExpressionSyntaxException(expression, e); } }
public ASTLess(OgnlParser p, int id) : base(p, id) { }
public ASTRemainder(OgnlParser p, int id) : base(p, id) { }
public ASTThisVarRef(OgnlParser p, int id) : base(p, id) { }
public ASTNotIn(OgnlParser p, int id) : base(p, id) { }
public ASTMultiply(OgnlParser p, int id) : base(p, id) { }
public ASTEval(OgnlParser p, int id) : base(p, id) { ; }
public SimpleNode(OgnlParser p, int i) : this(i){ parser = p; }
public ASTSequence(OgnlParser p, int id) : base(p, id) { }
public ASTSubtract(OgnlParser p, int id) : base(p, id) { }
public ExpressionNode(OgnlParser p, int i) : base(p, i) { ; }
public ASTList(OgnlParser p, int id) : base(p, id) { }
public ASTDivide(OgnlParser p, int id) : base(p, id) { ; }
public ASTShiftLeft(OgnlParser p, int id) : base(p, id) { }
public ASTKeyValue(OgnlParser p, int id) : base(p, id) { }
public ASTProject(OgnlParser p, int id) : base(p, id) { }
public ASTChain(OgnlParser p, int id) : base(p, id) { ; }
public ASTGreaterEq(OgnlParser p, int id) : base(p, id) { ; }
public ASTShiftRight(OgnlParser p, int id) : base(p, id) { }
public ASTBitOr(OgnlParser p, int id) : base(p, id) { ; }
public ASTMethod(OgnlParser p, int id) : base(p, id) { }
public ASTAdd(OgnlParser p, int id) : base(p, id) { ; }
public ASTSelectLast(OgnlParser p, int id) : base(p, id) { }
public ASTProperty(OgnlParser p, int id) : base(p, id) { }
public ASTConst(OgnlParser p, int id) : base(p, id) { ; }
public ASTUnsignedShiftRight(OgnlParser p, int id) : base(p, id) { }
public ASTNegate(OgnlParser p, int id) : base(p, id) { }
public ASTOr(OgnlParser p, int id) : base(p, id) { }
public ASTRootVarRef(OgnlParser p, int id) : base(p, id) { }
public ASTStaticField(OgnlParser p, int id) : base(p, id) { }