AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Functions | Variables
cpp.ast Namespace Reference

Classes

class  _GenericDeclaration
 
class  _NestedType
 
class  _NullDict
 
class  AstBuilder
 
class  Class
 
class  Define
 
class  Delete
 
class  Enum
 
class  Expr
 
class  Friend
 
class  Function
 
class  Goto
 
class  Include
 
class  Method
 
class  Node
 
class  Parameter
 
class  Return
 
class  Struct
 
class  Type
 
class  TypeConverter
 
class  Typedef
 
class  Union
 
class  Using
 
class  VariableDeclaration
 

Functions

def reversed (seq)
 
def next (obj)
 
def BuilderFromSource (source, filename)
 
def PrintIndentifiers (filename, should_print)
 
def PrintAllIndentifiers (filenames, should_print)
 
def main (argv)
 

Variables

int FUNCTION_NONE = 0x00
 
int FUNCTION_CONST = 0x01
 
int FUNCTION_VIRTUAL = 0x02
 
int FUNCTION_PURE_VIRTUAL = 0x04
 
int FUNCTION_CTOR = 0x08
 
int FUNCTION_DTOR = 0x10
 
int FUNCTION_ATTRIBUTE = 0x20
 
int FUNCTION_UNKNOWN_ANNOTATION = 0x40
 
int FUNCTION_THROW = 0x80
 
int FUNCTION_OVERRIDE = 0x100
 

Function Documentation

◆ BuilderFromSource()

def cpp.ast.BuilderFromSource (   source,
  filename 
)
Utility method that returns an AstBuilder from source code.

Args:
  source: 'C++ source code'
  filename: 'file1'

Returns:
  AstBuilder

◆ main()

def cpp.ast.main (   argv)

◆ next()

def cpp.ast.next (   obj)

◆ PrintAllIndentifiers()

def cpp.ast.PrintAllIndentifiers (   filenames,
  should_print 
)
Prints all identifiers for each C++ source file in filenames.

Args:
  filenames: ['file1', 'file2', ...]
  should_print: predicate with signature: bool Function(token)

◆ PrintIndentifiers()

def cpp.ast.PrintIndentifiers (   filename,
  should_print 
)
Prints all identifiers for a C++ source file.

Args:
  filename: 'file1'
  should_print: predicate with signature: bool Function(token)

◆ reversed()

def cpp.ast.reversed (   seq)

Variable Documentation

◆ FUNCTION_ATTRIBUTE

int cpp.ast.FUNCTION_ATTRIBUTE = 0x20

◆ FUNCTION_CONST

int cpp.ast.FUNCTION_CONST = 0x01

◆ FUNCTION_CTOR

int cpp.ast.FUNCTION_CTOR = 0x08

◆ FUNCTION_DTOR

int cpp.ast.FUNCTION_DTOR = 0x10

◆ FUNCTION_NONE

int cpp.ast.FUNCTION_NONE = 0x00

◆ FUNCTION_OVERRIDE

int cpp.ast.FUNCTION_OVERRIDE = 0x100

◆ FUNCTION_PURE_VIRTUAL

int cpp.ast.FUNCTION_PURE_VIRTUAL = 0x04

◆ FUNCTION_THROW

int cpp.ast.FUNCTION_THROW = 0x80

◆ FUNCTION_UNKNOWN_ANNOTATION

int cpp.ast.FUNCTION_UNKNOWN_ANNOTATION = 0x40

◆ FUNCTION_VIRTUAL

int cpp.ast.FUNCTION_VIRTUAL = 0x02

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