org.apache.jdo.impl.jdoql.tree
Class Expr

java.lang.Object
  extended by antlr.BaseAST
      extended by antlr.CommonAST
          extended by org.apache.jdo.impl.jdoql.jdoqlc.JDOQLAST
              extended by org.apache.jdo.impl.jdoql.tree.NodeImpl
                  extended by org.apache.jdo.impl.jdoql.tree.Expr
All Implemented Interfaces:
antlr.collections.AST, java.io.Serializable, java.lang.Cloneable, Expression, Node
Direct Known Subclasses:
BinaryExpr, CastExpr, ConstantExpr, IdentifierExpr, MethodCallExpr, UnaryExpr

public abstract class Expr
extends NodeImpl
implements Expression

This node represents a general expression. Examples of general expressions are UnaryExpression, BinaryExpression, FieldAccessExpression, CastExpression and MethodCallExpression.

Author:
Michael Watzek
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jdo.impl.jdoql.jdoqlc.JDOQLAST
column, line, typeInfo
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
Expr()
          The noarg constructor is needed for ANTLR support and deserialization.
 
Method Summary
 
Methods inherited from class org.apache.jdo.impl.jdoql.tree.NodeImpl
arrive, clone, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, toString, walkNextChild
 
Methods inherited from class org.apache.jdo.impl.jdoql.jdoqlc.JDOQLAST
getColumn, getLine, getTypeInfo, initialize, initialize, initialize, setColumn, setLine, setTypeInfo, treeToString
 
Methods inherited from class antlr.CommonAST
getText, getType, initialize, setText, setType
 
Methods inherited from class antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.jdo.jdoql.tree.Node
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild
 

Constructor Detail

Expr

public Expr()
The noarg constructor is needed for ANTLR support and deserialization. The caller must make sure to set the ANTLR tree structure himself or, call setChildren optionally.



Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.