C# Class SecureDelete.FileSearch.ExpressionEvaluator

Datei anzeigen Open project: gratianlup/SecureDelete Class Usage Examples

Public Methods

Method Description
EvaluateExpression ( string expression ) : ExpressionTree

Evaluates the expression.

ExpressionEvaluator ( ) : System
GetExpressionTreeString ( ExpressionTree tree ) : string

Gets the expression tree string.

Private Methods

Method Description
AssociateElements ( ExpressionElement elements, int elementCount ) : ExpressionTree

Associates the given tree elements.

GetFilter ( string s ) : FilterBase

Gets the filter with the specified name.

GetImplicationType ( string s, FilterImplication &implication ) : bool

Gets the type of the implication.

ParseExpression ( string expression, int start, ExpressionTree &tree, int &expressionLength ) : bool

Parses the expression.

TreeToString ( ExpressionNode node ) : string

Converts the tree to string representation.

VerifyParantesis ( string expression ) : bool

Verifies the parantesis.

Method Details

EvaluateExpression() public method

Evaluates the expression.
public EvaluateExpression ( string expression ) : ExpressionTree
expression string The expression.
return ExpressionTree

ExpressionEvaluator() public method

public ExpressionEvaluator ( ) : System
return System

GetExpressionTreeString() public method

Gets the expression tree string.
public GetExpressionTreeString ( ExpressionTree tree ) : string
tree ExpressionTree The tree.
return string