Class Parser
The parser for GoQL code.
Namespace: Unity.GoQL
Syntax
public class Parser
Methods
Parse(String, List<Object>, out ParseResult)
Parse GoQL code represented as a string, and append instructions to the instructions list.
Declaration
public static void Parse(string code, List<object> instructions, out ParseResult parseResult)
Parameters
Type | Name | Description |
---|---|---|
String | code | |
List<Object> | instructions | |
ParseResult | parseResult |
Parse(String, out ParseResult)
Parse GoQL code represented as a string.
Declaration
public static List<object> Parse(string code, out ParseResult parseResult)
Parameters
Type | Name | Description |
---|---|---|
String | code | |
ParseResult | parseResult |
Returns
Type | Description |
---|---|
List<Object> | List of instructions. |