SourcePosition

public class SourcePosition

The position of a node within a source file.

Constructors

SourcePosition

protected SourcePosition(APIClient client)

Internal constructor

Methods

fromProtobuf

public static SourcePosition fromProtobuf(APIClient client, Out.CocoSourcePosition inputValue)

Internal constructor

getColumn

public final int getColumn()

The 1-based column number.

getFileName

public final String getFileName()

The name of the file this was loaded from.

getLine

public final int getLine()

The 1-based line number.

getValid

public final boolean getValid()

True if this represents a valid location in the original source file.