The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
|
Abstract class to define different visits over the abstract syntax tree. More...
Public Member Functions | |
abstract Object | Visit (SourceFile node, Object obj) |
abstract Object | Visit (Namespace node, Object obj) |
abstract Object | Visit (DeclarationSet node, Object obj) |
abstract Object | Visit (FieldDeclarationSet node, Object obj) |
abstract Object | Visit (IdDeclaration node, Object obj) |
abstract Object | Visit (Definition node, Object obj) |
abstract Object | Visit (ConstantDefinition node, Object obj) |
abstract Object | Visit (ClassDefinition node, Object obj) |
abstract Object | Visit (InterfaceDefinition node, Object obj) |
abstract Object | Visit (PropertyDefinition node, Object obj) |
abstract Object | Visit (FieldDeclaration node, Object obj) |
abstract Object | Visit (FieldDefinition node, Object obj) |
abstract Object | Visit (ConstantFieldDefinition node, Object obj) |
abstract Object | Visit (MethodDeclaration node, Object obj) |
abstract Object | Visit (MethodDefinition node, Object obj) |
abstract Object | Visit (ConstructorDefinition node, Object obj) |
abstract Object | Visit (ArgumentExpression node, Object obj) |
abstract Object | Visit (ArithmeticExpression node, Object obj) |
abstract Object | Visit (ArrayAccessExpression node, Object obj) |
abstract Object | Visit (AssignmentExpression node, Object obj) |
abstract Object | Visit (BaseCallExpression node, Object obj) |
abstract Object | Visit (BaseExpression node, Object obj) |
abstract Object | Visit (BinaryExpression node, Object obj) |
abstract Object | Visit (BitwiseExpression node, Object obj) |
abstract Object | Visit (BoolLiteralExpression node, Object obj) |
abstract Object | Visit (CastExpression node, Object obj) |
abstract Object | Visit (CharLiteralExpression node, Object obj) |
abstract Object | Visit (CompoundExpression node, Object obj) |
abstract Object | Visit (DoubleLiteralExpression node, Object obj) |
abstract Object | Visit (FieldAccessExpression node, Object obj) |
abstract Object | Visit (IntLiteralExpression node, Object obj) |
abstract Object | Visit (InvocationExpression node, Object obj) |
abstract Object | Visit (IsExpression node, Object obj) |
abstract Object | Visit (LogicalExpression node, Object obj) |
abstract Object | Visit (NewArrayExpression node, Object obj) |
abstract Object | Visit (NewExpression node, Object obj) |
abstract Object | Visit (NullExpression node, Object obj) |
abstract Object | Visit (QualifiedIdentifierExpression node, Object obj) |
abstract Object | Visit (RelationalExpression node, Object obj) |
abstract Object | Visit (SingleIdentifierExpression node, Object obj) |
abstract Object | Visit (StringLiteralExpression node, Object obj) |
abstract Object | Visit (TernaryExpression node, Object obj) |
abstract Object | Visit (ThisExpression node, Object obj) |
abstract Object | Visit (UnaryExpression node, Object obj) |
abstract Object | Visit (AssertStatement node, Object obj) |
abstract Object | Visit (Block node, Object obj) |
abstract Object | Visit (BreakStatement node, Object obj) |
abstract Object | Visit (CatchStatement node, Object obj) |
abstract Object | Visit (ContinueStatement node, Object obj) |
abstract Object | Visit (DoStatement node, Object obj) |
abstract Object | Visit (ForeachStatement node, Object obj) |
abstract Object | Visit (ForStatement node, Object obj) |
abstract Object | Visit (IfElseStatement node, Object obj) |
abstract Object | Visit (MoveStatement node, Object obj) |
abstract Object | Visit (ReturnStatement node, Object obj) |
abstract Object | Visit (SwitchLabel node, Object obj) |
abstract Object | Visit (SwitchSection node, Object obj) |
abstract Object | Visit (SwitchStatement node, Object obj) |
abstract Object | Visit (ThetaStatement node, Object obj) |
abstract Object | Visit (ThrowStatement node, Object obj) |
abstract Object | Visit (ExceptionManagementStatement node, Object obj) |
abstract Object | Visit (WhileStatement node, Object obj) |
Static Public Member Functions | |
static T | getInheritedAttributes< T > (Object attributes, int index) |
Generic helper function that takes the visitor parameter an converts it into the appropiate inherited attribute. More... | |
static T | getInheritedAttributes< T > (Object attributes) |
Overloaded version of the above method More... | |
Abstract class to define different visits over the abstract syntax tree.
Implements Visitor pattern [Visitor].
Definition at line 29 of file Visitor.cs.
|
static |
Generic helper function that takes the visitor parameter an converts it into the appropiate inherited attribute.
T | The expected type of the attribute |
attributes | The visitor parameter that encapsulates all the inherited attributes |
index | The index of the attribute |
Definition at line 108 of file Visitor.cs.
|
static |
Overloaded version of the above method
T | The expected type of the attribute |
attributes | The visitor parameter that encapsulates the inherited attribute |
Definition at line 137 of file Visitor.cs.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in Tools.VisitorAdapter.
|
pure virtual |
Implemented in Tools.VisitorAdapter.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in Debugger.VisitorDebug, Semantic.VisitorSymbolIdentification, CodeGeneration.VisitorILCodeGeneration< T >, Semantic.VisitorTypeDefinition, Tools.VisitorAdapter, Semantic.SSAAlgorithm.VisitorSSA, Semantic.VisitorTypeInference, Semantic.VisitorTypeLoad, and CodeGeneration.VisitorCodeGeneration2.
|
pure virtual |
|
pure virtual |
Implemented in Debugger.VisitorDebug, and Tools.VisitorAdapter.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in Debugger.VisitorDebug, Semantic.SSAAlgorithm.VisitorSSA, Semantic.VisitorTypeInference, and Tools.VisitorAdapter.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in Semantic.SSAAlgorithm.VisitorSSA, and Tools.VisitorAdapter.
|
pure virtual |
Implemented in CodeGeneration.VisitorILCodeGeneration< T >, Debugger.VisitorDebug, and Tools.VisitorAdapter.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in CodeGeneration.VisitorILCodeGeneration< T >, Semantic.SSAAlgorithm.VisitorSSA, and Tools.VisitorAdapter.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in Debugger.VisitorDebug, Semantic.SSAAlgorithm.VisitorSSA, and Tools.VisitorAdapter.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in Tools.VisitorAdapter.
|
pure virtual |
|
pure virtual |
Implemented in CodeGeneration.VisitorILCodeGeneration< T >, Debugger.VisitorDebug, and Tools.VisitorAdapter.
|
pure virtual |
Implemented in CodeGeneration.VisitorILCodeGeneration< T >, Debugger.VisitorDebug, and Tools.VisitorAdapter.
|
pure virtual |
Implemented in Debugger.VisitorDebug, and Tools.VisitorAdapter.
|
pure virtual |
|
pure virtual |
Implemented in Debugger.VisitorDebug, and Tools.VisitorAdapter.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in CodeGeneration.VisitorILCodeGeneration< T >, Debugger.VisitorDebug, and Tools.VisitorAdapter.
|
pure virtual |
Implemented in Debugger.VisitorDebug, Semantic.VisitorTypeInference, and Tools.VisitorAdapter.
|
pure virtual |
|
pure virtual |
Implemented in Debugger.VisitorDebug, and Tools.VisitorAdapter.
|
pure virtual |
Implemented in CodeGeneration.VisitorILCodeGeneration< T >, Debugger.VisitorDebug, and Tools.VisitorAdapter.
|
pure virtual |
Implemented in CodeGeneration.VisitorILCodeGeneration< T >, Debugger.VisitorDebug, and Tools.VisitorAdapter.
|
pure virtual |