AST - com.strumenta.sas.ast.macro
com.strumenta.sas.ast.macro
Statements
AbortMacroStatementClass
A %ABORT statement.
Super Classes
Local Features
| Name | Type and Description |
|---|---|
| returnValue | ExpressionA |
| type | String |
GlobalMacroStatementClass
IncludeMacroStatementClass
LocalMacroStatementClass
MacroCommentClass
A commented-out macro statement.
Super Classes
Local Features
| Name | Type and Description |
|---|---|
| text | String |
MacroDoMacroStatementClass
A %DO statement.
Super Classes
Local Features
| Name | Type and Description |
|---|---|
| body | ASTNode |
| iterateFrom | ExpressionA |
| iterateTo | ExpressionA |
| iterationVariable | String |
| untilCondition | ExpressionA |
| whileCondition | ExpressionA |
Used In
MacroGotoMacroStatementClass
MacroIfMacroStatementClass
An %IF statement.
Super Classes
Local Features
| Name | Type and Description |
|---|---|
| alternative | ASTNode |
| condition | ExpressionA |
| consequence | ASTNode |
MacroLabelMacroStatementClass
MacroPutMacroStatementClass
A
MacroStatementClass (Abstract)
A macro statement.
Super Classes
Subclasses
MacroStatementErrorClass
An invalid or otherwise unsupported macro statement.
Super Classes
Local Features
| Name | Type and Description |
|---|---|
| message | String |
PlainTextMacroStatementClass
Macro text that couldn't be parsed as valid SAS or SQL code.
Super Classes
Local Features
| Name | Type and Description |
|---|---|
| text | String |
VariableDeclarationClass
A macro variable declaration (`%LET foo = ...`).
Super Classes
Local Features
| Name | Type and Description |
|---|---|
| expression | ExpressionA |
| name | String |
Expressions
MacroArgumentClass
A macro argument, either in a [macro definition] [MacroDefinition] or in a [macro function call] [MacroFunctionCallExpression] .
Super Classes
Local Features
| Name | Type and Description |
|---|---|
| name | String |
| value | ExpressionA |
Inherited Features
| Name | Type and Description |
|---|---|
| position | Position |
| origin | Origin |
| destination | Destination |
Used In
A
MacroExpressionClass (Abstract)
Super Classes
Inherited Features
| Name | Type and Description |
|---|---|
| position | Position |
| origin | Origin |
| destination | Destination |
Subclasses
MacroExpressionErrorClass
An invalid or otherwise unsupported macro expression.
Super Classes
Local Features
| Name | Type and Description |
|---|---|
| message | String |
Inherited Features
| Name | Type and Description |
|---|---|
| position | Position |
| origin | Origin |
| destination | Destination |
Classes
MacroDefinitionClass
A macro function definition.
Local Features
| Name | Type and Description |
|---|---|
| arguments | MacroArgument |
| body | ASTNode |
| name | String |
Inherited Features
| Name | Type and Description |
|---|---|
| position | Position |
| origin | Origin |
| destination | Destination |