Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
cpp.ast.TypeConverter Class Reference
Inheritance diagram for cpp.ast.TypeConverter:

Public Member Functions

 __init__ (self, namespace_stack)
 
 ToType (self, tokens)
 
 DeclarationToParts (self, parts, needs_name_removed)
 
 ToParameters (self, tokens)
 
 CreateReturnType (self, return_type_seq)
 
 GetTemplateIndices (self, names)
 

Public Attributes

 namespace_stack = namespace_stack
 

Protected Member Functions

 _GetTemplateEnd (self, tokens, start)
 

Member Function Documentation

◆ ToType()

cpp.ast.TypeConverter.ToType ( self,
tokens )
Convert [Token,...] to [Class(...), ] useful for base classes.
    For example, code like class Foo : public Bar<x, y> { ... };
    the "Bar<x, y>" portion gets converted to an AST.

    Returns:
      [Class(...), ...]

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