C# Class Habanero.Base.CriteriaExpression

This class is a binary tree that consists of a left expression, a right expression and a join expression. The criteria Exrpession can be created by parsing a criteria string.
Afficher le fichier Open project: Chillisoft/habanero Class Usage Examples

Méthodes publiques

Méthode Description
CriteriaExpression ( String expression ) : System

A constructor that takes a given expression string and parses it into a linked list of expressions

CriteriaExpression ( String expression, String operators ) : System

A constructor as before, but allows a particular set of operators to be specified, unlike the default set usually used.

IsLeaf ( ) : bool

Indicates whether this object contains the full expression

Private Methods

Méthode Description
IsPosInsideBrackets ( string quote, int pos ) : bool

Checks whether the given position in a string is between opening and closing brackets

parseExpression ( Habanero.Base.HabaneroStringBuilder expression ) : void

Parses the expression into a linked list of expression objects

Method Details

CriteriaExpression() public méthode

A constructor that takes a given expression string and parses it into a linked list of expressions
public CriteriaExpression ( String expression ) : System
expression String The expression string to parse
Résultat System

CriteriaExpression() public méthode

A constructor as before, but allows a particular set of operators to be specified, unlike the default set usually used.
public CriteriaExpression ( String expression, String operators ) : System
expression String
operators String The set of operators
Résultat System

IsLeaf() public méthode

Indicates whether this object contains the full expression
public IsLeaf ( ) : bool
Résultat bool