|
The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
|
Encapsulates a Theta function to use in SSA algorithm. More...
Public Member Functions | |
| ThetaStatement (SingleIdentifierExpression id, List< SingleIdentifierExpression > list, Location location) | |
| Constructor of ThetaStatement More... | |
| override Object | Accept (Visitor v, Object o) |
| Accept method of a concrete visitor. More... | |
Public Member Functions inherited from AST.Statement | |
| 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 | |
| override bool | Equals (object obj) |
| AntLR compares Nodes with the class name. This is not correct for our purposes. More... | |
| override int | GetHashCode () |
Properties | |
| List< SingleIdentifierExpression > | ThetaList [get] |
| Gets the parameter of theta funcion More... | |
| SingleIdentifierExpression | ThetaId [get] |
| Gets the expression More... | |
Properties inherited from AST.AstNode | |
| Location | Location [get] |
Additional Inherited Members | |
Protected Member Functions inherited from AST.Statement | |
| Statement (Location location) | |
| Protected constructor of Statement. More... | |
Protected Member Functions inherited from AST.AstNode | |
| AstNode (Location location) | |
| Protected constructor of NodeAst More... | |
Protected Attributes inherited from AST.AstNode | |
| Location | location |
| Location: Encapsulates in one object the line, column and filename More... | |
Encapsulates a Theta function to use in SSA algorithm.
Inheritance: Statement. Implements Composite pattern [Composite]. Implements Visitor pattern [Concrete Element].
Definition at line 34 of file ThetaStatement.cs.
| AST.ThetaStatement.ThetaStatement | ( | SingleIdentifierExpression | id, |
| List< SingleIdentifierExpression > | list, | ||
| Location | location | ||
| ) |
Constructor of ThetaStatement
| id | Function identifier. |
| list | Represents a union of expression. |
| fileName | File name. |
| line | Line number. |
Definition at line 79 of file ThetaStatement.cs.
|
virtual |
Accept method of a concrete visitor.
| v | Concrete visitor |
| o | Optional information to use in the visit. |
Implements AST.AstNode.
Definition at line 136 of file ThetaStatement.cs.
|
get |
Gets the expression
Definition at line 64 of file ThetaStatement.cs.
|
get |
Gets the parameter of theta funcion
Definition at line 56 of file ThetaStatement.cs.