Class InfixOperationToken
Inheritance
System.Object
InfixOperationToken
Assembly: Albatross.Expression.dll
Syntax
public abstract class InfixOperationToken : IToken
Properties
Name
Declaration
public abstract string Name { get; }
Property Value
Type |
Description |
System.String |
|
Operand1
Declaration
public IToken Operand1 { get; set; }
Property Value
Operand2
Declaration
public IToken Operand2 { get; set; }
Property Value
Precedence
Declaration
public abstract int Precedence { get; }
Property Value
Type |
Description |
System.Int32 |
|
Symbolic
Declaration
public abstract bool Symbolic { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Clone()
Declaration
public virtual IToken Clone()
Returns
EvalText(String)
Declaration
public virtual string EvalText(string format)
Parameters
Type |
Name |
Description |
System.String |
format |
|
Returns
Type |
Description |
System.String |
|
EvalValue(Func<String, Object>)
Declaration
public virtual 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 virtual 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