frysk.expr
Class DetailedAST

java.lang.Object
  extended by CommonAST
      extended by frysk.expr.DetailedAST

public class DetailedAST
extends CommonAST

An AST that also retains the location of its token. For what ever reason the default ast doesn't remember the location (line/col) of a token.


Field Summary
private  int column
           
private  int line
           
(package private) static long serialVersionUID
           
 
Constructor Summary
DetailedAST()
           
 
Method Summary
 int getColumn()
           
 int getLine()
           
 void initialize(Token t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

column

private int column

line

private int line
Constructor Detail

DetailedAST

public DetailedAST()
Method Detail

initialize

public void initialize(Token t)

getColumn

public int getColumn()

getLine

public int getLine()