C# Class Scriban.Runtime.ScriptBinaryExpression

Inheritance: ScriptExpression
Show file Open project: lunet-io/scriban Class Usage Examples

Public Methods

Method Description
Evaluate ( TemplateContext context ) : void
ToString ( ) : string

Private Methods

Method Description
Calculate ( ScriptBinaryOperator op, double left, double right ) : object
Calculate ( ScriptBinaryOperator op, float left, float right ) : object
Calculate ( ScriptBinaryOperator op, int left, int right ) : object
Calculate ( ScriptBinaryOperator op, long left, long right ) : object
Calculate ( ScriptBinaryOperator op, object leftValue, Type leftType, object rightValue, Type rightType ) : object
CalculateToString ( ScriptBinaryOperator op, object left, object right ) : object
RangeExclude ( int left, int right ) : IEnumerable
RangeInclude ( int left, int right ) : IEnumerable

Method Details

Evaluate() public method

public Evaluate ( TemplateContext context ) : void
context TemplateContext
return void

ToString() public method

public ToString ( ) : string
return string