The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
|
Encapsulates a Throw statement of our programming languages. More...
Public Member Functions | |
ThrowStatement (Expression throwExp, Location location) | |
Constructor of ThrowStatement More... | |
override Object | Accept (Visitor v, Object o) |
Accept method of a concrete visitor. More... | |
![]() | |
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... | |
![]() | |
override bool | Equals (object obj) |
AntLR compares Nodes with the class name. This is not correct for our purposes. More... | |
override int | GetHashCode () |
Properties | |
Expression | ThrowExpression [get] |
Gets the throw expression. More... | |
![]() | |
Location | Location [get] |
Additional Inherited Members | |
![]() | |
Statement (Location location) | |
Protected constructor of Statement. More... | |
![]() | |
AstNode (Location location) | |
Protected constructor of NodeAst More... | |
![]() | |
Location | location |
Location: Encapsulates in one object the line, column and filename More... | |
Encapsulates a Throw statement of our programming languages.
Inheritance: Statement. Implements Composite pattern [Composite]. Implements Visitor pattern [Concrete Element].
Definition at line 34 of file ThrowStatement.cs.
AST.ThrowStatement.ThrowStatement | ( | Expression | throwExp, |
Location | location | ||
) |
Constructor of ThrowStatement
throwExp | Throw expression. if null it will generate a retrhow statement in il code |
param name="Location">
Definition at line 65 of file ThrowStatement.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 81 of file ThrowStatement.cs.
|
get |
Gets the throw expression.
Definition at line 51 of file ThrowStatement.cs.