org.makumba.providers.datadefinition.mdd
Class MDDAST

java.lang.Object
  extended by antlr.BaseAST
      extended by antlr.CommonAST
          extended by org.makumba.providers.datadefinition.mdd.MDDAST
All Implemented Interfaces:
antlr.collections.AST, Serializable
Direct Known Subclasses:
ComparisonExpressionNode, FieldNode, FunctionNode, TitleFieldNode, ValidationRuleNode

public class MDDAST
extends antlr.CommonAST

Custom AST type that stores useful information for MDD parsing and analysis, such as token line and column and makumba type

Version:
$Id: MDDAST.java,v 1.1 May 8, 2009 1:44:43 PM manu Exp $
Author:
Manuel Gay
See Also:
Serialized Form

Field Summary
protected  FieldType makumbaType
           
protected  boolean wasIncluded
           
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
MDDAST()
           
 
Method Summary
 int getColumn()
           
 int getLine()
           
 void initialize(antlr.collections.AST t)
           
 void initialize(antlr.Token tok)
           
 void setCol(int col)
           
 void setLine(int line)
           
 
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, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

makumbaType

protected FieldType makumbaType

wasIncluded

protected boolean wasIncluded
Constructor Detail

MDDAST

public MDDAST()
Method Detail

initialize

public void initialize(antlr.Token tok)
Specified by:
initialize in interface antlr.collections.AST
Overrides:
initialize in class antlr.CommonAST

initialize

public void initialize(antlr.collections.AST t)
Specified by:
initialize in interface antlr.collections.AST
Overrides:
initialize in class antlr.CommonAST

getColumn

public int getColumn()
Specified by:
getColumn in interface antlr.collections.AST
Overrides:
getColumn in class antlr.BaseAST

getLine

public int getLine()
Specified by:
getLine in interface antlr.collections.AST
Overrides:
getLine in class antlr.BaseAST

setLine

public void setLine(int line)

setCol

public void setCol(int col)