# Constants
NodeTypeAgent
.
No description provided by the author
NodeTypeAgentReference
.
NodeTypeArrowStatement
.
No description provided by the author
No description provided by the author
a!.
No description provided by the author
No description provided by the author
NodeTypeAssignStatement
.
No description provided by the author
NodeTypeAwaitExpression
.
A plus expression: +.
A divide expression: /.
Binary expressions.
No description provided by the author
A modulo expression: %.
A multiply expression: *.
A subtract expression: -.
a & b.
~a.
a | b.
a << b.
a >> b.
a ^ b.
a && b.
true.
No description provided by the author
!a.
a || b.
NodeTypeBreakStatement
.
a.(b).
No description provided by the author
NodeCastExpression
.
The value of the comment, including its delimeter(s).
a == b.
a >= b.
a > b.
a <= b.
a < b.
a != b.
NodeTypeConditionalExpression
.
No description provided by the author
No description provided by the author
No description provided by the author
NodeTypeConditionalStatement
.
No description provided by the author
NodeTypeContinueStatement
.
NodeTypeDecorator
.
No description provided by the author
a ..< b.
a .
a->b.
NodeTypeExpressionStatement
.
NodeFunctionCallExpression
.
a(b, c, d).
No description provided by the author
NodeTypeGeneric
.
No description provided by the author
a<b>.
No description provided by the author
No description provided by the author
NodeTypeIdentifierAccess
.
No description provided by the author
NodeTypeIdentifierExpression
.
NodeTypeIdentifierPath
.
NodeTypeImport
.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
a in b.
a is b.
not a.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NodeTypeLambdaParameter
.
NodeTypeLambdaExpression
.
[1, 2, 3].
NodeListLiteralExpression
.
No description provided by the author
No description provided by the author
NodeTypeLoopExpression
.
No description provided by the author
NodeTypeLoopStatement
.
{a: 1, b: 2}.
NodeMapLiteralExpression
.
a: 1.
No description provided by the author
No description provided by the author
[]{string}{a: 1, b: 2}.
a: 1.
NodeMappingLiteralExpressionEntry
.
NodeMappingLiteralExpression
.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NodeTypeMatchStatementCase
.
NodeTypeMatchStatement
.
Member Access expressions.
a.b.
No description provided by the author
NodeTypeNamedValue/NodeTypeAssignedValue
.
NodeTypeNominal
.
a?.b.
a ?? b.
null.
123.
Literals.
NodeTypeOperator
.
No description provided by the author
NodeTypeParameter
.
Type members and properties
.
A direct child of this node.
NodeTypeClass + NodeTypeAgent
.
The rune position in the input string at which this node ends.
The message for the parsing error.
All nodes
The source of this node.
The rune position in the input string at which this node begins.
NodeTypeField
.
No description provided by the author
No description provided by the author
Type members: NodeTypeProperty, NodeTypeFunction, NodeTypeField, NodeTypeConstructor
.
No description provided by the author
No description provided by the author
No description provided by the author
NodeTypeMemberTag
.
No description provided by the author
principal.
NodeTypePropertyBlock
.
No description provided by the author
NodeTypeProperty
.
No description provided by the author
NodeTypeRejectStatement
.
NodeTypeResolveStatement
.
NodeTypeReturnStatement
.
&a.
a[b:c].
NodeSliceExpression
.
No description provided by the author
No description provided by the author
No description provided by the author
[]int{1, 2, 3}.
No description provided by the author
NodeSliceLiteralExpression
.
NodeTypeSmlAttribute
.
No description provided by the author
No description provided by the author
NodeTypeSmlDecorator
.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NodeTypeSmlExpression
.
NodeTypeSmlText
.
NodeTypeStatementBlock
.
No description provided by the author
NodeTypeLoopStatement + NodeTypeWithStatement
.
a*.b.
'hello'.
No description provided by the author
NodeStructuralNewExpressionEntry
.
No description provided by the author
SomeName{a: 1, b: 2}.
No description provided by the author
a: 1.
NodeStructuralNewExpression
.
No description provided by the author
NodeTypeSwitchStatementCase
.
No description provided by the author
NodeTypeSwitchStatement
.
NodeTaggedTemplateLiteralString
.
someexpr`foo`.
No description provided by the author
NodeTypeTemplateString
.
this.
An agent type.
A single agent included in a class.
No description provided by the author
An arrow statement: a <- b.
A named value assigned to the scope by a parent statement.
An assignment statement: a = b.
An await expression: <- a.
A break statement.
A class.
A single or multiline comment.
a if b else c.
An if statement.
A constructor declaration or definition.
A continue statement.
Decorator.
No description provided by the author
NodeTypeClass + NodeTypeInterface
.
No description provided by the author
No description provided by the author
error occurred; value is text of error.
A statement containing a single expression.
A field (var) definition.
The file root node.
A function declaration or definition.
A generic definition on a type.
A named reference via an identifier or a dot access.
An identifier expression.
An identifier path.
An import.
A package imported under an import statement.
An interface.
A lambda expression.
Lambda expression members.
a for a in c.
A for statement.
No description provided by the author
A match statement.
A case of a match statement.
A tag on a type member.
A named value added to the scope of the parent statement.
A nominal type.
No description provided by the author
An operator declaration or definition.
A parameter under a type member (function, iterator, etc).
A property declaration or definition.
A child block (get or set) of a property definition.
No description provided by the author
No description provided by the author
No description provided by the author
NodeTypeTypeReference
.
A reject statement.
A resolve assignment statement: a := b.
A return statement.
No description provided by the author
a="somevalue" or <.a>.
@a="somevalue".
<sometag />.
some text.
A block of statements.
No description provided by the author
A structural type.
No description provided by the author
A switch statement.
A case of a switch statement.
NodeType is a tagged type.
`foo`.
A type reference.
A variable definition at the module level.
A variable statement.
No description provided by the author
A with statement.
A yield statement.
Unary expressions.
val.
No description provided by the author
NodeTypeField/NodeTypeVariable/NodeTypeVariableStatement
.
No description provided by the author
No description provided by the author
No description provided by the author
NodeTypeWithStatement
.
No description provided by the author
No description provided by the author
NodeTypeYieldStatement
.
SerulianFileExtension defines the file extension for Serulian files.
# Type aliases
NodeType identifies the type of AST node.