|
The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
|
Abstract class represents a programming language statement. More...
Public Member Functions | |
| override object | AcceptOperation (AstOperation op, object arg) |
| Dispatches expressions to the operation passed as argument. It provokes the execution of op.AcceptOperation(AstNode) with the parameter resolved polymorfically More... | |
Public Member Functions inherited from AST.AstNode | |
| abstract Object | Accept (Visitor v, Object o) |
| Accept method of a concrete visitor. More... | |
| override bool | Equals (object obj) |
| AntLR compares Nodes with the class name. This is not correct for our purposes. More... | |
| override int | GetHashCode () |
Protected Member Functions | |
| Statement (Location location) | |
| Protected constructor of Statement. More... | |
Protected Member Functions inherited from AST.AstNode | |
| AstNode (Location location) | |
| Protected constructor of NodeAst More... | |
Additional Inherited Members | |
Protected Attributes inherited from AST.AstNode | |
| Location | location |
| Location: Encapsulates in one object the line, column and filename More... | |
Properties inherited from AST.AstNode | |
| Location | Location [get] |
Abstract class represents a programming language statement.
Inheritance: AstNode. Implements Composite pattern [Composite]. Implements Visitor pattern [Element].
Definition at line 30 of file Statement.cs.
|
protected |
Protected constructor of Statement.
| fileName | File name. |
| lineNumber | Line number. |
| columnNumber | Column number. |
Definition at line 40 of file Statement.cs.
|
virtual |
Dispatches expressions to the operation passed as argument. It provokes the execution of op.AcceptOperation(AstNode) with the parameter resolved polymorfically
| op | AstOperation to dispatch |
Reimplemented from AST.AstNode.
Definition at line 52 of file Statement.cs.