public class GroovySourceAST extends clover.antlr.CommonAST implements Comparable, SourceInfo
| Constructor and Description |
|---|
GroovySourceAST() |
GroovySourceAST(clover.antlr.Token t) |
| Modifier and Type | Method and Description |
|---|---|
GroovySourceAST |
childAt(int position) |
GroovySourceAST |
childOfType(int type) |
List<GroovySourceAST> |
childrenOfType(int type) |
int |
compareTo(Object object) |
int |
getColumn()
get starting column
|
int |
getColumnLast()
get ending column
|
int |
getLine()
get start line
|
int |
getLineLast()
get ending line
|
String |
getSnippet() |
void |
initialize(clover.antlr.collections.AST ast) |
void |
initialize(clover.antlr.Token t) |
void |
setColumn(int column)
set start column
|
void |
setColumnLast(int colLast)
set ending column
|
void |
setLast(clover.antlr.Token last) |
void |
setLine(int line)
set start line
|
void |
setLineLast(int lineLast)
set ending line
|
void |
setSnippet(String snippet) |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpenpublic GroovySourceAST()
public GroovySourceAST(clover.antlr.Token t)
public void initialize(clover.antlr.collections.AST ast)
initialize in interface clover.antlr.collections.ASTinitialize in class clover.antlr.CommonASTpublic void initialize(clover.antlr.Token t)
initialize in interface clover.antlr.collections.ASTinitialize in class clover.antlr.CommonASTpublic void setLast(clover.antlr.Token last)
public int getLineLast()
SourceInfogetLineLast in interface SourceInfopublic void setLineLast(int lineLast)
SourceInfosetLineLast in interface SourceInfolineLast - the linepublic int getColumnLast()
SourceInfogetColumnLast in interface SourceInfopublic void setColumnLast(int colLast)
SourceInfosetColumnLast in interface SourceInfocolLast - the columnpublic void setLine(int line)
SourceInfosetLine in interface SourceInfoline - the linepublic int getLine()
SourceInfogetLine in interface clover.antlr.collections.ASTgetLine in interface SourceInfogetLine in class clover.antlr.BaseASTpublic void setColumn(int column)
SourceInfosetColumn in interface SourceInfocolumn - the columnpublic int getColumn()
SourceInfogetColumn in interface clover.antlr.collections.ASTgetColumn in interface SourceInfogetColumn in class clover.antlr.BaseASTpublic void setSnippet(String snippet)
public String getSnippet()
public int compareTo(Object object)
compareTo in interface Comparablepublic GroovySourceAST childAt(int position)
public GroovySourceAST childOfType(int type)
public List<GroovySourceAST> childrenOfType(int type)
Copyright © 2024 OpenClover.org. All rights reserved.