comma::Stmt Class Reference

#include <Stmt.h>

Inheritance diagram for comma::Stmt:
Inheritance graph
[legend]
Collaboration diagram for comma::Stmt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Location getLocation () const
 Returns the location of this statement.
bool isTerminator () const
 Returns true if this statement represents a return or raise.

Static Public Member Functions

static bool classof (const Stmt *node)
 Support isa and dyn_cast.
static bool classof (const Ast *node)

Protected Member Functions

 Stmt (AstKind kind, Location loc)

Detailed Description

Definition at line 22 of file Stmt.h.


Constructor & Destructor Documentation

comma::Stmt::Stmt ( AstKind  kind,
Location  loc 
) [inline, protected]

Definition at line 25 of file Stmt.h.


Member Function Documentation

static bool comma::Stmt::classof ( const Ast node  )  [inline, static]
static bool comma::Stmt::classof ( const Stmt node  )  [inline, static]
Location comma::Stmt::getLocation (  )  const [inline, virtual]

Returns the location of this statement.

Reimplemented from comma::Ast.

Reimplemented in comma::ProcedureCallStmt.

Definition at line 29 of file Stmt.h.

bool Stmt::isTerminator (  )  const

Returns true if this statement represents a return or raise.

Definition at line 26 of file Stmt.cpp.


The documentation for this class was generated from the following files:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1