C-minor v0.0

IBinding Interface

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Semantic

Represents the bound result of an expression

public interface IBinding

Implemented By

Topten.Cminor.Types.Local, Topten.Cminor.Types.Method, Topten.Cminor.Types.MethodGroup, Topten.Cminor.Types.Parameter, Topten.Cminor.Types.TypeInfo, TransientValue, Topten.Cminor.Ast.AstExprNodeInterpolatedString, Topten.Cminor.Ast.AstExprNodeLiteral

Properties

Description

A user presentable description of the value

IsConst

True if this is constant expression

IsLValue

Can the binding be assigned to (local, parameter, or field)

IsValue

Is the binding a runtime value (as opposed to a type or method group)

Kind

What the binding is bound to

TypeInfo

The type of a value result, or the type of a type binding