Class BooleanLiteralToken
will only take true or false, case insensitive
Inheritance
System.Object
BooleanLiteralToken
Assembly: Albatross.Expression.dll
Syntax
public class BooleanLiteralToken : IOperandToken, IToken
Properties
Group
Declaration
public string Group { get; }
Property Value
Type |
Description |
System.String |
|
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Clone()
Declaration
Returns
EvalText(String)
Declaration
public string EvalText(string format)
Parameters
Type |
Name |
Description |
System.String |
format |
|
Returns
Type |
Description |
System.String |
|
EvalValue(Func<String, Object>)
Declaration
public object EvalValue(Func<string, object> context)
Parameters
Type |
Name |
Description |
System.Func<System.String, System.Object> |
context |
|
Returns
Type |
Description |
System.Object |
|
Match(String, Int32, out Int32)
Declaration
public bool Match(string expression, int start, out int next)
Parameters
Type |
Name |
Description |
System.String |
expression |
|
System.Int32 |
start |
|
System.Int32 |
next |
|
Returns
Type |
Description |
System.Boolean |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Implements
Extension Methods