webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
class | Builder |
List< TextFormatParseLocation > | getLocations (final FieldDescriptor fieldDescriptor) |
TextFormatParseLocation | getLocation (final FieldDescriptor fieldDescriptor, int index) |
List< TextFormatParseInfoTree > | getNestedTrees (final FieldDescriptor fieldDescriptor) |
TextFormatParseInfoTree | getNestedTree (final FieldDescriptor fieldDescriptor, int index) |
static Builder | builder () |
Data structure which is populated with the locations of each field value parsed from the text.
The locations of primary fields values are retrieved by
or
. The locations of sub message values are within nested
s and are retrieve by {} or {code }.
is created by a Builder.
|
inlinestatic |
Create a builder for a
.
|
inline |
Get the location in the source of a field's value.
Returns the TextFormatParseLocation for index-th value of the field in the parsed text.
fieldDescriptor | thelink FieldDescriptor} of the desired field |
index | the index of the value. |
IllegalArgumentException | index is out of range |
|
inline |
Retrieve all the locations of a field.
fieldDescriptor | the thelink FieldDescriptor} of the desired field |
|
inline |
Returns the parse info tree for the given field, which must be a message type.
fieldDescriptor | thelink FieldDescriptor} of the desired sub message |
index | the index of message value. |
IllegalArgumentException | if index is out of range |
|
inline |
Retrieve a list of all the location information trees for a sub message field.
fieldDescriptor | thelink FieldDescriptor} of the desired field |