Table of Contents

Namespace RDCore.SDK.Model.AST.Abstract

Classes

AnnotationTriviaNode
CommentTriviaNode
DirectiveNode

A SyntaxNode representing a module directive, which is module metadata that is neither typed, nor executable.

ErasedPlusTriviaNode

Preserves a unary + written before an expression (RD-VBAL §5.6.9.3): x = +1, Foo +x.

ExpressionNode

A SyntaxNode that can be statically evaluated to a VBType, and with runtime semantics to a VBTypedValue.

LineContinuationTriviaNode

Preserves a line continuation (MS-VBAL §3.2.2): a blank, an underscore and the end of the line, which make the next line part of the same logical line.

LineLabelNode

A syntax node representing a line label directive, which is procedure metadata that defines a named symbol for various jump targets.

LineNumberNode

A line label directive that represents a line number, which is procedure metadata that defines a named symbol for various jump targets.

ModuleHeaderTriviaNode

Preserves a part of a class, form or document module's file header: the VERSION 1.0 CLASS line, the Object = "{GUID}#..." references, or the top-level BEGIN ... END configuration block.

PrecompilerTriviaNode
StatementNode

A SyntaxNode representing an executable statement.

SyntaxNode

A node in the abstract syntax tree (AST).

SyntaxNodeJson

Shared System.Text.Json configuration for (de)serializing a SyntaxNode tree.

SyntaxNodeSubtypeJsonConverter<T>

Bridges polymorphic (de)serialization for a property or collection element declared as a narrower abstract SyntaxNode subtype (e.g. ExpressionNode) rather than SyntaxNode itself.

SyntaxNodeWalk

Walks the syntax tree the way it is written, statements in the blocks of structured statements included.

UnbuiltExpressionTriviaNode

Preserves the raw source text of an expression that the tree does not model: an alternative the grammar recognizes but that has no dedicated AST node yet (e.g. New <class>, TypeOf <expr> Is <type>), or an expression nested too deeply to be analyzed (VBC00060, RD-VBAL §2.6.1).

UnbuiltStatementTriviaNode

Preserves the raw source text of a required statement-level construct that ANTLR's own recovery left incomplete (a mandatory sub-expression/identifier missing) — the statement-position counterpart of UnbuiltExpressionTriviaNode.

Structs

SyntaxNodeId

Represents an identifier that is unique for every node of an AST.

UnbuiltName

A name written in the text of an UnbuiltExpressionTriviaNode.

Interfaces

IExecutableNode

An AST node that can be evaluated or executed to produce a value or side effect.