Documentation

Definition extends Message
in package

Definition is a function or variable definition.

Generated from protobuf message exprml.v1.Eval.Definition

Table of Contents

Methods

__construct()  : mixed
Constructor.
clearBody()  : mixed
getArgs()  : RepeatedField
Args is the list of arguments.
getBody()  : Expr|null
Body is the body of the definition.
getIdent()  : string
Ident is the identifier of the definition.
hasBody()  : mixed
setArgs()  : $this
Args is the list of arguments.
setBody()  : $this
Body is the body of the definition.
setIdent()  : $this
Ident is the identifier of the definition.

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type string $ident
      Ident is the identifier of the definition.
@type array<string>|\Google\Protobuf\Internal\RepeatedField $args
      Args is the list of arguments.
@type \Exprml\PB\Exprml\V1\Expr $body
      Body is the body of the definition.

}

getArgs()

Args is the list of arguments.

public getArgs() : RepeatedField

Generated from protobuf field repeated string args = 2 [json_name = "args"];

Return values
RepeatedField

getBody()

Body is the body of the definition.

public getBody() : Expr|null

Generated from protobuf field .exprml.v1.Expr body = 3 [json_name = "body"];

Return values
Expr|null

getIdent()

Ident is the identifier of the definition.

public getIdent() : string

Generated from protobuf field string ident = 1 [json_name = "ident"];

Return values
string

setArgs()

Args is the list of arguments.

public setArgs(array<string|int, string>|RepeatedField $var) : $this

Generated from protobuf field repeated string args = 2 [json_name = "args"];

Parameters
$var : array<string|int, string>|RepeatedField
Return values
$this

setBody()

Body is the body of the definition.

public setBody(Expr $var) : $this

Generated from protobuf field .exprml.v1.Expr body = 3 [json_name = "body"];

Parameters
$var : Expr
Return values
$this

setIdent()

Ident is the identifier of the definition.

public setIdent(string $var) : $this

Generated from protobuf field string ident = 1 [json_name = "ident"];

Parameters
$var : string
Return values
$this

        
On this page

Search results