class Decl extends Message

A declaration.

Generated from protobuf message google.api.expr.v1beta1.Decl

Properties

protected $kind

Methods

__construct(array $data = NULL)

Constructor.

int
getId()

The id of the declaration.

$this
setId(int $var)

The id of the declaration.

string
getName()

The name of the declaration.

$this
setName(string $var)

The name of the declaration.

string
getDoc()

The documentation string for the declaration.

$this
setDoc(string $var)

The documentation string for the declaration.

getIdent()

An identifier declaration.

$this
setIdent(IdentDecl $var)

An identifier declaration.

getFunction()

A function declaration.

$this
setFunction(FunctionDecl $var)

A function declaration.

string
getKind()

No description

Details

at line 56
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type int $id
      The id of the declaration.
@type string $name
      The name of the declaration.
@type string $doc
      The documentation string for the declaration.
@type \Google\Api\Expr\V1beta1\IdentDecl $ident
      An identifier declaration.
@type \Google\Api\Expr\V1beta1\FunctionDecl $function
      A function declaration.

}

at line 67
int getId()

The id of the declaration.

Generated from protobuf field int32 id = 1;

Return Value

int

at line 79
$this setId(int $var)

The id of the declaration.

Generated from protobuf field int32 id = 1;

Parameters

int $var

Return Value

$this

at line 93
string getName()

The name of the declaration.

Generated from protobuf field string name = 2;

Return Value

string

at line 105
$this setName(string $var)

The name of the declaration.

Generated from protobuf field string name = 2;

Parameters

string $var

Return Value

$this

at line 119
string getDoc()

The documentation string for the declaration.

Generated from protobuf field string doc = 3;

Return Value

string

at line 131
$this setDoc(string $var)

The documentation string for the declaration.

Generated from protobuf field string doc = 3;

Parameters

string $var

Return Value

$this

at line 145
IdentDecl getIdent()

An identifier declaration.

Generated from protobuf field .google.api.expr.v1beta1.IdentDecl ident = 4;

Return Value

IdentDecl

at line 157
$this setIdent(IdentDecl $var)

An identifier declaration.

Generated from protobuf field .google.api.expr.v1beta1.IdentDecl ident = 4;

Parameters

IdentDecl $var

Return Value

$this

at line 171
FunctionDecl getFunction()

A function declaration.

Generated from protobuf field .google.api.expr.v1beta1.FunctionDecl function = 5;

Return Value

FunctionDecl

at line 183
$this setFunction(FunctionDecl $var)

A function declaration.

Generated from protobuf field .google.api.expr.v1beta1.FunctionDecl function = 5;

Parameters

FunctionDecl $var

Return Value

$this

at line 194
string getKind()

Return Value

string