Class PrefixOperationToken
Inheritance
System.Object
PrefixOperationToken
Assembly: Albatross.Expression.dll
Syntax
public abstract class PrefixOperationToken : IToken
Constructors
PrefixOperationToken()
Declaration
public PrefixOperationToken()
Properties
MaxOperandCount
Declaration
public abstract int MaxOperandCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
MinOperandCount
Declaration
public abstract int MinOperandCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Name
Declaration
public abstract string Name { get; }
Property Value
Type |
Description |
System.String |
|
Operands
Declaration
public List<IToken> Operands { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<IToken> |
|
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 |
|
GetOperands(Func<String, Object>)
Declaration
protected List<object> GetOperands(Func<string, object> context)
Parameters
Type |
Name |
Description |
System.Func<System.String, System.Object> |
context |
|
Returns
Type |
Description |
System.Collections.Generic.List<System.Object> |
|
GetOperands(Func<String, Object>, out Type)
Declaration
protected List<object> GetOperands(Func<string, object> context, out Type firstType)
Parameters
Type |
Name |
Description |
System.Func<System.String, System.Object> |
context |
|
System.Type |
firstType |
|
Returns
Type |
Description |
System.Collections.Generic.List<System.Object> |
|
GetOperands<T>(Func<String, Object>)
Declaration
protected List<T> GetOperands<T>(Func<string, object> context)
Parameters
Type |
Name |
Description |
System.Func<System.String, System.Object> |
context |
|
Returns
Type |
Description |
System.Collections.Generic.List<T> |
|
Type Parameters
GetOperandText(Object, Int32, String)
Declaration
protected string[] GetOperandText(object args, int count, string format)
Parameters
Type |
Name |
Description |
System.Object |
args |
|
System.Int32 |
count |
|
System.String |
format |
|
Returns
Type |
Description |
System.String[] |
|
GetParamsOperands(Func<String, Object>, out Type)
Declaration
protected IEnumerable GetParamsOperands(Func<string, object> context, out Type firstType)
Parameters
Type |
Name |
Description |
System.Func<System.String, System.Object> |
context |
|
System.Type |
firstType |
|
Returns
Type |
Description |
System.Collections.IEnumerable |
|
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