IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Public Member Functions | |
string | Parse (string input) |
string | ParseFilterExpression () |
Parse a single term or an or expression, returning the xml More... | |
string | ParseFilterTerm () |
Parse a single element or an and expression and return the xml More... | |
string | ParseFilterElement () |
Parse a single filter element such as a category expression and return the xml representation of the filter. More... | |
Properties | |
Token | LookAhead [get] |
Private Member Functions | |
string | ParseExpressionInParentheses () |
Token | Expect (params TokenKind[] kinds) |
Token | Expect (params Token[] valid) |
Exception | InvalidTokenError (Token token) |
bool | LookingAt (params Token[] tokens) |
Token | NextToken () |
Static Private Member Functions | |
static string | EmitFilterElement (Token lhs, Token op, Token rhs) |
static string | EmitPropertyElement (Token lhs, Token op, Token rhs) |
static string | EmitElement (string fmt, Token lhs, Token rhs) |
static string | XmlEscape (string text) |
Private Attributes | |
Tokenizer | _tokenizer |
Static Private Attributes | |
static readonly Token | LPAREN = new Token(TokenKind.Symbol, "(") |
static readonly Token | RPAREN = new Token(TokenKind.Symbol, ")") |
static readonly Token | AND_OP1 = new Token(TokenKind.Symbol, "&") |
static readonly Token | AND_OP2 = new Token(TokenKind.Symbol, "&&") |
static readonly Token | AND_OP3 = new Token(TokenKind.Word, "and") |
static readonly Token | AND_OP4 = new Token(TokenKind.Word, "AND") |
static readonly Token | OR_OP1 = new Token(TokenKind.Symbol, "|") |
static readonly Token | OR_OP2 = new Token(TokenKind.Symbol, "||") |
static readonly Token | OR_OP3 = new Token(TokenKind.Word, "or") |
static readonly Token | OR_OP4 = new Token(TokenKind.Word, "OR") |
static readonly Token | NOT_OP = new Token(TokenKind.Symbol, "!") |
static readonly Token | EQ_OP1 = new Token(TokenKind.Symbol, "=") |
static readonly Token | EQ_OP2 = new Token(TokenKind.Symbol, "==") |
static readonly Token | NE_OP = new Token(TokenKind.Symbol, "!=") |
static readonly Token | MATCH_OP = new Token(TokenKind.Symbol, "=~") |
static readonly Token | NOMATCH_OP = new Token(TokenKind.Symbol, "!~") |
static readonly Token[] | AND_OPS = new Token[] { AND_OP1, AND_OP2, AND_OP3, AND_OP4 } |
static readonly Token[] | OR_OPS = new Token[] { OR_OP1, OR_OP2, OR_OP3, OR_OP4 } |
static readonly Token[] | EQ_OPS = new Token[] { EQ_OP1, EQ_OP2 } |
static readonly Token[] | REL_OPS = new Token[] { EQ_OP1, EQ_OP2, NE_OP, MATCH_OP, NOMATCH_OP } |
static readonly Token | EOF = new Token(TokenKind.Eof) |
|
inline |
|
inline |
Parse a single term or an or expression, returning the xml
|
inline |
Parse a single element or an and expression and return the xml
|
inline |
Parse a single filter element such as a category expression and return the xml representation of the filter.
References NUnit.Common.Token.Text.
|
inlinestaticprivate |
References NUnit.Common.Token.Text.
|
inlinestaticprivate |
References NUnit.Common.Token.Text.
|
inlinestaticprivate |
References NUnit.Common.Token.Text.
|
inlineprivate |
|
inlineprivate |
References NUnit.Common.Token.Pos, and NUnit.Common.Token.Text.
|
inlineprivate |
|
inlineprivate |
References NUnit.Common.Tokenizer.NextToken().
|
inlinestaticprivate |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
getprivate |