Namespace RDCore.SDK.Model.AST.Expressions
Classes
- AddressOfExpressionNode
MS-VBAL 5.6.16.8 an
AddressOfexpression: legal only as an IndexExpressionNode argument, yielding a procedure pointer rather than evaluating a call.
- ArrayBoundExpressionNode
MS-VBAL 3.3.5.2 The
LBoundandUBoundspecial forms (LBound(<array>[, <dimension>])), which read the bound of one dimension of an array.
- ArrayExpressionNode
The
Arraykeyword, written without a qualifier:Array(<element>, ...), which yields aVariantholding an array of its arguments.
- AsTypeExpressionNode
An
ExpressionNodewith static semantics that resolve theVBTypeof aVBTypedDeclarationExpression.
- BuiltInTypeExpressionNode
MS-VBAL §3.3.5.3 Special Identifier Forms, §5.6.16.7 Type Expressions
An ExpressionNode that is the name of an intrinsic type, written where an expression is:LonginTypeOf o Is Long, or inx = Long.
- ByValArgumentExpressionNode
MS-VBAL 5.6.13.1 an argument written with the
ByValkeyword (argument-expression = ["byval"] expression), which flags that one argument as being passed by value whatever the mechanism its parameter declares.
- ConditionalExpressionNode
An expression that is evaluated in a Boolean context.
- DictionaryAccessExpressionNode
MS-VBAL 5.6.14
dictionary-access-expression(owner!member) and itswith-expressionsibling (!member, Owner omitted). A pure AST node: the default-member lookup the!token implies is a semantics-layer concern, not this node's.
- ExpressionEquivalence
Whether two expressions of the syntax tree are the same expression, written in two places: the targets of the two assignments of
If c Then flags(i) = True Else flags(i) = False, or two call sites of one extracted method.
- ExpressionWriter
Writes an expression of the syntax tree back as the VBA code that says it: what a fix or a refactoring writes when it moves an expression, or builds one out of the parts of others (
t = cout ofIf c Then t = True Else t = False).
- IndexExpressionNode
MS-VBAL 5.6.13
index-expression(callee(arguments)): represents both a procedure/function call and array/collection indexing; which one it is is a semantic question the resolver answers from the callee's declared kind, not something this node encodes.
- InstanceExpressionNode
MS-VBAL 5.6.11
instance-expression: theMekeyword, a self-reference to the current object instance. Its own grammar alternative, distinct from SimpleNameExpressionNode, becauseMeis a reserved keyword and never resolves like a named symbol lookup.
- LiteralExpressionNode
An expression that statically resolves a
VBTypedValuedirectly from the source tokens.
- MemberAccessExpressionNode
MS-VBAL 5.6
member-access-expression(owner.member) and itswith-expressionsibling (.member, Owner omitted). Both are part of thel-expressiongrammar family alongside SimpleNameExpressionNode: a pure AST node; its static and run-time semantics (owner-type member lookup, the late-boundVariant/Objectpath, the design-time vs. immediate-pane error split) live in the semantics layer, not here.
- MissingArgumentNode
MS-VBAL 5.6.13.1 a skipped positional argument (e.g. the middle position in
Foo(1, , 3)) in an IndexExpressionNode's argument list: a placeholder that preserves the position for binding against the callee's parameter list, not a value-producing expression.
- NamedArgumentNode
MS-VBAL 5.6.13.1 a named argument (
name:=value) in an IndexExpressionNode's argument list.
- NewExpressionNode
MS-VBAL 5.6.8 New Expressions:
New <type-expression>, instantiating a new object of the class referenced by TypeExpression and yielding that object.
- ObjectPrintExpressionNode
owner.Print outputList(e.g.Debug.Print "x"): a call of an object'sPrintmember that takes an output list (MS-VBAL 5.4.5.8.1, the list of thePrintstatement of MS-VBAL 5.4.5.8) in place of an argument list, written as a statement throughCallStatementNode. MS-VBAL has no grammar of its own for it.
- PrintOutputItemNode
MS-VBAL 5.4.5.8.1 one item of a
Print/Writeoutput list: a value (or none, for a bare separator) followed by an optional;/,column-position separator. A pure AST node; the column-spacing semantics;/,andSpc/Tabimply are a runtime-layer concern, not this node's.
- PrintSpcClauseNode
MS-VBAL 5.4.5.8.1 a
Spc(n)clause in aPrint/Writeoutput list.
- PrintTabClauseNode
MS-VBAL 5.4.5.8.1 a
TaborTab(n)clause in aPrint/Writeoutput list.
- SimpleNameExpressionNode
MS-VBAL 5.6.10 Simple Name Expression
A ExpressionNode that statically resolves an expression consisting of a single identifier without any qualifiers or arguments.
- TypeOfIsExpressionNode
MS-VBAL 5.6.7 TypeOf...Is Expressions:
TypeOf <expr> Is <type-expression>, testing whether Operand's run-time type is, or derives from, TypeExpression.
- VBBinaryOperatorExpressionNode
An infix
VBOperatorExpression(bound) that accepts a left and a right operand on either of its sides.
- VBDeclarationStatementNode
A
StatementNoderepresenting a declaration list containing one or more declaration expressions.
- VBOperatorExpression
An expression syntax node representing an operator.
- VBTypedDeclarationExpressionNode
An
ExpressionNoderepresenting any declaration expression that evaluates to aTypedSymbol.
- VBUnaryOperatorExpressionNode
A prefix
VBOperatorExpressionthat accepts a single operand.
Enums
- ArrayBoundKind
Which end of an array dimension an ArrayBoundExpressionNode reads.
- ExpressionClassification
MS-VBAL 5.6.1 Expression Classifications