#include <stopstatement.h>
Inheritance diagram for StopStatement:
Public Member Functions | |
StopStatement (SrcPosition *position) | |
virtual | ~StopStatement () |
virtual Ast & | operator= (const Ast &ast) |
virtual bool | operator== (const Ast &ast) const |
virtual VisitorReturn * | visit (Visitor &visitor) |
virtual Ast & | clone () const |
|
Definition at line 10 of file stopstatement.h. References Ast::position. Referenced by clone().
00011 : SimpleStatement(position) {} |
|
Definition at line 13 of file stopstatement.h.
00013 { 00014 } |
|
Implements Ast. Definition at line 28 of file stopstatement.h. References Ast::position, and StopStatement().
00028 { 00029 return *(new StopStatement(new SrcPosition(*position))); 00030 } |
|
Reimplemented from SimpleStatement. Definition at line 16 of file stopstatement.h. References Ast::operator=().
00016 { 00017 Ast::operator=(ast); 00018 return *(this); 00019 } |
|
Reimplemented from SimpleStatement. Definition at line 20 of file stopstatement.h. References Ast::operator==().
00020 { 00021 return Ast::operator==(ast); 00022 } |
|
Implements Ast. Definition at line 24 of file stopstatement.h. References Visitor::visitStopStatement().
00024 { 00025 return visitor.visitStopStatement(this); 00026 } |