[Java] Interface SourceInfo

public interface SourceInfo

Methods Summary

Methods
Type Params Return Type Name and description
public int getColumn()
get starting column
public int getColumnLast()
get ending column
public int getLine()
get start line
public int getLineLast()
get ending line
public void setColumn(int c)
set start column
public void setColumnLast(int colLast)
set ending column
public void setLine(int l)
set start line
public 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/3.0.7/html/gapi/org/codehaus/groovy/antlr/SourceInfo.html