|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object antlr.BaseAST antlr.CommonAST org.codehaus.groovy.antlr.GroovySourceAST
public class GroovySourceAST extends antlr.CommonAST
We have an AST subclass so we can track source information. Very odd that ANTLR doesn't do this by default.
Constructor Summary | |
GroovySourceAST()
|
|
GroovySourceAST(antlr.Token t)
|
Method Summary | |
---|---|
GroovySourceAST
|
childAt(int position)
|
GroovySourceAST
|
childOfType(int type)
|
java.util.List
|
childrenOfType(int type)
|
int
|
compareTo(java.lang.Object object)
|
int
|
getColumn()
|
int
|
getColumnLast()
|
int
|
getLine()
|
int
|
getLineLast()
|
java.lang.String
|
getSnippet()
|
void
|
initialize(antlr.collections.AST ast)
|
void
|
initialize(antlr.Token t)
|
void
|
setColumn(int column)
|
void
|
setColumnLast(int colLast)
|
void
|
setLast(antlr.Token last)
|
void
|
setLine(int line)
|
void
|
setLineLast(int lineLast)
|
void
|
setSnippet(java.lang.String snippet)
|
Methods inherited from class antlr.CommonAST | |
---|---|
antlr.CommonAST#getText(), antlr.CommonAST#setText(java.lang.String), antlr.CommonAST#getType(), antlr.CommonAST#initialize(antlr.Token), antlr.CommonAST#initialize(int, java.lang.String), antlr.CommonAST#initialize(antlr.collections.AST), antlr.CommonAST#setType(int), antlr.CommonAST#findAll(antlr.collections.AST), antlr.CommonAST#getFirstChild(), antlr.CommonAST#getNextSibling(), antlr.CommonAST#getColumn(), antlr.CommonAST#getLine(), antlr.CommonAST#toStringList(), antlr.CommonAST#addChild(antlr.collections.AST), antlr.CommonAST#getTokenNames(), antlr.CommonAST#equalsListPartial(antlr.collections.AST), antlr.CommonAST#equalsTree(antlr.collections.AST), antlr.CommonAST#equalsTreePartial(antlr.collections.AST), antlr.CommonAST#findAllPartial(antlr.collections.AST), antlr.CommonAST#removeChildren(), antlr.CommonAST#setFirstChild(antlr.collections.AST), antlr.CommonAST#setNextSibling(antlr.collections.AST), antlr.CommonAST#setVerboseStringConversion(boolean, [Ljava.lang.String;), antlr.CommonAST#toStringTree(), antlr.CommonAST#xmlSerializeNode(java.io.Writer), antlr.CommonAST#xmlSerializeRootOpen(java.io.Writer), antlr.CommonAST#xmlSerializeRootClose(java.io.Writer), antlr.CommonAST#xmlSerialize(java.io.Writer), antlr.CommonAST#equalsList(antlr.collections.AST), antlr.CommonAST#getNumberOfChildren(), antlr.CommonAST#equals(antlr.collections.AST), antlr.CommonAST#toString(), antlr.CommonAST#decode(java.lang.String), antlr.CommonAST#encode(java.lang.String), antlr.CommonAST#wait(long, int), antlr.CommonAST#wait(long), antlr.CommonAST#wait(), antlr.CommonAST#equals(java.lang.Object), antlr.CommonAST#hashCode(), antlr.CommonAST#getClass(), antlr.CommonAST#notify(), antlr.CommonAST#notifyAll() |
Methods inherited from class antlr.BaseAST | |
---|---|
antlr.BaseAST#findAll(antlr.collections.AST), antlr.BaseAST#getFirstChild(), antlr.BaseAST#getNextSibling(), antlr.BaseAST#getText(), antlr.BaseAST#setText(java.lang.String), antlr.BaseAST#getColumn(), antlr.BaseAST#getLine(), antlr.BaseAST#toStringList(), antlr.BaseAST#addChild(antlr.collections.AST), antlr.BaseAST#getTokenNames(), antlr.BaseAST#equalsListPartial(antlr.collections.AST), antlr.BaseAST#equalsTree(antlr.collections.AST), antlr.BaseAST#equalsTreePartial(antlr.collections.AST), antlr.BaseAST#findAllPartial(antlr.collections.AST), antlr.BaseAST#removeChildren(), antlr.BaseAST#setFirstChild(antlr.collections.AST), antlr.BaseAST#setNextSibling(antlr.collections.AST), antlr.BaseAST#setVerboseStringConversion(boolean, [Ljava.lang.String;), antlr.BaseAST#toStringTree(), antlr.BaseAST#xmlSerializeNode(java.io.Writer), antlr.BaseAST#xmlSerializeRootOpen(java.io.Writer), antlr.BaseAST#xmlSerializeRootClose(java.io.Writer), antlr.BaseAST#xmlSerialize(java.io.Writer), antlr.BaseAST#equalsList(antlr.collections.AST), antlr.BaseAST#getNumberOfChildren(), antlr.BaseAST#equals(antlr.collections.AST), antlr.BaseAST#toString(), antlr.BaseAST#decode(java.lang.String), antlr.BaseAST#encode(java.lang.String), antlr.BaseAST#getType(), antlr.BaseAST#initialize(antlr.collections.AST), antlr.BaseAST#initialize(int, java.lang.String), antlr.BaseAST#initialize(antlr.Token), antlr.BaseAST#setType(int), antlr.BaseAST#wait(long, int), antlr.BaseAST#wait(long), antlr.BaseAST#wait(), antlr.BaseAST#equals(java.lang.Object), antlr.BaseAST#hashCode(), antlr.BaseAST#getClass(), antlr.BaseAST#notify(), antlr.BaseAST#notifyAll() |
Constructor Detail |
---|
public GroovySourceAST()
public GroovySourceAST(antlr.Token t)
Method Detail |
---|
public GroovySourceAST childAt(int position)
public GroovySourceAST childOfType(int type)
public java.util.List childrenOfType(int type)
public int compareTo(java.lang.Object object)
public int getColumn()
public int getColumnLast()
public int getLine()
public int getLineLast()
public java.lang.String getSnippet()
public void initialize(antlr.collections.AST ast)
public void initialize(antlr.Token t)
public void setColumn(int column)
public void setColumnLast(int colLast)
public void setLast(antlr.Token last)
public void setLine(int line)
public void setLineLast(int lineLast)
public void setSnippet(java.lang.String snippet)
Groovy Documentation