Documentation

ParseOutput extends Message
in package

ParseOutput is the output message for the Parse method.

Generated from protobuf message exprml.v1.ParseOutput

Table of Contents

Methods

__construct()  : mixed
Constructor.
clearExpr()  : mixed
getErrorMessage()  : string
Error message if is_error is true.
getExpr()  : Expr|null
Parsed Expr.
getIsError()  : bool
Whether an error occurred during parsing.
hasExpr()  : mixed
setErrorMessage()  : $this
Error message if is_error is true.
setExpr()  : $this
Parsed Expr.
setIsError()  : $this
Whether an error occurred during parsing.

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 bool $is_error
      Whether an error occurred during parsing.
@type string $error_message
      Error message if is_error is true.
@type \Exprml\PB\Exprml\V1\Expr $expr
      Parsed Expr.

}

getErrorMessage()

Error message if is_error is true.

public getErrorMessage() : string

Generated from protobuf field string error_message = 2 [json_name = "errorMessage"];

Return values
string

getExpr()

Parsed Expr.

public getExpr() : Expr|null

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

Return values
Expr|null

getIsError()

Whether an error occurred during parsing.

public getIsError() : bool

Generated from protobuf field bool is_error = 1 [json_name = "isError"];

Return values
bool

setErrorMessage()

Error message if is_error is true.

public setErrorMessage(string $var) : $this

Generated from protobuf field string error_message = 2 [json_name = "errorMessage"];

Parameters
$var : string
Return values
$this

setExpr()

Parsed Expr.

public setExpr(Expr $var) : $this

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

Parameters
$var : Expr
Return values
$this

setIsError()

Whether an error occurred during parsing.

public setIsError(bool $var) : $this

Generated from protobuf field bool is_error = 1 [json_name = "isError"];

Parameters
$var : bool
Return values
$this

        
On this page

Search results