Reference
class Reference extends Message
Describes a resolved reference to a declaration.
Generated from protobuf message google.api.expr.v1alpha1.Reference
Methods
Constructor.
The fully qualified name of the declaration.
The fully qualified name of the declaration.
For references to functions, this is a list of Overload.overload_id
values which match according to typing rules.
For references to functions, this is a list of Overload.overload_id
values which match according to typing rules.
For references to constants, this may contain the value of the constant if known at compile time.
Details
at line 63
__construct(array $data = NULL)
Constructor.
at line 74
string
getName()
The fully qualified name of the declaration.
Generated from protobuf field string name = 1;
at line 86
$this
setName(string $var)
The fully qualified name of the declaration.
Generated from protobuf field string name = 1;
at line 105
RepeatedField
getOverloadId()
For references to functions, this is a list of Overload.overload_id
values which match according to typing rules.
If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
Generated from protobuf field repeated string overload_id = 3;
at line 122
$this
setOverloadId(string[]|RepeatedField $var)
For references to functions, this is a list of Overload.overload_id
values which match according to typing rules.
If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
Generated from protobuf field repeated string overload_id = 3;
at line 137
Constant
getValue()
For references to constants, this may contain the value of the constant if known at compile time.
Generated from protobuf field .google.api.expr.v1alpha1.Constant value = 4;
at line 150
$this
setValue(Constant $var)
For references to constants, this may contain the value of the constant if known at compile time.
Generated from protobuf field .google.api.expr.v1alpha1.Constant value = 4;