Helper class that represents a token when parsin a filter.
More...
|
enum | Type {
WHITESPACE,
AND,
OR,
XOR,
NOT,
L_PAR,
R_PAR,
VALUE_NAME,
VALUE_NUM,
VALUE_PERCENT,
TYPE_GENE,
TYPE_FACS,
TYPE_ATTR,
TYPE_ALIAS,
OP_EQ,
OP_NEQ,
OP_GT,
OP_GTEQ,
OP_LT,
OP_LTEQ,
ATTR_YES,
ATTR_NO,
ALIAS
} |
|
|
| Token (Type type, string text, int stringIndex) |
|
bool | IsOperator () |
| Checks if this token is an operator. The operators are ==, !=, <, <=, > and >=. More...
|
|
bool | IsType () |
| Checks if this token is a type decleration. Types are alias, attribute, facs or gene. More...
|
|
override bool | Equals (object obj) |
| Checks if two tokens are equal. Tokens are equal if they are the same type, represents the same text at the same stringIndex. More...
|
|
override int | GetHashCode () |
|
override string | ToString () |
|
|
static bool | operator== (Token t, Type type) |
|
static bool | operator!= (Token t, Type type) |
|
|
Type | type |
|
string | text |
|
int | stringIndex |
|
Helper class that represents a token when parsin a filter.
◆ Equals()
override bool CellexalVR.AnalysisLogic.BooleanExpression.Token.Equals |
( |
object |
obj | ) |
|
Checks if two tokens are equal. Tokens are equal if they are the same type, represents the same text at the same stringIndex.
- Parameters
-
obj | The object to check for equality. |
◆ IsOperator()
bool CellexalVR.AnalysisLogic.BooleanExpression.Token.IsOperator |
( |
| ) |
|
Checks if this token is an operator. The operators are ==, !=, <, <=, > and >=.
◆ IsType()
bool CellexalVR.AnalysisLogic.BooleanExpression.Token.IsType |
( |
| ) |
|
Checks if this token is a type decleration. Types are alias, attribute, facs or gene.
The documentation for this class was generated from the following file:
- cellexalvr_cloudxr/Assets/Scripts/AnalysisLogic/BooleanExpression.cs