AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | Token |
Functions | |
def | GetTokens (source) |
def | main (argv) |
Variables | |
VALID_IDENTIFIER_CHARS = set(_letters + _letters.upper() + '_0123456789$') | |
HEX_DIGITS = set('0123456789abcdefABCDEF') | |
INT_OR_FLOAT_DIGITS = set('01234567890eE-+') | |
string | UNKNOWN = 'UNKNOWN' |
string | SYNTAX = 'SYNTAX' |
string | CONSTANT = 'CONSTANT' |
string | NAME = 'NAME' |
string | PREPROCESSOR = 'PREPROCESSOR' |
WHENCE_STREAM | |
WHENCE_QUEUE | |
def cpp.tokenize.GetTokens | ( | source | ) |
Returns a sequence of Tokens. Args: source: string of C++ source code. Yields: Token that represents the next token in the source.
def cpp.tokenize.main | ( | argv | ) |
Driver mostly for testing purposes.
string cpp.tokenize.CONSTANT = 'CONSTANT' |
cpp.tokenize.HEX_DIGITS = set('0123456789abcdefABCDEF') |
cpp.tokenize.INT_OR_FLOAT_DIGITS = set('01234567890eE-+') |
string cpp.tokenize.NAME = 'NAME' |
string cpp.tokenize.PREPROCESSOR = 'PREPROCESSOR' |
string cpp.tokenize.SYNTAX = 'SYNTAX' |
string cpp.tokenize.UNKNOWN = 'UNKNOWN' |
cpp.tokenize.VALID_IDENTIFIER_CHARS = set(_letters + _letters.upper() + '_0123456789$') |
cpp.tokenize.WHENCE_QUEUE |
cpp.tokenize.WHENCE_STREAM |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0