Package com.google.protobuf
Class TextFormatParseLocation
java.lang.Object
com.google.protobuf.TextFormatParseLocation
A location in the source code.
A location is the starting line number and starting column number.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
static final TextFormatParseLocation
The empty location.private final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY
The empty location. -
line
private final int line -
column
private final int column
-
-
Constructor Details
-
TextFormatParseLocation
private TextFormatParseLocation(int line, int column)
-
-
Method Details
-
create
Create a location.- Parameters:
line
- the starting line numbercolumn
- the starting column number- Returns:
- a
ParseLocation
-
getLine
public int getLine() -
getColumn
public int getColumn() -
toString
-
equals
-
hashCode
public int hashCode()
-