Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ParseResult<T>

A ParseResult represents the result of a parsing operation.
Read time 1 minuteLast updated 5 days ago

Definition

public readonly struct ParseResult<T>

Remarks

\<T\>: Type of the result of the parsing operation.
ParseResults are used in the context of type parsers. See QueryEngine.AddTypeParser for more details.

Fields

Value

Description

parsedValueThe parsing result.

Static Fields

Value

Description

noneDefault value when no ParsetResult is available.

Constructors

Constructor

Description

ParseResult`1(System.Boolean,`0)Create a ParseResult.

Properties

Property

Description

successFlag indicating if the parsing succeeded or not.