Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 2 Gbit/s uplink. Will be upgraded soon...

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

Comma: lib/typecheck/Stencil.h File Reference

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