| |
|
| org.apache.ojb.jdo.jdoql.ASTWithPositionInfo
ASTWithPositionInfo | public class ASTWithPositionInfo extends CommonAST (Code) | | An AST node that also contains position info (for error handling).
author: Thomas Dudziak |
Method Summary | |
public void | addChild(AST ast) | public int | getColumn() Returns the column where the source of this node started. | public int | getLine() Returns the line where the source of this node started. | public void | initialize(AST ast) | public void | initialize(Token tok) | public void | setFirstChild(AST ast) |
ASTWithPositionInfo | public ASTWithPositionInfo()(Code) | | Creates a new node.
|
ASTWithPositionInfo | public ASTWithPositionInfo(Token tok)(Code) | | Creates a new node for the given token.
Parameters: tok - The token |
addChild | public void addChild(AST ast)(Code) | | |
getColumn | public int getColumn()(Code) | | Returns the column where the source of this node started.
The column See Also: antlr.collections.AST.getColumn |
getLine | public int getLine()(Code) | | Returns the line where the source of this node started.
The line See Also: antlr.collections.AST.getLine |
initialize | public void initialize(AST ast)(Code) | | |
initialize | public void initialize(Token tok)(Code) | | |
setFirstChild | public void setFirstChild(AST ast)(Code) | | |
|
|
|