[Java] Interface SourceInfo

Methods Summary

Methods
Type Params Return Type Name and description
int getColumn()
get starting column
int getColumnLast()
get ending column
int getLine()
get start line
int getLineLast()
get ending line
void setColumn(int c)
set start column
void setColumnLast(int colLast)
set ending column
void setLine(int l)
set start line
void setLineLast(int lineLast)
set ending line

Method Detail

public int getColumn()

get starting column

Returns:
the starting column

public int getColumnLast()

get ending column

Returns:
the ending column

public int getLine()

get start line

Returns:
the starting line

public int getLineLast()

get ending line

Returns:
the ending line

public void setColumn(int c)

set start column

Parameters:
c - the column

public void setColumnLast(int colLast)

set ending column

Parameters:
colLast - the column

public void setLine(int l)

set start line

Parameters:
l - the line

public void setLineLast(int lineLast)

set ending line

Parameters:
lineLast - the line

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/antlr/SourceInfo.html