AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Public Attributes | List of all members
cpp.ast.TypeConverter Class Reference
Inheritance diagram for cpp.ast.TypeConverter:
Inheritance graph
[legend]
Collaboration diagram for cpp.ast.TypeConverter:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

 namespace_stack
 

Constructor & Destructor Documentation

◆ __init__()

def cpp.ast.TypeConverter.__init__ (   self,
  namespace_stack 
)

Member Function Documentation

◆ CreateReturnType()

def cpp.ast.TypeConverter.CreateReturnType (   self,
  return_type_seq 
)

◆ DeclarationToParts()

def cpp.ast.TypeConverter.DeclarationToParts (   self,
  parts,
  needs_name_removed 
)

◆ GetTemplateIndices()

def cpp.ast.TypeConverter.GetTemplateIndices (   self,
  names 
)

◆ ToParameters()

def cpp.ast.TypeConverter.ToParameters (   self,
  tokens 
)

◆ ToType()

def 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(...), ...]

Member Data Documentation

◆ namespace_stack

cpp.ast.TypeConverter.namespace_stack

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0