2using System.Collections.Generic;
65 this.ParseList(Parser, out
ScriptNode[] Columns, out
bool[] Ascending);
67 if (Columns.Length == 0)
80 List<ScriptNode> ColumnList =
new List<ScriptNode>();
81 List<bool> AscendingList =
new List<bool>();
93 AscendingList.Add(
true);
100 AscendingList.Add(
false);
106 ColumnList.Add(Node);
107 AscendingList.Add(
true);
111 ColumnList.Add(Node);
112 AscendingList.Add(
true);
118 Columns = ColumnList.ToArray();
119 Ascending = AscendingList.ToArray();
Base class for all nodes in a parsed script tree.
Script parser, for custom parsers.
string PeekNextToken()
Returns the next token to be parsed, without moving the position forward. If at the end of the expres...
string NextToken()
Returns the next token to be parsed, and moves the position forward correspondingly....
int Length
Length of script parsed
int Start
Start position in expression
ScriptNode ParseIf()
Parses a conditional statement.
Expression Expression
Expression being parsed.
Executes an CREATE INDEX ... ON ... (...) statement against the object database.
Parses a CREATE statement
string[] Aliases
Keyword aliases, if available, null if none.
string KeyWord
Keyword associated with custom parser.
bool TryParse(ScriptParser Parser, out ScriptNode Result)
Tries to parse a script node.
string[] InternalKeywords
Any keywords used internally by the custom parser.
CreateParser()
Parses a CREATE statement
Parses a SELECT statement
Abstract base class for source definitions
Interface for keywords with custom parsing.