Sha256: fe5729881bfa116ed9b55f18a7b7ff7579b89ef0567c02366690c10a4dadb1d9
Contents?: true
Size: 913 Bytes
Versions: 5
Compression:
Stored size: 913 Bytes
Contents
#ifndef _IV_PHONIC_AST_FWD_H_ #define _IV_PHONIC_AST_FWD_H_ #include <iv/ast.h> namespace iv { namespace phonic { class AstFactory; } // namespace iv::phonic namespace core { namespace ast { template<> class AstNodeBase<iv::phonic::AstFactory> : public Inherit<iv::phonic::AstFactory, kAstNode> { public: void Location(std::size_t begin, std::size_t end) { begin_ = begin; end_ = end; } private: std::size_t begin_; std::size_t end_; }; } } // namespace iv::core::ast namespace phonic { #define V(AST) typedef core::ast::AST<AstFactory> AST; AST_NODE_LIST(V) #undef V #define V(X, XS) typedef core::SpaceVector<AstFactory, X *>::type XS; AST_LIST_LIST(V) #undef V #define V(S) typedef core::SpaceUString<AstFactory>::type S; AST_STRING(V) #undef V typedef core::ast::AstVisitor<AstFactory>::const_type AstVisitor; } } // namespace iv::phonic #endif // _IV_PHONIC_AST_FWD_H_
Version data entries
5 entries across 5 versions & 1 rubygems