C# Class MoreInternals.Model.Value

Inheritance: IPosition
显示文件 Open project: kevin-montrose/More Class Usage Examples

Public Methods

Method Description
Bind ( Scope scope ) : Value
Equals ( object obj ) : bool
GetHashCode ( ) : int
IsImportant ( ) : bool
Parse ( string rawValue, int start = -1, int stop = -1, string filePath = null, bool allowSelectorIncludes = false ) : Value
Precedence ( Operator o ) : int
operator ( ) : Value
operator ( ) : bool

Private Methods

Method Description
DeRPN ( IEnumerable tokenized ) : MathValue
Evaluate ( ) : Value
ReferredToVariables ( ) : List
ToString ( ) : string
TryConvertBetweenUnits ( decimal from, Unit fromUnit, Unit toUnit, decimal &converted ) : bool
Unroll ( MathValue value, List tokens ) : void
UnrollMath ( Value value ) : Value
UnrollMathImpl ( MathValue value ) : MathValue
Write ( TextWriter output ) : void

Method Details

Bind() public method

public Bind ( Scope scope ) : Value
scope Scope
return Value

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

IsImportant() public method

public IsImportant ( ) : bool
return bool

Parse() public static method

public static Parse ( string rawValue, int start = -1, int stop = -1, string filePath = null, bool allowSelectorIncludes = false ) : Value
rawValue string
start int
stop int
filePath string
allowSelectorIncludes bool
return Value

Precedence() public static method

public static Precedence ( Operator o ) : int
o Operator
return int

operator() public static method

public static operator ( ) : Value
return Value

operator() public static method

public static operator ( ) : bool
return bool