lib/typecheck/Stencil.h File Reference

Helper classes used by the type checker to manage intermediate data while consuming info from the parser. More...

#include "comma/ast/AstBase.h"
#include "comma/ast/Expr.h"
#include "llvm/ADT/SmallVector.h"
#include <utility>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  comma::ASTStencil
class  comma::ASTStencilReseter
class  comma::EnumDeclStencil
 A stencil to hold enumeration declaration info. More...
class  comma::SRDeclStencil
 A stencil to represent a subroutine declaration. More...

Namespaces

namespace  comma

Detailed Description

Helper classes used by the type checker to manage intermediate data while consuming info from the parser.

While the parser drives the type checker, contexts are established to begin the processing of complex constructs. For example, function declarations are processed by notifying the type checker with a call to ParseClient::beginFunctionDeclaration(), followed by parameter and return type processing. We do not want to maintain incomplete AST nodes to hold onto the intermediate data between callbacks. Thus, ASTStencil's are used to hold onto the necessary bits until the type checker can complete its analysis and form a proper AST node.

Definition in file Stencil.h.


Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1

Rabisu Mirror Service We provide mirrors to support Open source communities. Our mirror server is located in Istanbul/Turkey region.

Please do not hesitate to contact mirror@rabisu.com for new open source mirror submissions.