C# Class StarryEyes.Filters.Parsing.QueryCompiler

Show file Open project: karno/StarryEyes Class Usage Examples

Public Methods

Method Description
Compile ( string query ) : FilterQuery
CompileFilters ( string query ) : StarryEyes.Filters.Expressions.FilterExpressionRoot
GetEmpty ( ) : FilterQuery

Private Methods

Method Description
CompileFilters ( IEnumerable token ) : StarryEyes.Filters.Expressions.FilterExpressionRoot

Instantiate expression tree from tokens.

CompileL0 ( StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Operators.FilterOperatorBase
CompileL1 ( StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Operators.FilterOperatorBase
CompileL2 ( StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Operators.FilterOperatorBase
CompileL3 ( StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Operators.FilterOperatorBase
CompileL4 ( StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Operators.FilterOperatorBase
CompileL5 ( StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Operators.FilterOperatorBase
CompileL6 ( StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Operators.FilterOperatorBase
CompileL7 ( StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Operators.FilterOperatorBase
CompileL8 ( StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Operators.FilterOperatorBase
CompileSources ( IEnumerable token ) : IEnumerable

Instantiate sources from tokens.

CreateUnexpectedTokenError ( string token, string innerQuery ) : FilterQueryException
GenerateSink ( StarryEyes.Filters.Parsing.TokenReader reader, StarryEyes.Filters.Expressions.Operators.FilterOperatorBase leftValue, TokenType type, StarryEyes.Filters.Expressions.Operators.FilterTwoValueOperator oper, FilterOperatorBase>.Func selfCall ) : StarryEyes.Filters.Expressions.Operators.FilterOperatorBase
GetAccountValue ( string value, StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Values.ValueBase
GetListValue ( StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Values.Lists.ListMembers
GetStatusValue ( string value, StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Values.ValueBase
GetUserExpr ( string key ) : StarryEyes.Filters.Expressions.Values.Locals.UserExpressionBase
GetUserValue ( bool isRetweeter, StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Values.ValueBase
GetValue ( StarryEyes.Filters.Parsing.TokenReader reader ) : StarryEyes.Filters.Expressions.Values.ValueBase

Method Details

Compile() public static method

public static Compile ( string query ) : FilterQuery
query string
return FilterQuery

CompileFilters() public static method

public static CompileFilters ( string query ) : StarryEyes.Filters.Expressions.FilterExpressionRoot
query string
return StarryEyes.Filters.Expressions.FilterExpressionRoot

GetEmpty() public static method

public static GetEmpty ( ) : FilterQuery
return FilterQuery