Constructor
new Location(propertiesopt)
Constructs a new Location.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
properties |
google.protobuf.SourceCodeInfo.ILocation |
<optional> |
Properties to set |
- Implements:
-
- ILocation
Members
leadingComments :string
Location leadingComments.
leadingComments :string
Location leadingComments.
leadingComments :string
Location leadingComments.
leadingDetachedComments :Array.<string>
Location leadingDetachedComments.
leadingDetachedComments :Array.<string>
Location leadingDetachedComments.
leadingDetachedComments :Array.<string>
Location leadingDetachedComments.
path :Array.<number>
Location path.
path :Array.<number>
Location path.
path :Array.<number>
Location path.
span :Array.<number>
Location span.
span :Array.<number>
Location span.
span :Array.<number>
Location span.
trailingComments :string
Location trailingComments.
trailingComments :string
Location trailingComments.
trailingComments :string
Location trailingComments.
Methods
(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}
Creates a Location message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}
Creates a Location message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}
Creates a Location message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a Location message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.SourceCodeInfo.Location |
Location |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a Location message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.SourceCodeInfo.Location |
Location |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a Location message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.SourceCodeInfo.Location |
Location |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
toJSON() → {Object.<string, *>}
Converts this Location to JSON.
toJSON() → {Object.<string, *>}
Converts this Location to JSON.
toJSON() → {Object.<string, *>}
Converts this Location to JSON.