org.apache.camel.language.simple.ast
Class BaseSimpleNode

java.lang.Object
  extended by org.apache.camel.language.simple.ast.BaseSimpleNode
All Implemented Interfaces:
SimpleNode
Direct Known Subclasses:
BinaryExpression, CompositeNodes, DoubleQuoteEnd, DoubleQuoteStart, LiteralExpression, LogicalExpression, NullExpression, SimpleFunctionEnd, SimpleFunctionStart, SingleQuoteEnd, SingleQuoteStart, UnaryExpression

public abstract class BaseSimpleNode
extends Object
implements SimpleNode

Base class for SimpleNode nodes.


Field Summary
protected  SimpleToken token
           
 
Constructor Summary
protected BaseSimpleNode(SimpleToken token)
           
 
Method Summary
 SimpleToken getToken()
          Gets the token by which this model was based upon
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.language.simple.ast.SimpleNode
createExpression
 

Field Detail

token

protected final SimpleToken token
Constructor Detail

BaseSimpleNode

protected BaseSimpleNode(SimpleToken token)
Method Detail

getToken

public SimpleToken getToken()
Description copied from interface: SimpleNode
Gets the token by which this model was based upon

Specified by:
getToken in interface SimpleNode
Returns:
the token

toString

public String toString()
Overrides:
toString in class Object


Apache CAMEL