ParseResult<T>
A ParseResult represents the result of a parsing operation.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
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 |
|---|---|
| parsedValue | The parsing result. |
Static Fields
Value | Description |
|---|---|
| none | Default value when no ParsetResult is available. |
Constructors
Constructor | Description |
|---|---|
| ParseResult`1(System.Boolean,`0) | Create a ParseResult. |
Properties
Property | Description |
|---|---|
| success | Flag indicating if the parsing succeeded or not. |