solidity_parser.ast.parsers.parsers060

Classes

Functions

custom_parsers()

_block(parser, block)

_if(parser, stmt)

_try(parser, stmt)

_while(parser, stmt)

_for(parser, stmt)

_inline_assembly_statement(parser, stmt)

_dowhile(parser, stmt)

_continue(parser, _)

_break(parser, _)

_return(parser, stmt)

_throw(parser, _)

_location(parser, loc)

_var(parser, stmt)

_expr_stmt(parser, stmt)

_emit(parser, stmt)

_var_decl_stmt(parser, stmt)

_identifier(parser, ident)

_array_identifier(parser, ident, array_dims)

_name_value(parser, name_value)

_function_call_args(parser, args)

_function_call(parser, expr)

_function_call_expr(parser, expr)

_meta_type(parser, meta_type)

_payable_expr(parser, expr)

_unary_pre_op(parser, expr)

_delete_expr(parser, expr)

_unary_logic_op(parser, expr)

_unary_post_op(parser, expr)

_type_name(parser, type_name)

_mapping_type(parser, mapping_type)

params_to_types(params)

_function_type_name(parser, function_type)

_new_obj(parser, expr)

_array_slice(parser, expr)

_array_load(parser, expr)

_binary_expr(parser, expr)

_ternary_expr(parser, expr)

_primary(parser, expr)

_number_literal(parser, literal)

_hex_literal(parser, literal)

_string_literal(parser, literal)

_tuple_expr(parser, expr)

_member_load(parser, expr)

_parameter(parser, stmt)

_catch_clause(parser, clause)

_elementary_type_name(parser, name)

_user_defined_type(parser, name)

_modifier_invocation(parser, modifier)

_state_mutability(parser, modifier)

_visibility_modifier(parser, modifier)

_pragma_directive(parser, pragma_directive)

_version(parser, version)

_version_constraint(parser, version_constraint)

_module_import(parser, module_import)

_alias_import(parser, alias_import)

_symbol_import(parser, symbol_import)

_import_declaration(parser, import_declaration)

var_to_struct_member(var)

_struct_definition(parser, struct_definition)

_enum_definition(parser, enum_definition)

_enum_value(parser, enum_value)

_contract_definition(parser, contract_definition)

_inheritance_specifier(parser, inheritance_specifier)

_state_variable_declaration(parser, ...)

_override_specifier(parser, override_specific)

_using_for_declaration(parser, using_for_declaration)

_modifier_definition(parser, modifier_definition)

_function_definition(parser, function_definition)

_event_definition(parser, event_definition)

_event_parameter(parser, event_parameter)

Module Contents

class solidity_parser.ast.parsers.parsers060.Parser060(token_stream)

Bases: solidity_parser.ast.parsers.common.ParserBase

solidity_parser.ast.parsers.parsers060.custom_parsers()
solidity_parser.ast.parsers.parsers060._block(parser, block: solidity_parser.grammar.v060.SolidityParser.SolidityParser.BlockContext)
solidity_parser.ast.parsers.parsers060._if(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.IfStatementContext)
solidity_parser.ast.parsers.parsers060._try(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.TryStatementContext)
solidity_parser.ast.parsers.parsers060._while(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.WhileStatementContext)
solidity_parser.ast.parsers.parsers060._for(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ForStatementContext)
solidity_parser.ast.parsers.parsers060._inline_assembly_statement(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.InlineAssemblyStatementContext)
solidity_parser.ast.parsers.parsers060._dowhile(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.DoWhileStatementContext)
solidity_parser.ast.parsers.parsers060._continue(parser, _: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ContinueStatementContext)
solidity_parser.ast.parsers.parsers060._break(parser, _: solidity_parser.grammar.v060.SolidityParser.SolidityParser.BreakStatementContext)
solidity_parser.ast.parsers.parsers060._return(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ReturnStatementContext)
solidity_parser.ast.parsers.parsers060._throw(parser, _: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ThrowStatementContext)
solidity_parser.ast.parsers.parsers060._location(parser, loc: solidity_parser.grammar.v060.SolidityParser.SolidityParser.StorageLocationContext)
solidity_parser.ast.parsers.parsers060._var(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.VariableDeclarationContext)
solidity_parser.ast.parsers.parsers060._expr_stmt(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ExpressionStatementContext)
solidity_parser.ast.parsers.parsers060._emit(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.EmitStatementContext)
solidity_parser.ast.parsers.parsers060._var_decl_stmt(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.VariableDeclarationStatementContext)
solidity_parser.ast.parsers.parsers060._identifier(parser, ident: solidity_parser.grammar.v060.SolidityParser.SolidityParser.IdentifierContext)
solidity_parser.ast.parsers.parsers060._array_identifier(parser, ident: solidity_parser.ast.solnodes.Ident, array_dims: int)
solidity_parser.ast.parsers.parsers060._name_value(parser, name_value: solidity_parser.grammar.v060.SolidityParser.SolidityParser.NameValueContext)
solidity_parser.ast.parsers.parsers060._function_call_args(parser, args: solidity_parser.grammar.v060.SolidityParser.SolidityParser.FunctionCallArgumentsContext)
solidity_parser.ast.parsers.parsers060._function_call(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.FunctionCallContext)
solidity_parser.ast.parsers.parsers060._function_call_expr(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.FuncCallExprContext)
solidity_parser.ast.parsers.parsers060._meta_type(parser, meta_type: solidity_parser.grammar.v060.SolidityParser.SolidityParser.MetaTypeContext)
solidity_parser.ast.parsers.parsers060._payable_expr(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.PayableExprContext)
solidity_parser.ast.parsers.parsers060._unary_pre_op(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.UnaryPreOpContext)
solidity_parser.ast.parsers.parsers060._delete_expr(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.DeleteExprContext)
solidity_parser.ast.parsers.parsers060._unary_logic_op(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.LogicOpContext)
solidity_parser.ast.parsers.parsers060._unary_post_op(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.UnaryPostOpContext)
solidity_parser.ast.parsers.parsers060._type_name(parser, type_name: solidity_parser.grammar.v060.SolidityParser.SolidityParser.TypeNameContext)
solidity_parser.ast.parsers.parsers060._mapping_type(parser, mapping_type: solidity_parser.grammar.v060.SolidityParser.SolidityParser.MappingContext)
solidity_parser.ast.parsers.parsers060.params_to_types(params: solidity_parser.ast.solnodes.Parameter)
solidity_parser.ast.parsers.parsers060._function_type_name(parser, function_type: solidity_parser.grammar.v060.SolidityParser.SolidityParser.FunctionTypeNameContext)
solidity_parser.ast.parsers.parsers060._new_obj(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.NewTypeContext)
solidity_parser.ast.parsers.parsers060._array_slice(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ArraySliceContext)
solidity_parser.ast.parsers.parsers060._array_load(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ArrayLoadContext)
solidity_parser.ast.parsers.parsers060._binary_expr(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.BinaryExprContext)
solidity_parser.ast.parsers.parsers060._ternary_expr(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.TernaryExprContext)
solidity_parser.ast.parsers.parsers060._primary(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.PrimaryExpressionContext)
solidity_parser.ast.parsers.parsers060._number_literal(parser, literal: solidity_parser.grammar.v060.SolidityParser.SolidityParser.NumberLiteralContext)
solidity_parser.ast.parsers.parsers060._hex_literal(parser, literal: solidity_parser.grammar.v060.SolidityParser.SolidityParser.HexLiteralContext)
solidity_parser.ast.parsers.parsers060._string_literal(parser, literal: solidity_parser.grammar.v060.SolidityParser.SolidityParser.StringLiteralContext)
solidity_parser.ast.parsers.parsers060._tuple_expr(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.TupleExpressionContext)
solidity_parser.ast.parsers.parsers060._member_load(parser, expr: solidity_parser.grammar.v060.SolidityParser.SolidityParser.MemberLoadContext)
solidity_parser.ast.parsers.parsers060._parameter(parser, stmt: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ParameterContext)
solidity_parser.ast.parsers.parsers060._catch_clause(parser, clause: solidity_parser.grammar.v060.SolidityParser.SolidityParser.CatchClauseContext)
solidity_parser.ast.parsers.parsers060._elementary_type_name(parser, name: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ElementaryTypeNameContext)
solidity_parser.ast.parsers.parsers060._user_defined_type(parser, name: solidity_parser.grammar.v060.SolidityParser.SolidityParser.UserDefinedTypeNameContext)
solidity_parser.ast.parsers.parsers060._modifier_invocation(parser, modifier: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ModifierInvocationContext)
solidity_parser.ast.parsers.parsers060._state_mutability(parser, modifier: solidity_parser.grammar.v060.SolidityParser.SolidityParser.StateMutabilityContext)
solidity_parser.ast.parsers.parsers060._visibility_modifier(parser, modifier: solidity_parser.grammar.v060.SolidityParser.SolidityParser.VisibilityModifierContext)
solidity_parser.ast.parsers.parsers060._pragma_directive(parser, pragma_directive: solidity_parser.grammar.v060.SolidityParser.SolidityParser.PragmaDirectiveContext)
solidity_parser.ast.parsers.parsers060._version(parser, version: solidity_parser.grammar.v060.SolidityParser.SolidityParser.VersionContext)
solidity_parser.ast.parsers.parsers060._version_constraint(parser, version_constraint: solidity_parser.grammar.v060.SolidityParser.SolidityParser.VersionConstraintContext)
solidity_parser.ast.parsers.parsers060._module_import(parser, module_import: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ModuleImportContext)
solidity_parser.ast.parsers.parsers060._alias_import(parser, alias_import: solidity_parser.grammar.v060.SolidityParser.SolidityParser.AliasImportContext)
solidity_parser.ast.parsers.parsers060._symbol_import(parser, symbol_import: solidity_parser.grammar.v060.SolidityParser.SolidityParser.SymbolImportContext)
solidity_parser.ast.parsers.parsers060._import_declaration(parser, import_declaration: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ImportDeclarationContext)
solidity_parser.ast.parsers.parsers060.var_to_struct_member(var: solidity_parser.ast.solnodes.Var)
solidity_parser.ast.parsers.parsers060._struct_definition(parser, struct_definition: solidity_parser.grammar.v060.SolidityParser.SolidityParser.StructDefinitionContext)
solidity_parser.ast.parsers.parsers060._enum_definition(parser, enum_definition: solidity_parser.grammar.v060.SolidityParser.SolidityParser.EnumDefinitionContext)
solidity_parser.ast.parsers.parsers060._enum_value(parser, enum_value: solidity_parser.grammar.v060.SolidityParser.SolidityParser.EnumValueContext)
solidity_parser.ast.parsers.parsers060._contract_definition(parser, contract_definition: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ContractDefinitionContext)
solidity_parser.ast.parsers.parsers060._inheritance_specifier(parser, inheritance_specifier: solidity_parser.grammar.v060.SolidityParser.SolidityParser.InheritanceSpecifierContext)
solidity_parser.ast.parsers.parsers060._state_variable_declaration(parser, state_variable_declaration: solidity_parser.grammar.v060.SolidityParser.SolidityParser.StateVariableDeclarationContext)
solidity_parser.ast.parsers.parsers060._override_specifier(parser, override_specific: solidity_parser.grammar.v060.SolidityParser.SolidityParser.OverrideSpecifierContext)
solidity_parser.ast.parsers.parsers060._using_for_declaration(parser, using_for_declaration: solidity_parser.grammar.v060.SolidityParser.SolidityParser.UsingForDeclarationContext)
solidity_parser.ast.parsers.parsers060._modifier_definition(parser, modifier_definition: solidity_parser.grammar.v060.SolidityParser.SolidityParser.ModifierDefinitionContext)
solidity_parser.ast.parsers.parsers060._function_definition(parser, function_definition: solidity_parser.grammar.v060.SolidityParser.SolidityParser.FunctionDefinitionContext)
solidity_parser.ast.parsers.parsers060._event_definition(parser, event_definition: solidity_parser.grammar.v060.SolidityParser.SolidityParser.EventDefinitionContext)
solidity_parser.ast.parsers.parsers060._event_parameter(parser, event_parameter: solidity_parser.grammar.v060.SolidityParser.SolidityParser.EventParameterContext)