![]() |
Zen
A cross-platform functional programming language
|
Class to obtain separator between elements of different types. More...
Public Member Functions | |
| TypeSpecMemberGenerator () | |
| Default constructor. | |
| const z::string & | getOp (const Ast::TypeSpec &typeSpec) |
| Returns the separator preceeding a member reference of a type. | |
Private Member Functions | |
| virtual void | visit (const Ast::Unit &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::Namespace &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::Scope &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::StructDef &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::EnumDef &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::EnumMemberDef &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::OutParam &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::SharedDef &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::TypeDecl &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::TypeDef &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::OwnerTemplate &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::ListTemplate &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::DictTemplate &type) |
| Abstract visitor function. | |
| virtual void | visit (const Ast::FunctionDef &type) |
| Abstract visitor function. | |
Private Attributes | |
| z::string | _op |
| The separator to return. | |
Class to obtain separator between elements of different types.
| const z::string& getOp | ( | const Ast::TypeSpec & | typeSpec | ) | [inline] |
Returns the separator preceeding a member reference of a type.
| typeSpec | The type reference to write out |
| virtual void visit | ( | const Ast::FunctionDef & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::DictTemplate & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::ListTemplate & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::OwnerTemplate & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::TypeDef & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::TypeDecl & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::SharedDef & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::OutParam & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::EnumMemberDef & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::EnumDef & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::StructDef & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::Scope & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
| virtual void visit | ( | const Ast::Namespace & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.
| virtual void visit | ( | const Ast::Unit & | type | ) | [inline, private, virtual] |
Abstract visitor function.
| type | The type reference to handle |
Implements TypeSpec::Visitor.