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.AstBuilder Class Reference
Inheritance diagram for cpp.ast.AstBuilder:
Inheritance graph
[legend]
Collaboration diagram for cpp.ast.AstBuilder:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, token_stream, filename, in_class='', visibility=None, namespace_stack=[])
 
def HandleError (self, msg, token)
 
def Generate (self)
 
def GetScope (self)
 
def GetName (self, seq=None)
 
def GetMethod (self, modifiers, templated_types)
 
def handle_bool (self)
 
def handle_char (self)
 
def handle_int (self)
 
def handle_long (self)
 
def handle_short (self)
 
def handle_double (self)
 
def handle_float (self)
 
def handle_void (self)
 
def handle_wchar_t (self)
 
def handle_unsigned (self)
 
def handle_signed (self)
 
def handle_struct (self)
 
def handle_union (self)
 
def handle_enum (self)
 
def handle_auto (self)
 
def handle_register (self)
 
def handle_const (self)
 
def handle_inline (self)
 
def handle_extern (self)
 
def handle_static (self)
 
def handle_virtual (self)
 
def handle_volatile (self)
 
def handle_mutable (self)
 
def handle_public (self)
 
def handle_protected (self)
 
def handle_private (self)
 
def handle_friend (self)
 
def handle_static_cast (self)
 
def handle_const_cast (self)
 
def handle_dynamic_cast (self)
 
def handle_reinterpret_cast (self)
 
def handle_new (self)
 
def handle_delete (self)
 
def handle_typedef (self)
 
def handle_typeid (self)
 
def handle_typename (self)
 
def handle_template (self)
 
def handle_true (self)
 
def handle_false (self)
 
def handle_asm (self)
 
def handle_class (self)
 
def handle_namespace (self)
 
def handle_using (self)
 
def handle_explicit (self)
 
def handle_this (self)
 
def handle_operator (self)
 
def handle_sizeof (self)
 
def handle_case (self)
 
def handle_switch (self)
 
def handle_default (self)
 
def handle_if (self)
 
def handle_else (self)
 
def handle_return (self)
 
def handle_goto (self)
 
def handle_try (self)
 
def handle_catch (self)
 
def handle_throw (self)
 
def handle_while (self)
 
def handle_do (self)
 
def handle_for (self)
 
def handle_break (self)
 
def handle_continue (self)
 

Public Attributes

 tokens
 
 filename
 
 token_queue
 
 namespace_stack
 
 in_class
 
 in_class_name_only
 
 visibility
 
 in_function
 
 current_token
 
 converter
 

Constructor & Destructor Documentation

◆ __init__()

def cpp.ast.AstBuilder.__init__ (   self,
  token_stream,
  filename,
  in_class = '',
  visibility = None,
  namespace_stack = [] 
)

Member Function Documentation

◆ Generate()

def cpp.ast.AstBuilder.Generate (   self)

◆ GetMethod()

def cpp.ast.AstBuilder.GetMethod (   self,
  modifiers,
  templated_types 
)

◆ GetName()

def cpp.ast.AstBuilder.GetName (   self,
  seq = None 
)
Returns ([tokens], next_token_info).

◆ GetScope()

def cpp.ast.AstBuilder.GetScope (   self)

◆ handle_asm()

def cpp.ast.AstBuilder.handle_asm (   self)

◆ handle_auto()

def cpp.ast.AstBuilder.handle_auto (   self)

◆ handle_bool()

def cpp.ast.AstBuilder.handle_bool (   self)

◆ handle_break()

def cpp.ast.AstBuilder.handle_break (   self)

◆ handle_case()

def cpp.ast.AstBuilder.handle_case (   self)

◆ handle_catch()

def cpp.ast.AstBuilder.handle_catch (   self)

◆ handle_char()

def cpp.ast.AstBuilder.handle_char (   self)

◆ handle_class()

def cpp.ast.AstBuilder.handle_class (   self)

◆ handle_const()

def cpp.ast.AstBuilder.handle_const (   self)

◆ handle_const_cast()

def cpp.ast.AstBuilder.handle_const_cast (   self)

◆ handle_continue()

def cpp.ast.AstBuilder.handle_continue (   self)

◆ handle_default()

def cpp.ast.AstBuilder.handle_default (   self)

◆ handle_delete()

def cpp.ast.AstBuilder.handle_delete (   self)

◆ handle_do()

def cpp.ast.AstBuilder.handle_do (   self)

◆ handle_double()

def cpp.ast.AstBuilder.handle_double (   self)

◆ handle_dynamic_cast()

def cpp.ast.AstBuilder.handle_dynamic_cast (   self)

◆ handle_else()

def cpp.ast.AstBuilder.handle_else (   self)

◆ handle_enum()

def cpp.ast.AstBuilder.handle_enum (   self)

◆ handle_explicit()

def cpp.ast.AstBuilder.handle_explicit (   self)

◆ handle_extern()

def cpp.ast.AstBuilder.handle_extern (   self)

◆ handle_false()

def cpp.ast.AstBuilder.handle_false (   self)

◆ handle_float()

def cpp.ast.AstBuilder.handle_float (   self)

◆ handle_for()

def cpp.ast.AstBuilder.handle_for (   self)

◆ handle_friend()

def cpp.ast.AstBuilder.handle_friend (   self)

◆ handle_goto()

def cpp.ast.AstBuilder.handle_goto (   self)

◆ handle_if()

def cpp.ast.AstBuilder.handle_if (   self)

◆ handle_inline()

def cpp.ast.AstBuilder.handle_inline (   self)

◆ handle_int()

def cpp.ast.AstBuilder.handle_int (   self)

◆ handle_long()

def cpp.ast.AstBuilder.handle_long (   self)

◆ handle_mutable()

def cpp.ast.AstBuilder.handle_mutable (   self)

◆ handle_namespace()

def cpp.ast.AstBuilder.handle_namespace (   self)

◆ handle_new()

def cpp.ast.AstBuilder.handle_new (   self)

◆ handle_operator()

def cpp.ast.AstBuilder.handle_operator (   self)

◆ handle_private()

def cpp.ast.AstBuilder.handle_private (   self)

◆ handle_protected()

def cpp.ast.AstBuilder.handle_protected (   self)

◆ handle_public()

def cpp.ast.AstBuilder.handle_public (   self)

◆ handle_register()

def cpp.ast.AstBuilder.handle_register (   self)

◆ handle_reinterpret_cast()

def cpp.ast.AstBuilder.handle_reinterpret_cast (   self)

◆ handle_return()

def cpp.ast.AstBuilder.handle_return (   self)

◆ handle_short()

def cpp.ast.AstBuilder.handle_short (   self)

◆ handle_signed()

def cpp.ast.AstBuilder.handle_signed (   self)

◆ handle_sizeof()

def cpp.ast.AstBuilder.handle_sizeof (   self)

◆ handle_static()

def cpp.ast.AstBuilder.handle_static (   self)

◆ handle_static_cast()

def cpp.ast.AstBuilder.handle_static_cast (   self)

◆ handle_struct()

def cpp.ast.AstBuilder.handle_struct (   self)

◆ handle_switch()

def cpp.ast.AstBuilder.handle_switch (   self)

◆ handle_template()

def cpp.ast.AstBuilder.handle_template (   self)

◆ handle_this()

def cpp.ast.AstBuilder.handle_this (   self)

◆ handle_throw()

def cpp.ast.AstBuilder.handle_throw (   self)

◆ handle_true()

def cpp.ast.AstBuilder.handle_true (   self)

◆ handle_try()

def cpp.ast.AstBuilder.handle_try (   self)

◆ handle_typedef()

def cpp.ast.AstBuilder.handle_typedef (   self)

◆ handle_typeid()

def cpp.ast.AstBuilder.handle_typeid (   self)

◆ handle_typename()

def cpp.ast.AstBuilder.handle_typename (   self)

◆ handle_union()

def cpp.ast.AstBuilder.handle_union (   self)

◆ handle_unsigned()

def cpp.ast.AstBuilder.handle_unsigned (   self)

◆ handle_using()

def cpp.ast.AstBuilder.handle_using (   self)

◆ handle_virtual()

def cpp.ast.AstBuilder.handle_virtual (   self)

◆ handle_void()

def cpp.ast.AstBuilder.handle_void (   self)

◆ handle_volatile()

def cpp.ast.AstBuilder.handle_volatile (   self)

◆ handle_wchar_t()

def cpp.ast.AstBuilder.handle_wchar_t (   self)

◆ handle_while()

def cpp.ast.AstBuilder.handle_while (   self)

◆ HandleError()

def cpp.ast.AstBuilder.HandleError (   self,
  msg,
  token 
)

Member Data Documentation

◆ converter

cpp.ast.AstBuilder.converter

◆ current_token

cpp.ast.AstBuilder.current_token

◆ filename

cpp.ast.AstBuilder.filename

◆ in_class

cpp.ast.AstBuilder.in_class

◆ in_class_name_only

cpp.ast.AstBuilder.in_class_name_only

◆ in_function

cpp.ast.AstBuilder.in_function

◆ namespace_stack

cpp.ast.AstBuilder.namespace_stack

◆ token_queue

cpp.ast.AstBuilder.token_queue

◆ tokens

cpp.ast.AstBuilder.tokens

◆ visibility

cpp.ast.AstBuilder.visibility

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