Interface ISolidityVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by SolidityParser.
Namespace: GCore.Antlr.Grammers.Solidity
Assembly: Solidity.dll
Syntax
public interface ISolidityVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAssemblyAssignment(SolidityParser.AssemblyAssignmentContext)
Visit a parse tree produced by assemblyAssignment().
Declaration
Result VisitAssemblyAssignment(SolidityParser.AssemblyAssignmentContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyAssignmentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyBlock(SolidityParser.AssemblyBlockContext)
Visit a parse tree produced by assemblyBlock().
Declaration
Result VisitAssemblyBlock(SolidityParser.AssemblyBlockContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyBlockContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyCall(SolidityParser.AssemblyCallContext)
Visit a parse tree produced by assemblyCall().
Declaration
Result VisitAssemblyCall(SolidityParser.AssemblyCallContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyCallContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyCase(SolidityParser.AssemblyCaseContext)
Visit a parse tree produced by assemblyCase().
Declaration
Result VisitAssemblyCase(SolidityParser.AssemblyCaseContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyCaseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyExpression(SolidityParser.AssemblyExpressionContext)
Visit a parse tree produced by assemblyExpression().
Declaration
Result VisitAssemblyExpression(SolidityParser.AssemblyExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyFor(SolidityParser.AssemblyForContext)
Visit a parse tree produced by assemblyFor().
Declaration
Result VisitAssemblyFor(SolidityParser.AssemblyForContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyForContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyFunctionDefinition(SolidityParser.AssemblyFunctionDefinitionContext)
Visit a parse tree produced by assemblyFunctionDefinition().
Declaration
Result VisitAssemblyFunctionDefinition(SolidityParser.AssemblyFunctionDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyFunctionDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyFunctionReturns(SolidityParser.AssemblyFunctionReturnsContext)
Visit a parse tree produced by assemblyFunctionReturns().
Declaration
Result VisitAssemblyFunctionReturns(SolidityParser.AssemblyFunctionReturnsContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyFunctionReturnsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyIdentifierList(SolidityParser.AssemblyIdentifierListContext)
Visit a parse tree produced by assemblyIdentifierList().
Declaration
Result VisitAssemblyIdentifierList(SolidityParser.AssemblyIdentifierListContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyIdentifierListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyIf(SolidityParser.AssemblyIfContext)
Visit a parse tree produced by assemblyIf().
Declaration
Result VisitAssemblyIf(SolidityParser.AssemblyIfContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyIfContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyItem(SolidityParser.AssemblyItemContext)
Visit a parse tree produced by assemblyItem().
Declaration
Result VisitAssemblyItem(SolidityParser.AssemblyItemContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyItemContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyLiteral(SolidityParser.AssemblyLiteralContext)
Visit a parse tree produced by assemblyLiteral().
Declaration
Result VisitAssemblyLiteral(SolidityParser.AssemblyLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyLiteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyLocalDefinition(SolidityParser.AssemblyLocalDefinitionContext)
Visit a parse tree produced by assemblyLocalDefinition().
Declaration
Result VisitAssemblyLocalDefinition(SolidityParser.AssemblyLocalDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyLocalDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyStackAssignment(SolidityParser.AssemblyStackAssignmentContext)
Visit a parse tree produced by assemblyStackAssignment().
Declaration
Result VisitAssemblyStackAssignment(SolidityParser.AssemblyStackAssignmentContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyStackAssignmentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblySwitch(SolidityParser.AssemblySwitchContext)
Visit a parse tree produced by assemblySwitch().
Declaration
Result VisitAssemblySwitch(SolidityParser.AssemblySwitchContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblySwitchContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyType(SolidityParser.AssemblyTypeContext)
Visit a parse tree produced by assemblyType().
Declaration
Result VisitAssemblyType(SolidityParser.AssemblyTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssemblyTypedVariableList(SolidityParser.AssemblyTypedVariableListContext)
Visit a parse tree produced by assemblyTypedVariableList().
Declaration
Result VisitAssemblyTypedVariableList(SolidityParser.AssemblyTypedVariableListContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.AssemblyTypedVariableListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBlock(SolidityParser.BlockContext)
Visit a parse tree produced by block().
Declaration
Result VisitBlock(SolidityParser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.BlockContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBreakStatement(SolidityParser.BreakStatementContext)
Visit a parse tree produced by breakStatement().
Declaration
Result VisitBreakStatement(SolidityParser.BreakStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.BreakStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCatchClause(SolidityParser.CatchClauseContext)
Visit a parse tree produced by catchClause().
Declaration
Result VisitCatchClause(SolidityParser.CatchClauseContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.CatchClauseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitContinueStatement(SolidityParser.ContinueStatementContext)
Visit a parse tree produced by continueStatement().
Declaration
Result VisitContinueStatement(SolidityParser.ContinueStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ContinueStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitContractDefinition(SolidityParser.ContractDefinitionContext)
Visit a parse tree produced by contractDefinition().
Declaration
Result VisitContractDefinition(SolidityParser.ContractDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ContractDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitContractPart(SolidityParser.ContractPartContext)
Visit a parse tree produced by contractPart().
Declaration
Result VisitContractPart(SolidityParser.ContractPartContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ContractPartContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDoWhileStatement(SolidityParser.DoWhileStatementContext)
Visit a parse tree produced by doWhileStatement().
Declaration
Result VisitDoWhileStatement(SolidityParser.DoWhileStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.DoWhileStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitElementaryTypeName(SolidityParser.ElementaryTypeNameContext)
Visit a parse tree produced by elementaryTypeName().
Declaration
Result VisitElementaryTypeName(SolidityParser.ElementaryTypeNameContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ElementaryTypeNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEmitStatement(SolidityParser.EmitStatementContext)
Visit a parse tree produced by emitStatement().
Declaration
Result VisitEmitStatement(SolidityParser.EmitStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.EmitStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumDefinition(SolidityParser.EnumDefinitionContext)
Visit a parse tree produced by enumDefinition().
Declaration
Result VisitEnumDefinition(SolidityParser.EnumDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.EnumDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumValue(SolidityParser.EnumValueContext)
Visit a parse tree produced by enumValue().
Declaration
Result VisitEnumValue(SolidityParser.EnumValueContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.EnumValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEventDefinition(SolidityParser.EventDefinitionContext)
Visit a parse tree produced by eventDefinition().
Declaration
Result VisitEventDefinition(SolidityParser.EventDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.EventDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEventParameter(SolidityParser.EventParameterContext)
Visit a parse tree produced by eventParameter().
Declaration
Result VisitEventParameter(SolidityParser.EventParameterContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.EventParameterContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEventParameterList(SolidityParser.EventParameterListContext)
Visit a parse tree produced by eventParameterList().
Declaration
Result VisitEventParameterList(SolidityParser.EventParameterListContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.EventParameterListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpression(SolidityParser.ExpressionContext)
Visit a parse tree produced by expression().
Declaration
Result VisitExpression(SolidityParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpressionList(SolidityParser.ExpressionListContext)
Visit a parse tree produced by expressionList().
Declaration
Result VisitExpressionList(SolidityParser.ExpressionListContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ExpressionListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpressionStatement(SolidityParser.ExpressionStatementContext)
Visit a parse tree produced by expressionStatement().
Declaration
Result VisitExpressionStatement(SolidityParser.ExpressionStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ExpressionStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitForStatement(SolidityParser.ForStatementContext)
Visit a parse tree produced by forStatement().
Declaration
Result VisitForStatement(SolidityParser.ForStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ForStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunctionCall(SolidityParser.FunctionCallContext)
Visit a parse tree produced by functionCall().
Declaration
Result VisitFunctionCall(SolidityParser.FunctionCallContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.FunctionCallContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunctionCallArguments(SolidityParser.FunctionCallArgumentsContext)
Visit a parse tree produced by functionCallArguments().
Declaration
Result VisitFunctionCallArguments(SolidityParser.FunctionCallArgumentsContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.FunctionCallArgumentsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunctionDefinition(SolidityParser.FunctionDefinitionContext)
Visit a parse tree produced by functionDefinition().
Declaration
Result VisitFunctionDefinition(SolidityParser.FunctionDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.FunctionDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunctionDescriptor(SolidityParser.FunctionDescriptorContext)
Visit a parse tree produced by functionDescriptor().
Declaration
Result VisitFunctionDescriptor(SolidityParser.FunctionDescriptorContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.FunctionDescriptorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunctionTypeName(SolidityParser.FunctionTypeNameContext)
Visit a parse tree produced by functionTypeName().
Declaration
Result VisitFunctionTypeName(SolidityParser.FunctionTypeNameContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.FunctionTypeNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHexLiteral(SolidityParser.HexLiteralContext)
Visit a parse tree produced by hexLiteral().
Declaration
Result VisitHexLiteral(SolidityParser.HexLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.HexLiteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentifier(SolidityParser.IdentifierContext)
Visit a parse tree produced by identifier().
Declaration
Result VisitIdentifier(SolidityParser.IdentifierContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.IdentifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentifierList(SolidityParser.IdentifierListContext)
Visit a parse tree produced by identifierList().
Declaration
Result VisitIdentifierList(SolidityParser.IdentifierListContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.IdentifierListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIfStatement(SolidityParser.IfStatementContext)
Visit a parse tree produced by ifStatement().
Declaration
Result VisitIfStatement(SolidityParser.IfStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.IfStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitImportDeclaration(SolidityParser.ImportDeclarationContext)
Visit a parse tree produced by importDeclaration().
Declaration
Result VisitImportDeclaration(SolidityParser.ImportDeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ImportDeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitImportDirective(SolidityParser.ImportDirectiveContext)
Visit a parse tree produced by importDirective().
Declaration
Result VisitImportDirective(SolidityParser.ImportDirectiveContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ImportDirectiveContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInheritanceSpecifier(SolidityParser.InheritanceSpecifierContext)
Visit a parse tree produced by inheritanceSpecifier().
Declaration
Result VisitInheritanceSpecifier(SolidityParser.InheritanceSpecifierContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.InheritanceSpecifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInlineAssemblyStatement(SolidityParser.InlineAssemblyStatementContext)
Visit a parse tree produced by inlineAssemblyStatement().
Declaration
Result VisitInlineAssemblyStatement(SolidityParser.InlineAssemblyStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.InlineAssemblyStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLabelDefinition(SolidityParser.LabelDefinitionContext)
Visit a parse tree produced by labelDefinition().
Declaration
Result VisitLabelDefinition(SolidityParser.LabelDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.LabelDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMapping(SolidityParser.MappingContext)
Visit a parse tree produced by mapping().
Declaration
Result VisitMapping(SolidityParser.MappingContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.MappingContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitModifierDefinition(SolidityParser.ModifierDefinitionContext)
Visit a parse tree produced by modifierDefinition().
Declaration
Result VisitModifierDefinition(SolidityParser.ModifierDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ModifierDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitModifierInvocation(SolidityParser.ModifierInvocationContext)
Visit a parse tree produced by modifierInvocation().
Declaration
Result VisitModifierInvocation(SolidityParser.ModifierInvocationContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ModifierInvocationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitModifierList(SolidityParser.ModifierListContext)
Visit a parse tree produced by modifierList().
Declaration
Result VisitModifierList(SolidityParser.ModifierListContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ModifierListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNameValue(SolidityParser.NameValueContext)
Visit a parse tree produced by nameValue().
Declaration
Result VisitNameValue(SolidityParser.NameValueContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.NameValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNameValueList(SolidityParser.NameValueListContext)
Visit a parse tree produced by nameValueList().
Declaration
Result VisitNameValueList(SolidityParser.NameValueListContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.NameValueListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNumberLiteral(SolidityParser.NumberLiteralContext)
Visit a parse tree produced by numberLiteral().
Declaration
Result VisitNumberLiteral(SolidityParser.NumberLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.NumberLiteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOverrideSpecifier(SolidityParser.OverrideSpecifierContext)
Visit a parse tree produced by overrideSpecifier().
Declaration
Result VisitOverrideSpecifier(SolidityParser.OverrideSpecifierContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.OverrideSpecifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitParameter(SolidityParser.ParameterContext)
Visit a parse tree produced by parameter().
Declaration
Result VisitParameter(SolidityParser.ParameterContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ParameterContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitParameterList(SolidityParser.ParameterListContext)
Visit a parse tree produced by parameterList().
Declaration
Result VisitParameterList(SolidityParser.ParameterListContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ParameterListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPragmaDirective(SolidityParser.PragmaDirectiveContext)
Visit a parse tree produced by pragmaDirective().
Declaration
Result VisitPragmaDirective(SolidityParser.PragmaDirectiveContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.PragmaDirectiveContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPragmaName(SolidityParser.PragmaNameContext)
Visit a parse tree produced by pragmaName().
Declaration
Result VisitPragmaName(SolidityParser.PragmaNameContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.PragmaNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPragmaValue(SolidityParser.PragmaValueContext)
Visit a parse tree produced by pragmaValue().
Declaration
Result VisitPragmaValue(SolidityParser.PragmaValueContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.PragmaValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPrimaryExpression(SolidityParser.PrimaryExpressionContext)
Visit a parse tree produced by primaryExpression().
Declaration
Result VisitPrimaryExpression(SolidityParser.PrimaryExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.PrimaryExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitReturnParameters(SolidityParser.ReturnParametersContext)
Visit a parse tree produced by returnParameters().
Declaration
Result VisitReturnParameters(SolidityParser.ReturnParametersContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ReturnParametersContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitReturnStatement(SolidityParser.ReturnStatementContext)
Visit a parse tree produced by returnStatement().
Declaration
Result VisitReturnStatement(SolidityParser.ReturnStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ReturnStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSimpleStatement(SolidityParser.SimpleStatementContext)
Visit a parse tree produced by simpleStatement().
Declaration
Result VisitSimpleStatement(SolidityParser.SimpleStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.SimpleStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSourceUnit(SolidityParser.SourceUnitContext)
Visit a parse tree produced by sourceUnit().
Declaration
Result VisitSourceUnit(SolidityParser.SourceUnitContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.SourceUnitContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatement(SolidityParser.StatementContext)
Visit a parse tree produced by statement().
Declaration
Result VisitStatement(SolidityParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.StatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStateMutability(SolidityParser.StateMutabilityContext)
Visit a parse tree produced by stateMutability().
Declaration
Result VisitStateMutability(SolidityParser.StateMutabilityContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.StateMutabilityContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStateVariableDeclaration(SolidityParser.StateVariableDeclarationContext)
Visit a parse tree produced by stateVariableDeclaration().
Declaration
Result VisitStateVariableDeclaration(SolidityParser.StateVariableDeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.StateVariableDeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStorageLocation(SolidityParser.StorageLocationContext)
Visit a parse tree produced by storageLocation().
Declaration
Result VisitStorageLocation(SolidityParser.StorageLocationContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.StorageLocationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStringLiteral(SolidityParser.StringLiteralContext)
Visit a parse tree produced by stringLiteral().
Declaration
Result VisitStringLiteral(SolidityParser.StringLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.StringLiteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStructDefinition(SolidityParser.StructDefinitionContext)
Visit a parse tree produced by structDefinition().
Declaration
Result VisitStructDefinition(SolidityParser.StructDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.StructDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSubAssembly(SolidityParser.SubAssemblyContext)
Visit a parse tree produced by subAssembly().
Declaration
Result VisitSubAssembly(SolidityParser.SubAssemblyContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.SubAssemblyContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitThrowStatement(SolidityParser.ThrowStatementContext)
Visit a parse tree produced by throwStatement().
Declaration
Result VisitThrowStatement(SolidityParser.ThrowStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.ThrowStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTryStatement(SolidityParser.TryStatementContext)
Visit a parse tree produced by tryStatement().
Declaration
Result VisitTryStatement(SolidityParser.TryStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.TryStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTupleExpression(SolidityParser.TupleExpressionContext)
Visit a parse tree produced by tupleExpression().
Declaration
Result VisitTupleExpression(SolidityParser.TupleExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.TupleExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTypeName(SolidityParser.TypeNameContext)
Visit a parse tree produced by typeName().
Declaration
Result VisitTypeName(SolidityParser.TypeNameContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.TypeNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTypeNameExpression(SolidityParser.TypeNameExpressionContext)
Visit a parse tree produced by typeNameExpression().
Declaration
Result VisitTypeNameExpression(SolidityParser.TypeNameExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.TypeNameExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUserDefinedTypeName(SolidityParser.UserDefinedTypeNameContext)
Visit a parse tree produced by userDefinedTypeName().
Declaration
Result VisitUserDefinedTypeName(SolidityParser.UserDefinedTypeNameContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.UserDefinedTypeNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUsingForDeclaration(SolidityParser.UsingForDeclarationContext)
Visit a parse tree produced by usingForDeclaration().
Declaration
Result VisitUsingForDeclaration(SolidityParser.UsingForDeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.UsingForDeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariableDeclaration(SolidityParser.VariableDeclarationContext)
Visit a parse tree produced by variableDeclaration().
Declaration
Result VisitVariableDeclaration(SolidityParser.VariableDeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.VariableDeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariableDeclarationList(SolidityParser.VariableDeclarationListContext)
Visit a parse tree produced by variableDeclarationList().
Declaration
Result VisitVariableDeclarationList(SolidityParser.VariableDeclarationListContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.VariableDeclarationListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariableDeclarationStatement(SolidityParser.VariableDeclarationStatementContext)
Visit a parse tree produced by variableDeclarationStatement().
Declaration
Result VisitVariableDeclarationStatement(SolidityParser.VariableDeclarationStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.VariableDeclarationStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVersion(SolidityParser.VersionContext)
Visit a parse tree produced by version().
Declaration
Result VisitVersion(SolidityParser.VersionContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.VersionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVersionConstraint(SolidityParser.VersionConstraintContext)
Visit a parse tree produced by versionConstraint().
Declaration
Result VisitVersionConstraint(SolidityParser.VersionConstraintContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.VersionConstraintContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVersionOperator(SolidityParser.VersionOperatorContext)
Visit a parse tree produced by versionOperator().
Declaration
Result VisitVersionOperator(SolidityParser.VersionOperatorContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.VersionOperatorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWhileStatement(SolidityParser.WhileStatementContext)
Visit a parse tree produced by whileStatement().
Declaration
Result VisitWhileStatement(SolidityParser.WhileStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
SolidityParser.WhileStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |