class documentation

class DefinitionParser(BaseParser):

View In Hierarchy

Undocumented

Method ​_parse​_assignment​_expression Undocumented
Method ​_parse​_braced​_init​_list Undocumented
Method ​_parse​_cast​_expression Undocumented
Method ​_parse​_conditional​_expression​_tail Undocumented
Method ​_parse​_constant​_expression Undocumented
Method ​_parse​_decl​_specs Undocumented
Method ​_parse​_decl​_specs​_simple Just parse the simple ones.
Method ​_parse​_declarator Undocumented
Method ​_parse​_declarator​_name​_suffix Undocumented
Method ​_parse​_enum Undocumented
Method ​_parse​_enumerator Undocumented
Method ​_parse​_expression Undocumented
Method ​_parse​_expression​_fallback Undocumented
Method ​_parse​_initializer Undocumented
Method ​_parse​_initializer​_list Undocumented
Method ​_parse​_literal Undocumented
Method ​_parse​_logical​_or​_expression Undocumented
Method ​_parse​_macro Undocumented
Method ​_parse​_nested​_name Undocumented
Method ​_parse​_parameters Undocumented
Method ​_parse​_paren​_expression Undocumented
Method ​_parse​_paren​_expression​_list Undocumented
Method ​_parse​_postfix​_expression Undocumented
Method ​_parse​_primary​_expression Undocumented
Method ​_parse​_simple​_type​_specifier Undocumented
Method ​_parse​_simple​_type​_specifiers Undocumented
Method ​_parse​_string Undocumented
Method ​_parse​_struct Undocumented
Method ​_parse​_trailing​_type​_spec Undocumented
Method ​_parse​_type named=False|'single'|True: 'single' is e.g., for function objects which doesn't need to name the arguments, but otherwise is a single name
Method ​_parse​_type​_with​_init Undocumented
Method ​_parse​_unary​_expression Undocumented
Method ​_parse​_union Undocumented
Method parse​_declaration Undocumented
Method parse​_expression Undocumented
Method parse​_namespace​_object Undocumented
Method parse​_pre​_v3​_type​_definition Undocumented
Method parse​_xref​_object Undocumented
Instance Variable pos Undocumented
Property id​_attributes Undocumented
Property language Undocumented
Property paren​_attributes Undocumented

Inherited from BaseParser:

Method __init__ Undocumented
Method ​_make​_multi​_error Undocumented
Method ​_parse​_attribute Undocumented
Method ​_parse​_balanced​_token​_seq Undocumented
Method assert​_end Undocumented
Method fail Undocumented
Method match Undocumented
Method read​_rest Undocumented
Method skip​_string Undocumented
Method skip​_string​_and​_ws Undocumented
Method skip​_word Undocumented
Method skip​_word​_and​_ws Undocumented
Method skip​_ws Undocumented
Method status Undocumented
Method warn Undocumented
Instance Variable ​_previous​_state Undocumented
Instance Variable allow​Fallback​Expression​Parsing Undocumented
Instance Variable config Undocumented
Instance Variable definition Undocumented
Instance Variable end Undocumented
Instance Variable last​_match Undocumented
Instance Variable location Undocumented
Instance Variable other​Errors Undocumented
Property current​_char Undocumented
Property eof Undocumented
Property matched​_text Undocumented
def _parse_assignment_expression(self):

Undocumented

Returns
ASTExpressionUndocumented
def _parse_braced_init_list(self):

Undocumented

Returns
ASTBracedInitListUndocumented
def _parse_cast_expression(self):

Undocumented

Returns
ASTExpressionUndocumented
def _parse_conditional_expression_tail(self, orExprHead):

Undocumented

Parameters
or​Expr​Head:AnyUndocumented
Returns
ASTExpressionUndocumented
def _parse_constant_expression(self):

Undocumented

Returns
ASTExpressionUndocumented
def _parse_decl_specs(self, outer, typed=True):

Undocumented

Parameters
outer:strUndocumented
typed:boolUndocumented
Returns
ASTDeclSpecsUndocumented
def _parse_decl_specs_simple(self, outer, typed):
Just parse the simple ones.
Parameters
outer:strUndocumented
typed:boolUndocumented
Returns
ASTDeclSpecsSimpleUndocumented
def _parse_declarator(self, named, paramMode, typed=True):

Undocumented

Parameters
named:Union[bool, str]Undocumented
param​Mode:strUndocumented
typed:boolUndocumented
Returns
ASTDeclaratorUndocumented
def _parse_declarator_name_suffix(self, named, paramMode, typed):

Undocumented

Parameters
named:Union[bool, str]Undocumented
param​Mode:strUndocumented
typed:boolUndocumented
Returns
ASTDeclaratorUndocumented
def _parse_enum(self):

Undocumented

Returns
ASTEnumUndocumented
def _parse_enumerator(self):

Undocumented

Returns
ASTEnumeratorUndocumented
def _parse_expression(self):

Undocumented

Returns
ASTExpressionUndocumented
def _parse_expression_fallback(self, end, parser, allow=True):

Undocumented

Parameters
end:List[str]Undocumented
parser:Callable[[], ASTExpression]Undocumented
allow:boolUndocumented
Returns
ASTExpressionUndocumented
def _parse_initializer(self, outer=None, allowFallback=True):

Undocumented

Parameters
outer:strUndocumented
allow​Fallback:boolUndocumented
Returns
ASTInitializerUndocumented
def _parse_initializer_list(self, name, open, close):

Undocumented

Parameters
name:strUndocumented
open:strUndocumented
close:strUndocumented
Returns
Tuple[List[ASTExpression], bool]Undocumented
def _parse_literal(self):

Undocumented

Returns
ASTLiteralUndocumented
def _parse_logical_or_expression(self):

Undocumented

Returns
ASTExpressionUndocumented
def _parse_macro(self):

Undocumented

Returns
ASTMacroUndocumented
def _parse_nested_name(self):

Undocumented

Returns
ASTNestedNameUndocumented
def _parse_parameters(self, paramMode):

Undocumented

Parameters
param​Mode:strUndocumented
Returns
ASTParametersUndocumented
def _parse_paren_expression(self):

Undocumented

Returns
ASTExpressionUndocumented
def _parse_paren_expression_list(self):
def _parse_postfix_expression(self):

Undocumented

Returns
ASTPostfixExprUndocumented
def _parse_primary_expression(self):

Undocumented

Returns
ASTExpressionUndocumented
def _parse_simple_type_specifier(self):

Undocumented

Returns
Optional[str]Undocumented
def _parse_simple_type_specifiers(self):

Undocumented

Returns
ASTTrailingTypeSpecFundamentalUndocumented
def _parse_string(self):

Undocumented

Returns
strUndocumented
def _parse_struct(self):

Undocumented

Returns
ASTStructUndocumented
def _parse_trailing_type_spec(self):

Undocumented

Returns
ASTTrailingTypeSpecUndocumented
def _parse_type(self, named, outer=None):
named=False|'single'|True: 'single' is e.g., for function objects which doesn't need to name the arguments, but otherwise is a single name
Parameters
named:Union[bool, str]Undocumented
outer:strUndocumented
Returns
ASTTypeUndocumented
def _parse_type_with_init(self, named, outer):

Undocumented

Parameters
named:Union[bool, str]Undocumented
outer:strUndocumented
Returns
ASTTypeWithInitUndocumented
def _parse_unary_expression(self):

Undocumented

Returns
ASTExpressionUndocumented
def _parse_union(self):

Undocumented

Returns
ASTUnionUndocumented
def parse_declaration(self, objectType, directiveType):

Undocumented

Parameters
object​Type:strUndocumented
directive​Type:strUndocumented
Returns
ASTDeclarationUndocumented
def parse_expression(self):

Undocumented

Returns
Union[ASTExpression, ASTType]Undocumented
def parse_namespace_object(self):

Undocumented

Returns
ASTNestedNameUndocumented
def parse_pre_v3_type_definition(self):

Undocumented

Returns
ASTDeclarationUndocumented
def parse_xref_object(self):

Undocumented

Returns
ASTNestedNameUndocumented
pos =

Undocumented

@property
id_attributes =
@property
language: str =
@property
paren_attributes =