C# Class Scriban.Runtime.ScriptBinaryExpression

Inheritance: ScriptExpression
Afficher le fichier Open project: lunet-io/scriban Class Usage Examples

Méthodes publiques

Méthode Description
Evaluate ( TemplateContext context ) : void
ToString ( ) : string

Private Methods

Méthode 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 méthode

public Evaluate ( TemplateContext context ) : void
context TemplateContext
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string