|
def | __init__ (self, token_stream, filename, in_class='', visibility=None, namespace_stack=[]) |
|
def | Generate (self) |
|
def | GetMethod (self, modifiers, templated_types) |
|
def | GetName (self, seq=None) |
|
def | GetScope (self) |
|
def | handle_asm (self) |
|
def | handle_auto (self) |
|
def | handle_bool (self) |
|
def | handle_break (self) |
|
def | handle_case (self) |
|
def | handle_catch (self) |
|
def | handle_char (self) |
|
def | handle_class (self) |
|
def | handle_const (self) |
|
def | handle_const_cast (self) |
|
def | handle_continue (self) |
|
def | handle_default (self) |
|
def | handle_delete (self) |
|
def | handle_do (self) |
|
def | handle_double (self) |
|
def | handle_dynamic_cast (self) |
|
def | handle_else (self) |
|
def | handle_enum (self) |
|
def | handle_explicit (self) |
|
def | handle_extern (self) |
|
def | handle_false (self) |
|
def | handle_float (self) |
|
def | handle_for (self) |
|
def | handle_friend (self) |
|
def | handle_goto (self) |
|
def | handle_if (self) |
|
def | handle_inline (self) |
|
def | handle_int (self) |
|
def | handle_long (self) |
|
def | handle_mutable (self) |
|
def | handle_namespace (self) |
|
def | handle_new (self) |
|
def | handle_operator (self) |
|
def | handle_private (self) |
|
def | handle_protected (self) |
|
def | handle_public (self) |
|
def | handle_register (self) |
|
def | handle_reinterpret_cast (self) |
|
def | handle_return (self) |
|
def | handle_short (self) |
|
def | handle_signed (self) |
|
def | handle_sizeof (self) |
|
def | handle_static (self) |
|
def | handle_static_cast (self) |
|
def | handle_struct (self) |
|
def | handle_switch (self) |
|
def | handle_template (self) |
|
def | handle_this (self) |
|
def | handle_throw (self) |
|
def | handle_true (self) |
|
def | handle_try (self) |
|
def | handle_typedef (self) |
|
def | handle_typeid (self) |
|
def | handle_typename (self) |
|
def | handle_union (self) |
|
def | handle_unsigned (self) |
|
def | handle_using (self) |
|
def | handle_virtual (self) |
|
def | handle_void (self) |
|
def | handle_volatile (self) |
|
def | handle_wchar_t (self) |
|
def | handle_while (self) |
|
def | HandleError (self, msg, token) |
|
|
def | _AddBackToken (self, token) |
|
def | _AddBackTokens (self, tokens) |
|
def | _CreateVariable (self, pos_token, name, type_name, type_modifiers, ref_pointer_name_seq, templated_types, value=None) |
|
def | _GenerateOne (self, token) |
|
def | _GetBases (self) |
|
def | _GetClass (self, class_type, visibility, templated_types) |
|
def | _GetMatchingChar (self, open_paren, close_paren, GetNextToken=None) |
|
def | _GetMethod (self, return_type_and_name, modifiers, templated_types, get_paren) |
|
def | _GetNestedType (self, ctor) |
|
def | _GetNextToken (self) |
|
def | _GetParameters (self) |
|
def | _GetReturnTypeAndClassName (self, token_seq) |
|
def | _GetTemplatedTypes (self) |
|
def | _GetTokensUpTo (self, expected_token_type, expected_token) |
|
def | _GetVarTokensUpTo (self, expected_token_type, expected_tokens) |
|
def | _IgnoreUpTo (self, token_type, token) |
|
def | _SkipIf0Blocks (self) |
|
Definition at line 675 of file ast.py.
def cpp.ast.AstBuilder.__init__ |
( |
|
self, |
|
|
|
token_stream, |
|
|
|
filename, |
|
|
|
in_class = '' , |
|
|
|
visibility = None , |
|
|
|
namespace_stack = [] |
|
) |
| |
def cpp.ast.AstBuilder._AddBackToken |
( |
|
self, |
|
|
|
token |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._AddBackTokens |
( |
|
self, |
|
|
|
tokens |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._CreateVariable |
( |
|
self, |
|
|
|
pos_token, |
|
|
|
name, |
|
|
|
type_name, |
|
|
|
type_modifiers, |
|
|
|
ref_pointer_name_seq, |
|
|
|
templated_types, |
|
|
|
value = None |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._GenerateOne |
( |
|
self, |
|
|
|
token |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._GetBases |
( |
|
self | ) |
|
|
private |
def cpp.ast.AstBuilder._GetClass |
( |
|
self, |
|
|
|
class_type, |
|
|
|
visibility, |
|
|
|
templated_types |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._GetMatchingChar |
( |
|
self, |
|
|
|
open_paren, |
|
|
|
close_paren, |
|
|
|
GetNextToken = None |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._GetMethod |
( |
|
self, |
|
|
|
return_type_and_name, |
|
|
|
modifiers, |
|
|
|
templated_types, |
|
|
|
get_paren |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._GetNestedType |
( |
|
self, |
|
|
|
ctor |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._GetNextToken |
( |
|
self | ) |
|
|
private |
def cpp.ast.AstBuilder._GetParameters |
( |
|
self | ) |
|
|
private |
def cpp.ast.AstBuilder._GetReturnTypeAndClassName |
( |
|
self, |
|
|
|
token_seq |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._GetTemplatedTypes |
( |
|
self | ) |
|
|
private |
def cpp.ast.AstBuilder._GetTokensUpTo |
( |
|
self, |
|
|
|
expected_token_type, |
|
|
|
expected_token |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._GetVarTokensUpTo |
( |
|
self, |
|
|
|
expected_token_type, |
|
|
|
expected_tokens |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._IgnoreUpTo |
( |
|
self, |
|
|
|
token_type, |
|
|
|
token |
|
) |
| |
|
private |
def cpp.ast.AstBuilder._SkipIf0Blocks |
( |
|
self | ) |
|
|
private |
def cpp.ast.AstBuilder.Generate |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.GetMethod |
( |
|
self, |
|
|
|
modifiers, |
|
|
|
templated_types |
|
) |
| |
def cpp.ast.AstBuilder.GetName |
( |
|
self, |
|
|
|
seq = None |
|
) |
| |
Returns ([tokens], next_token_info).
Definition at line 927 of file ast.py.
def cpp.ast.AstBuilder.GetScope |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_asm |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_auto |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_bool |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_break |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_case |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_catch |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_char |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_class |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_const |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_const_cast |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_continue |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_default |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_delete |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_do |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_double |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_dynamic_cast |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_else |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_enum |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_explicit |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_extern |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_false |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_float |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_for |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_friend |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_goto |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_if |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_inline |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_int |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_long |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_mutable |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_namespace |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_new |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_operator |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_private |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_protected |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_public |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_register |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_reinterpret_cast |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_return |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_short |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_signed |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_sizeof |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_static |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_static_cast |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_struct |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_switch |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_template |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_this |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_throw |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_true |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_try |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_typedef |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_typeid |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_typename |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_union |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_unsigned |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_using |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_virtual |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_void |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_volatile |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_wchar_t |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.handle_while |
( |
|
self | ) |
|
def cpp.ast.AstBuilder.HandleError |
( |
|
self, |
|
|
|
msg, |
|
|
|
token |
|
) |
| |
cpp.ast.AstBuilder._handling_typedef |
|
private |
cpp.ast.AstBuilder.converter |
cpp.ast.AstBuilder.current_token |
cpp.ast.AstBuilder.filename |
cpp.ast.AstBuilder.in_class |
cpp.ast.AstBuilder.in_class_name_only |
cpp.ast.AstBuilder.in_function |
cpp.ast.AstBuilder.namespace_stack |
cpp.ast.AstBuilder.token_queue |
cpp.ast.AstBuilder.tokens |
cpp.ast.AstBuilder.visibility |
The documentation for this class was generated from the following file: