Decl
class Decl extends Message
Represents a declaration of a named value or function.
A declaration is part of the contract between the expression, the agent evaluating that expression, and the caller requesting evaluation.
Generated from protobuf message google.api.expr.v1alpha1.Decl
Properties
protected | $decl_kind |
Methods
Constructor.
The fully qualified name of the declaration.
The fully qualified name of the declaration.
Function declaration.
No description
Details
at line 52
__construct(array $data = NULL)
Constructor.
at line 68
string
getName()
The fully qualified name of the declaration.
Declarations are organized in containers and this represents the full path
to the declaration in its container, as in google.api.expr.Decl
.
Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not
have a name depending on whether the overload is function declaration or a
function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].
Generated from protobuf field string name = 1;
at line 85
$this
setName(string $var)
The fully qualified name of the declaration.
Declarations are organized in containers and this represents the full path
to the declaration in its container, as in google.api.expr.Decl
.
Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not
have a name depending on whether the overload is function declaration or a
function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].
Generated from protobuf field string name = 1;
at line 99
IdentDecl
getIdent()
Identifier declaration.
Generated from protobuf field .google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;
at line 111
$this
setIdent(IdentDecl $var)
Identifier declaration.
Generated from protobuf field .google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;
at line 125
FunctionDecl
getFunction()
Function declaration.
Generated from protobuf field .google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;
at line 137
$this
setFunction(FunctionDecl $var)
Function declaration.
Generated from protobuf field .google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;