C-minor v0.0

ExpressionBinder.ImplicitCast Method

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Semantic
Declaring Type: ExpressionBinder

Insert an implicit cast on a node to a target type

public IBinding ImplicitCast(ref Topten.Cminor.Ast.AstExprNode node, Topten.Cminor.Types.TypeInfo type, IBinding binding);

Parameters

ref Topten.Cminor.Ast.AstExprNode node

The node being bound

Topten.Cminor.Types.TypeInfo type

The required target type

IBinding binding

The result of binding the node

Returns

IBinding