Package org.codehaus.groovy.antlr
Interface SourceInfo
- All Known Implementing Classes:
GroovySourceAST
,GroovySourceToken
public interface SourceInfo
-
Method Summary
Modifier and Type Method Description int
getColumn()
get starting columnint
getColumnLast()
get ending columnint
getLine()
get start lineint
getLineLast()
get ending linevoid
setColumn(int c)
set start columnvoid
setColumnLast(int colLast)
set ending columnvoid
setLine(int l)
set start linevoid
setLineLast(int lineLast)
set ending line
-
Method Details
-
getLine
int getLine()get start line- Returns:
- the starting line
-
setLine
void setLine(int l)set start line- Parameters:
l
- the line
-
getColumn
int getColumn()get starting column- Returns:
- the starting column
-
setColumn
void setColumn(int c)set start column- Parameters:
c
- the column
-
getLineLast
int getLineLast()get ending line- Returns:
- the ending line
-
setLineLast
void setLineLast(int lineLast)set ending line- Parameters:
lineLast
- the line
-
getColumnLast
int getColumnLast()get ending column- Returns:
- the ending column
-
setColumnLast
void setColumnLast(int colLast)set ending column- Parameters:
colLast
- the column
-