Table of Contents

Enum ExpressionClassification

Namespace
RDCore.SDK.Semantics
Assembly
RDCore.SDK.dll

What an expression is classified as (MS-VBAL §5.6.1): what it names, which decides what may be done with it.

public enum ExpressionClassification

Fields

Constant = 3

A constant: its value is known where it is written, and is substituted there.

Function = 4

A Function.

Namespace = 8

A project or a procedural module, which a member is looked up in (MS-VBAL §5.6.12).

Property = 5

A Property.

Subroutine = 6

A Sub.

Type = 7

A type: a class, a Type or an Enum.

UnboundMember = 9

A member of an object whose type does not say what it has: it is bound when the expression runs.

Unknown = 0

What it is could not be told: a name that did not resolve, or a kind of expression the static pass does not classify yet.

Value = 1

A value, which is not something that can be assigned to: a literal, the result of an operator, of a call or of an index.

Variable = 2

A variable: a local, a parameter, a field, which has storage and can be assigned to.