Show / Hide Table of Contents

Class SolidityBaseListener

This class provides an empty implementation of ISolidityListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
SolidityBaseListener
Implements
ISolidityListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Solidity
Assembly: Solidity.dll
Syntax
public class SolidityBaseListener : object, ISolidityListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAssemblyAssignment(SolidityParser.AssemblyAssignmentContext)

Enter a parse tree produced by assemblyAssignment().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyAssignment(SolidityParser.AssemblyAssignmentContext context)
Parameters
Type Name Description
SolidityParser.AssemblyAssignmentContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyBlock(SolidityParser.AssemblyBlockContext)

Enter a parse tree produced by assemblyBlock().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyBlock(SolidityParser.AssemblyBlockContext context)
Parameters
Type Name Description
SolidityParser.AssemblyBlockContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyCall(SolidityParser.AssemblyCallContext)

Enter a parse tree produced by assemblyCall().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyCall(SolidityParser.AssemblyCallContext context)
Parameters
Type Name Description
SolidityParser.AssemblyCallContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyCase(SolidityParser.AssemblyCaseContext)

Enter a parse tree produced by assemblyCase().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyCase(SolidityParser.AssemblyCaseContext context)
Parameters
Type Name Description
SolidityParser.AssemblyCaseContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyExpression(SolidityParser.AssemblyExpressionContext)

Enter a parse tree produced by assemblyExpression().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyExpression(SolidityParser.AssemblyExpressionContext context)
Parameters
Type Name Description
SolidityParser.AssemblyExpressionContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyFor(SolidityParser.AssemblyForContext)

Enter a parse tree produced by assemblyFor().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyFor(SolidityParser.AssemblyForContext context)
Parameters
Type Name Description
SolidityParser.AssemblyForContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyFunctionDefinition(SolidityParser.AssemblyFunctionDefinitionContext)

Enter a parse tree produced by assemblyFunctionDefinition().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyFunctionDefinition(SolidityParser.AssemblyFunctionDefinitionContext context)
Parameters
Type Name Description
SolidityParser.AssemblyFunctionDefinitionContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyFunctionReturns(SolidityParser.AssemblyFunctionReturnsContext)

Enter a parse tree produced by assemblyFunctionReturns().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyFunctionReturns(SolidityParser.AssemblyFunctionReturnsContext context)
Parameters
Type Name Description
SolidityParser.AssemblyFunctionReturnsContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyIdentifierList(SolidityParser.AssemblyIdentifierListContext)

Enter a parse tree produced by assemblyIdentifierList().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyIdentifierList(SolidityParser.AssemblyIdentifierListContext context)
Parameters
Type Name Description
SolidityParser.AssemblyIdentifierListContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyIf(SolidityParser.AssemblyIfContext)

Enter a parse tree produced by assemblyIf().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyIf(SolidityParser.AssemblyIfContext context)
Parameters
Type Name Description
SolidityParser.AssemblyIfContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyItem(SolidityParser.AssemblyItemContext)

Enter a parse tree produced by assemblyItem().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyItem(SolidityParser.AssemblyItemContext context)
Parameters
Type Name Description
SolidityParser.AssemblyItemContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyLiteral(SolidityParser.AssemblyLiteralContext)

Enter a parse tree produced by assemblyLiteral().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyLiteral(SolidityParser.AssemblyLiteralContext context)
Parameters
Type Name Description
SolidityParser.AssemblyLiteralContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyLocalDefinition(SolidityParser.AssemblyLocalDefinitionContext)

Enter a parse tree produced by assemblyLocalDefinition().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyLocalDefinition(SolidityParser.AssemblyLocalDefinitionContext context)
Parameters
Type Name Description
SolidityParser.AssemblyLocalDefinitionContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyStackAssignment(SolidityParser.AssemblyStackAssignmentContext)

Enter a parse tree produced by assemblyStackAssignment().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyStackAssignment(SolidityParser.AssemblyStackAssignmentContext context)
Parameters
Type Name Description
SolidityParser.AssemblyStackAssignmentContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblySwitch(SolidityParser.AssemblySwitchContext)

Enter a parse tree produced by assemblySwitch().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblySwitch(SolidityParser.AssemblySwitchContext context)
Parameters
Type Name Description
SolidityParser.AssemblySwitchContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyType(SolidityParser.AssemblyTypeContext)

Enter a parse tree produced by assemblyType().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyType(SolidityParser.AssemblyTypeContext context)
Parameters
Type Name Description
SolidityParser.AssemblyTypeContext context

The parse tree.

| Improve this Doc View Source

EnterAssemblyTypedVariableList(SolidityParser.AssemblyTypedVariableListContext)

Enter a parse tree produced by assemblyTypedVariableList().

The default implementation does nothing.

Declaration
public virtual void EnterAssemblyTypedVariableList(SolidityParser.AssemblyTypedVariableListContext context)
Parameters
Type Name Description
SolidityParser.AssemblyTypedVariableListContext context

The parse tree.

| Improve this Doc View Source

EnterBlock(SolidityParser.BlockContext)

Enter a parse tree produced by block().

The default implementation does nothing.

Declaration
public virtual void EnterBlock(SolidityParser.BlockContext context)
Parameters
Type Name Description
SolidityParser.BlockContext context

The parse tree.

| Improve this Doc View Source

EnterBreakStatement(SolidityParser.BreakStatementContext)

Enter a parse tree produced by breakStatement().

The default implementation does nothing.

Declaration
public virtual void EnterBreakStatement(SolidityParser.BreakStatementContext context)
Parameters
Type Name Description
SolidityParser.BreakStatementContext context

The parse tree.

| Improve this Doc View Source

EnterCatchClause(SolidityParser.CatchClauseContext)

Enter a parse tree produced by catchClause().

The default implementation does nothing.

Declaration
public virtual void EnterCatchClause(SolidityParser.CatchClauseContext context)
Parameters
Type Name Description
SolidityParser.CatchClauseContext context

The parse tree.

| Improve this Doc View Source

EnterContinueStatement(SolidityParser.ContinueStatementContext)

Enter a parse tree produced by continueStatement().

The default implementation does nothing.

Declaration
public virtual void EnterContinueStatement(SolidityParser.ContinueStatementContext context)
Parameters
Type Name Description
SolidityParser.ContinueStatementContext context

The parse tree.

| Improve this Doc View Source

EnterContractDefinition(SolidityParser.ContractDefinitionContext)

Enter a parse tree produced by contractDefinition().

The default implementation does nothing.

Declaration
public virtual void EnterContractDefinition(SolidityParser.ContractDefinitionContext context)
Parameters
Type Name Description
SolidityParser.ContractDefinitionContext context

The parse tree.

| Improve this Doc View Source

EnterContractPart(SolidityParser.ContractPartContext)

Enter a parse tree produced by contractPart().

The default implementation does nothing.

Declaration
public virtual void EnterContractPart(SolidityParser.ContractPartContext context)
Parameters
Type Name Description
SolidityParser.ContractPartContext context

The parse tree.

| Improve this Doc View Source

EnterDoWhileStatement(SolidityParser.DoWhileStatementContext)

Enter a parse tree produced by doWhileStatement().

The default implementation does nothing.

Declaration
public virtual void EnterDoWhileStatement(SolidityParser.DoWhileStatementContext context)
Parameters
Type Name Description
SolidityParser.DoWhileStatementContext context

The parse tree.

| Improve this Doc View Source

EnterElementaryTypeName(SolidityParser.ElementaryTypeNameContext)

Enter a parse tree produced by elementaryTypeName().

The default implementation does nothing.

Declaration
public virtual void EnterElementaryTypeName(SolidityParser.ElementaryTypeNameContext context)
Parameters
Type Name Description
SolidityParser.ElementaryTypeNameContext context

The parse tree.

| Improve this Doc View Source

EnterEmitStatement(SolidityParser.EmitStatementContext)

Enter a parse tree produced by emitStatement().

The default implementation does nothing.

Declaration
public virtual void EnterEmitStatement(SolidityParser.EmitStatementContext context)
Parameters
Type Name Description
SolidityParser.EmitStatementContext context

The parse tree.

| Improve this Doc View Source

EnterEnumDefinition(SolidityParser.EnumDefinitionContext)

Enter a parse tree produced by enumDefinition().

The default implementation does nothing.

Declaration
public virtual void EnterEnumDefinition(SolidityParser.EnumDefinitionContext context)
Parameters
Type Name Description
SolidityParser.EnumDefinitionContext context

The parse tree.

| Improve this Doc View Source

EnterEnumValue(SolidityParser.EnumValueContext)

Enter a parse tree produced by enumValue().

The default implementation does nothing.

Declaration
public virtual void EnterEnumValue(SolidityParser.EnumValueContext context)
Parameters
Type Name Description
SolidityParser.EnumValueContext context

The parse tree.

| Improve this Doc View Source

EnterEventDefinition(SolidityParser.EventDefinitionContext)

Enter a parse tree produced by eventDefinition().

The default implementation does nothing.

Declaration
public virtual void EnterEventDefinition(SolidityParser.EventDefinitionContext context)
Parameters
Type Name Description
SolidityParser.EventDefinitionContext context

The parse tree.

| Improve this Doc View Source

EnterEventParameter(SolidityParser.EventParameterContext)

Enter a parse tree produced by eventParameter().

The default implementation does nothing.

Declaration
public virtual void EnterEventParameter(SolidityParser.EventParameterContext context)
Parameters
Type Name Description
SolidityParser.EventParameterContext context

The parse tree.

| Improve this Doc View Source

EnterEventParameterList(SolidityParser.EventParameterListContext)

Enter a parse tree produced by eventParameterList().

The default implementation does nothing.

Declaration
public virtual void EnterEventParameterList(SolidityParser.EventParameterListContext context)
Parameters
Type Name Description
SolidityParser.EventParameterListContext context

The parse tree.

| Improve this Doc View Source

EnterEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

EnterExpression(SolidityParser.ExpressionContext)

Enter a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void EnterExpression(SolidityParser.ExpressionContext context)
Parameters
Type Name Description
SolidityParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

EnterExpressionList(SolidityParser.ExpressionListContext)

Enter a parse tree produced by expressionList().

The default implementation does nothing.

Declaration
public virtual void EnterExpressionList(SolidityParser.ExpressionListContext context)
Parameters
Type Name Description
SolidityParser.ExpressionListContext context

The parse tree.

| Improve this Doc View Source

EnterExpressionStatement(SolidityParser.ExpressionStatementContext)

Enter a parse tree produced by expressionStatement().

The default implementation does nothing.

Declaration
public virtual void EnterExpressionStatement(SolidityParser.ExpressionStatementContext context)
Parameters
Type Name Description
SolidityParser.ExpressionStatementContext context

The parse tree.

| Improve this Doc View Source

EnterForStatement(SolidityParser.ForStatementContext)

Enter a parse tree produced by forStatement().

The default implementation does nothing.

Declaration
public virtual void EnterForStatement(SolidityParser.ForStatementContext context)
Parameters
Type Name Description
SolidityParser.ForStatementContext context

The parse tree.

| Improve this Doc View Source

EnterFunctionCall(SolidityParser.FunctionCallContext)

Enter a parse tree produced by functionCall().

The default implementation does nothing.

Declaration
public virtual void EnterFunctionCall(SolidityParser.FunctionCallContext context)
Parameters
Type Name Description
SolidityParser.FunctionCallContext context

The parse tree.

| Improve this Doc View Source

EnterFunctionCallArguments(SolidityParser.FunctionCallArgumentsContext)

Enter a parse tree produced by functionCallArguments().

The default implementation does nothing.

Declaration
public virtual void EnterFunctionCallArguments(SolidityParser.FunctionCallArgumentsContext context)
Parameters
Type Name Description
SolidityParser.FunctionCallArgumentsContext context

The parse tree.

| Improve this Doc View Source

EnterFunctionDefinition(SolidityParser.FunctionDefinitionContext)

Enter a parse tree produced by functionDefinition().

The default implementation does nothing.

Declaration
public virtual void EnterFunctionDefinition(SolidityParser.FunctionDefinitionContext context)
Parameters
Type Name Description
SolidityParser.FunctionDefinitionContext context

The parse tree.

| Improve this Doc View Source

EnterFunctionDescriptor(SolidityParser.FunctionDescriptorContext)

Enter a parse tree produced by functionDescriptor().

The default implementation does nothing.

Declaration
public virtual void EnterFunctionDescriptor(SolidityParser.FunctionDescriptorContext context)
Parameters
Type Name Description
SolidityParser.FunctionDescriptorContext context

The parse tree.

| Improve this Doc View Source

EnterFunctionTypeName(SolidityParser.FunctionTypeNameContext)

Enter a parse tree produced by functionTypeName().

The default implementation does nothing.

Declaration
public virtual void EnterFunctionTypeName(SolidityParser.FunctionTypeNameContext context)
Parameters
Type Name Description
SolidityParser.FunctionTypeNameContext context

The parse tree.

| Improve this Doc View Source

EnterHexLiteral(SolidityParser.HexLiteralContext)

Enter a parse tree produced by hexLiteral().

The default implementation does nothing.

Declaration
public virtual void EnterHexLiteral(SolidityParser.HexLiteralContext context)
Parameters
Type Name Description
SolidityParser.HexLiteralContext context

The parse tree.

| Improve this Doc View Source

EnterIdentifier(SolidityParser.IdentifierContext)

Enter a parse tree produced by identifier().

The default implementation does nothing.

Declaration
public virtual void EnterIdentifier(SolidityParser.IdentifierContext context)
Parameters
Type Name Description
SolidityParser.IdentifierContext context

The parse tree.

| Improve this Doc View Source

EnterIdentifierList(SolidityParser.IdentifierListContext)

Enter a parse tree produced by identifierList().

The default implementation does nothing.

Declaration
public virtual void EnterIdentifierList(SolidityParser.IdentifierListContext context)
Parameters
Type Name Description
SolidityParser.IdentifierListContext context

The parse tree.

| Improve this Doc View Source

EnterIfStatement(SolidityParser.IfStatementContext)

Enter a parse tree produced by ifStatement().

The default implementation does nothing.

Declaration
public virtual void EnterIfStatement(SolidityParser.IfStatementContext context)
Parameters
Type Name Description
SolidityParser.IfStatementContext context

The parse tree.

| Improve this Doc View Source

EnterImportDeclaration(SolidityParser.ImportDeclarationContext)

Enter a parse tree produced by importDeclaration().

The default implementation does nothing.

Declaration
public virtual void EnterImportDeclaration(SolidityParser.ImportDeclarationContext context)
Parameters
Type Name Description
SolidityParser.ImportDeclarationContext context

The parse tree.

| Improve this Doc View Source

EnterImportDirective(SolidityParser.ImportDirectiveContext)

Enter a parse tree produced by importDirective().

The default implementation does nothing.

Declaration
public virtual void EnterImportDirective(SolidityParser.ImportDirectiveContext context)
Parameters
Type Name Description
SolidityParser.ImportDirectiveContext context

The parse tree.

| Improve this Doc View Source

EnterInheritanceSpecifier(SolidityParser.InheritanceSpecifierContext)

Enter a parse tree produced by inheritanceSpecifier().

The default implementation does nothing.

Declaration
public virtual void EnterInheritanceSpecifier(SolidityParser.InheritanceSpecifierContext context)
Parameters
Type Name Description
SolidityParser.InheritanceSpecifierContext context

The parse tree.

| Improve this Doc View Source

EnterInlineAssemblyStatement(SolidityParser.InlineAssemblyStatementContext)

Enter a parse tree produced by inlineAssemblyStatement().

The default implementation does nothing.

Declaration
public virtual void EnterInlineAssemblyStatement(SolidityParser.InlineAssemblyStatementContext context)
Parameters
Type Name Description
SolidityParser.InlineAssemblyStatementContext context

The parse tree.

| Improve this Doc View Source

EnterLabelDefinition(SolidityParser.LabelDefinitionContext)

Enter a parse tree produced by labelDefinition().

The default implementation does nothing.

Declaration
public virtual void EnterLabelDefinition(SolidityParser.LabelDefinitionContext context)
Parameters
Type Name Description
SolidityParser.LabelDefinitionContext context

The parse tree.

| Improve this Doc View Source

EnterMapping(SolidityParser.MappingContext)

Enter a parse tree produced by mapping().

The default implementation does nothing.

Declaration
public virtual void EnterMapping(SolidityParser.MappingContext context)
Parameters
Type Name Description
SolidityParser.MappingContext context

The parse tree.

| Improve this Doc View Source

EnterModifierDefinition(SolidityParser.ModifierDefinitionContext)

Enter a parse tree produced by modifierDefinition().

The default implementation does nothing.

Declaration
public virtual void EnterModifierDefinition(SolidityParser.ModifierDefinitionContext context)
Parameters
Type Name Description
SolidityParser.ModifierDefinitionContext context

The parse tree.

| Improve this Doc View Source

EnterModifierInvocation(SolidityParser.ModifierInvocationContext)

Enter a parse tree produced by modifierInvocation().

The default implementation does nothing.

Declaration
public virtual void EnterModifierInvocation(SolidityParser.ModifierInvocationContext context)
Parameters
Type Name Description
SolidityParser.ModifierInvocationContext context

The parse tree.

| Improve this Doc View Source

EnterModifierList(SolidityParser.ModifierListContext)

Enter a parse tree produced by modifierList().

The default implementation does nothing.

Declaration
public virtual void EnterModifierList(SolidityParser.ModifierListContext context)
Parameters
Type Name Description
SolidityParser.ModifierListContext context

The parse tree.

| Improve this Doc View Source

EnterNameValue(SolidityParser.NameValueContext)

Enter a parse tree produced by nameValue().

The default implementation does nothing.

Declaration
public virtual void EnterNameValue(SolidityParser.NameValueContext context)
Parameters
Type Name Description
SolidityParser.NameValueContext context

The parse tree.

| Improve this Doc View Source

EnterNameValueList(SolidityParser.NameValueListContext)

Enter a parse tree produced by nameValueList().

The default implementation does nothing.

Declaration
public virtual void EnterNameValueList(SolidityParser.NameValueListContext context)
Parameters
Type Name Description
SolidityParser.NameValueListContext context

The parse tree.

| Improve this Doc View Source

EnterNumberLiteral(SolidityParser.NumberLiteralContext)

Enter a parse tree produced by numberLiteral().

The default implementation does nothing.

Declaration
public virtual void EnterNumberLiteral(SolidityParser.NumberLiteralContext context)
Parameters
Type Name Description
SolidityParser.NumberLiteralContext context

The parse tree.

| Improve this Doc View Source

EnterOverrideSpecifier(SolidityParser.OverrideSpecifierContext)

Enter a parse tree produced by overrideSpecifier().

The default implementation does nothing.

Declaration
public virtual void EnterOverrideSpecifier(SolidityParser.OverrideSpecifierContext context)
Parameters
Type Name Description
SolidityParser.OverrideSpecifierContext context

The parse tree.

| Improve this Doc View Source

EnterParameter(SolidityParser.ParameterContext)

Enter a parse tree produced by parameter().

The default implementation does nothing.

Declaration
public virtual void EnterParameter(SolidityParser.ParameterContext context)
Parameters
Type Name Description
SolidityParser.ParameterContext context

The parse tree.

| Improve this Doc View Source

EnterParameterList(SolidityParser.ParameterListContext)

Enter a parse tree produced by parameterList().

The default implementation does nothing.

Declaration
public virtual void EnterParameterList(SolidityParser.ParameterListContext context)
Parameters
Type Name Description
SolidityParser.ParameterListContext context

The parse tree.

| Improve this Doc View Source

EnterPragmaDirective(SolidityParser.PragmaDirectiveContext)

Enter a parse tree produced by pragmaDirective().

The default implementation does nothing.

Declaration
public virtual void EnterPragmaDirective(SolidityParser.PragmaDirectiveContext context)
Parameters
Type Name Description
SolidityParser.PragmaDirectiveContext context

The parse tree.

| Improve this Doc View Source

EnterPragmaName(SolidityParser.PragmaNameContext)

Enter a parse tree produced by pragmaName().

The default implementation does nothing.

Declaration
public virtual void EnterPragmaName(SolidityParser.PragmaNameContext context)
Parameters
Type Name Description
SolidityParser.PragmaNameContext context

The parse tree.

| Improve this Doc View Source

EnterPragmaValue(SolidityParser.PragmaValueContext)

Enter a parse tree produced by pragmaValue().

The default implementation does nothing.

Declaration
public virtual void EnterPragmaValue(SolidityParser.PragmaValueContext context)
Parameters
Type Name Description
SolidityParser.PragmaValueContext context

The parse tree.

| Improve this Doc View Source

EnterPrimaryExpression(SolidityParser.PrimaryExpressionContext)

Enter a parse tree produced by primaryExpression().

The default implementation does nothing.

Declaration
public virtual void EnterPrimaryExpression(SolidityParser.PrimaryExpressionContext context)
Parameters
Type Name Description
SolidityParser.PrimaryExpressionContext context

The parse tree.

| Improve this Doc View Source

EnterReturnParameters(SolidityParser.ReturnParametersContext)

Enter a parse tree produced by returnParameters().

The default implementation does nothing.

Declaration
public virtual void EnterReturnParameters(SolidityParser.ReturnParametersContext context)
Parameters
Type Name Description
SolidityParser.ReturnParametersContext context

The parse tree.

| Improve this Doc View Source

EnterReturnStatement(SolidityParser.ReturnStatementContext)

Enter a parse tree produced by returnStatement().

The default implementation does nothing.

Declaration
public virtual void EnterReturnStatement(SolidityParser.ReturnStatementContext context)
Parameters
Type Name Description
SolidityParser.ReturnStatementContext context

The parse tree.

| Improve this Doc View Source

EnterSimpleStatement(SolidityParser.SimpleStatementContext)

Enter a parse tree produced by simpleStatement().

The default implementation does nothing.

Declaration
public virtual void EnterSimpleStatement(SolidityParser.SimpleStatementContext context)
Parameters
Type Name Description
SolidityParser.SimpleStatementContext context

The parse tree.

| Improve this Doc View Source

EnterSourceUnit(SolidityParser.SourceUnitContext)

Enter a parse tree produced by sourceUnit().

The default implementation does nothing.

Declaration
public virtual void EnterSourceUnit(SolidityParser.SourceUnitContext context)
Parameters
Type Name Description
SolidityParser.SourceUnitContext context

The parse tree.

| Improve this Doc View Source

EnterStatement(SolidityParser.StatementContext)

Enter a parse tree produced by statement().

The default implementation does nothing.

Declaration
public virtual void EnterStatement(SolidityParser.StatementContext context)
Parameters
Type Name Description
SolidityParser.StatementContext context

The parse tree.

| Improve this Doc View Source

EnterStateMutability(SolidityParser.StateMutabilityContext)

Enter a parse tree produced by stateMutability().

The default implementation does nothing.

Declaration
public virtual void EnterStateMutability(SolidityParser.StateMutabilityContext context)
Parameters
Type Name Description
SolidityParser.StateMutabilityContext context

The parse tree.

| Improve this Doc View Source

EnterStateVariableDeclaration(SolidityParser.StateVariableDeclarationContext)

Enter a parse tree produced by stateVariableDeclaration().

The default implementation does nothing.

Declaration
public virtual void EnterStateVariableDeclaration(SolidityParser.StateVariableDeclarationContext context)
Parameters
Type Name Description
SolidityParser.StateVariableDeclarationContext context

The parse tree.

| Improve this Doc View Source

EnterStorageLocation(SolidityParser.StorageLocationContext)

Enter a parse tree produced by storageLocation().

The default implementation does nothing.

Declaration
public virtual void EnterStorageLocation(SolidityParser.StorageLocationContext context)
Parameters
Type Name Description
SolidityParser.StorageLocationContext context

The parse tree.

| Improve this Doc View Source

EnterStringLiteral(SolidityParser.StringLiteralContext)

Enter a parse tree produced by stringLiteral().

The default implementation does nothing.

Declaration
public virtual void EnterStringLiteral(SolidityParser.StringLiteralContext context)
Parameters
Type Name Description
SolidityParser.StringLiteralContext context

The parse tree.

| Improve this Doc View Source

EnterStructDefinition(SolidityParser.StructDefinitionContext)

Enter a parse tree produced by structDefinition().

The default implementation does nothing.

Declaration
public virtual void EnterStructDefinition(SolidityParser.StructDefinitionContext context)
Parameters
Type Name Description
SolidityParser.StructDefinitionContext context

The parse tree.

| Improve this Doc View Source

EnterSubAssembly(SolidityParser.SubAssemblyContext)

Enter a parse tree produced by subAssembly().

The default implementation does nothing.

Declaration
public virtual void EnterSubAssembly(SolidityParser.SubAssemblyContext context)
Parameters
Type Name Description
SolidityParser.SubAssemblyContext context

The parse tree.

| Improve this Doc View Source

EnterThrowStatement(SolidityParser.ThrowStatementContext)

Enter a parse tree produced by throwStatement().

The default implementation does nothing.

Declaration
public virtual void EnterThrowStatement(SolidityParser.ThrowStatementContext context)
Parameters
Type Name Description
SolidityParser.ThrowStatementContext context

The parse tree.

| Improve this Doc View Source

EnterTryStatement(SolidityParser.TryStatementContext)

Enter a parse tree produced by tryStatement().

The default implementation does nothing.

Declaration
public virtual void EnterTryStatement(SolidityParser.TryStatementContext context)
Parameters
Type Name Description
SolidityParser.TryStatementContext context

The parse tree.

| Improve this Doc View Source

EnterTupleExpression(SolidityParser.TupleExpressionContext)

Enter a parse tree produced by tupleExpression().

The default implementation does nothing.

Declaration
public virtual void EnterTupleExpression(SolidityParser.TupleExpressionContext context)
Parameters
Type Name Description
SolidityParser.TupleExpressionContext context

The parse tree.

| Improve this Doc View Source

EnterTypeName(SolidityParser.TypeNameContext)

Enter a parse tree produced by typeName().

The default implementation does nothing.

Declaration
public virtual void EnterTypeName(SolidityParser.TypeNameContext context)
Parameters
Type Name Description
SolidityParser.TypeNameContext context

The parse tree.

| Improve this Doc View Source

EnterTypeNameExpression(SolidityParser.TypeNameExpressionContext)

Enter a parse tree produced by typeNameExpression().

The default implementation does nothing.

Declaration
public virtual void EnterTypeNameExpression(SolidityParser.TypeNameExpressionContext context)
Parameters
Type Name Description
SolidityParser.TypeNameExpressionContext context

The parse tree.

| Improve this Doc View Source

EnterUserDefinedTypeName(SolidityParser.UserDefinedTypeNameContext)

Enter a parse tree produced by userDefinedTypeName().

The default implementation does nothing.

Declaration
public virtual void EnterUserDefinedTypeName(SolidityParser.UserDefinedTypeNameContext context)
Parameters
Type Name Description
SolidityParser.UserDefinedTypeNameContext context

The parse tree.

| Improve this Doc View Source

EnterUsingForDeclaration(SolidityParser.UsingForDeclarationContext)

Enter a parse tree produced by usingForDeclaration().

The default implementation does nothing.

Declaration
public virtual void EnterUsingForDeclaration(SolidityParser.UsingForDeclarationContext context)
Parameters
Type Name Description
SolidityParser.UsingForDeclarationContext context

The parse tree.

| Improve this Doc View Source

EnterVariableDeclaration(SolidityParser.VariableDeclarationContext)

Enter a parse tree produced by variableDeclaration().

The default implementation does nothing.

Declaration
public virtual void EnterVariableDeclaration(SolidityParser.VariableDeclarationContext context)
Parameters
Type Name Description
SolidityParser.VariableDeclarationContext context

The parse tree.

| Improve this Doc View Source

EnterVariableDeclarationList(SolidityParser.VariableDeclarationListContext)

Enter a parse tree produced by variableDeclarationList().

The default implementation does nothing.

Declaration
public virtual void EnterVariableDeclarationList(SolidityParser.VariableDeclarationListContext context)
Parameters
Type Name Description
SolidityParser.VariableDeclarationListContext context

The parse tree.

| Improve this Doc View Source

EnterVariableDeclarationStatement(SolidityParser.VariableDeclarationStatementContext)

Enter a parse tree produced by variableDeclarationStatement().

The default implementation does nothing.

Declaration
public virtual void EnterVariableDeclarationStatement(SolidityParser.VariableDeclarationStatementContext context)
Parameters
Type Name Description
SolidityParser.VariableDeclarationStatementContext context

The parse tree.

| Improve this Doc View Source

EnterVersion(SolidityParser.VersionContext)

Enter a parse tree produced by version().

The default implementation does nothing.

Declaration
public virtual void EnterVersion(SolidityParser.VersionContext context)
Parameters
Type Name Description
SolidityParser.VersionContext context

The parse tree.

| Improve this Doc View Source

EnterVersionConstraint(SolidityParser.VersionConstraintContext)

Enter a parse tree produced by versionConstraint().

The default implementation does nothing.

Declaration
public virtual void EnterVersionConstraint(SolidityParser.VersionConstraintContext context)
Parameters
Type Name Description
SolidityParser.VersionConstraintContext context

The parse tree.

| Improve this Doc View Source

EnterVersionOperator(SolidityParser.VersionOperatorContext)

Enter a parse tree produced by versionOperator().

The default implementation does nothing.

Declaration
public virtual void EnterVersionOperator(SolidityParser.VersionOperatorContext context)
Parameters
Type Name Description
SolidityParser.VersionOperatorContext context

The parse tree.

| Improve this Doc View Source

EnterWhileStatement(SolidityParser.WhileStatementContext)

Enter a parse tree produced by whileStatement().

The default implementation does nothing.

Declaration
public virtual void EnterWhileStatement(SolidityParser.WhileStatementContext context)
Parameters
Type Name Description
SolidityParser.WhileStatementContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyAssignment(SolidityParser.AssemblyAssignmentContext)

Exit a parse tree produced by assemblyAssignment().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyAssignment(SolidityParser.AssemblyAssignmentContext context)
Parameters
Type Name Description
SolidityParser.AssemblyAssignmentContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyBlock(SolidityParser.AssemblyBlockContext)

Exit a parse tree produced by assemblyBlock().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyBlock(SolidityParser.AssemblyBlockContext context)
Parameters
Type Name Description
SolidityParser.AssemblyBlockContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyCall(SolidityParser.AssemblyCallContext)

Exit a parse tree produced by assemblyCall().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyCall(SolidityParser.AssemblyCallContext context)
Parameters
Type Name Description
SolidityParser.AssemblyCallContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyCase(SolidityParser.AssemblyCaseContext)

Exit a parse tree produced by assemblyCase().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyCase(SolidityParser.AssemblyCaseContext context)
Parameters
Type Name Description
SolidityParser.AssemblyCaseContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyExpression(SolidityParser.AssemblyExpressionContext)

Exit a parse tree produced by assemblyExpression().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyExpression(SolidityParser.AssemblyExpressionContext context)
Parameters
Type Name Description
SolidityParser.AssemblyExpressionContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyFor(SolidityParser.AssemblyForContext)

Exit a parse tree produced by assemblyFor().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyFor(SolidityParser.AssemblyForContext context)
Parameters
Type Name Description
SolidityParser.AssemblyForContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyFunctionDefinition(SolidityParser.AssemblyFunctionDefinitionContext)

Exit a parse tree produced by assemblyFunctionDefinition().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyFunctionDefinition(SolidityParser.AssemblyFunctionDefinitionContext context)
Parameters
Type Name Description
SolidityParser.AssemblyFunctionDefinitionContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyFunctionReturns(SolidityParser.AssemblyFunctionReturnsContext)

Exit a parse tree produced by assemblyFunctionReturns().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyFunctionReturns(SolidityParser.AssemblyFunctionReturnsContext context)
Parameters
Type Name Description
SolidityParser.AssemblyFunctionReturnsContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyIdentifierList(SolidityParser.AssemblyIdentifierListContext)

Exit a parse tree produced by assemblyIdentifierList().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyIdentifierList(SolidityParser.AssemblyIdentifierListContext context)
Parameters
Type Name Description
SolidityParser.AssemblyIdentifierListContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyIf(SolidityParser.AssemblyIfContext)

Exit a parse tree produced by assemblyIf().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyIf(SolidityParser.AssemblyIfContext context)
Parameters
Type Name Description
SolidityParser.AssemblyIfContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyItem(SolidityParser.AssemblyItemContext)

Exit a parse tree produced by assemblyItem().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyItem(SolidityParser.AssemblyItemContext context)
Parameters
Type Name Description
SolidityParser.AssemblyItemContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyLiteral(SolidityParser.AssemblyLiteralContext)

Exit a parse tree produced by assemblyLiteral().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyLiteral(SolidityParser.AssemblyLiteralContext context)
Parameters
Type Name Description
SolidityParser.AssemblyLiteralContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyLocalDefinition(SolidityParser.AssemblyLocalDefinitionContext)

Exit a parse tree produced by assemblyLocalDefinition().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyLocalDefinition(SolidityParser.AssemblyLocalDefinitionContext context)
Parameters
Type Name Description
SolidityParser.AssemblyLocalDefinitionContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyStackAssignment(SolidityParser.AssemblyStackAssignmentContext)

Exit a parse tree produced by assemblyStackAssignment().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyStackAssignment(SolidityParser.AssemblyStackAssignmentContext context)
Parameters
Type Name Description
SolidityParser.AssemblyStackAssignmentContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblySwitch(SolidityParser.AssemblySwitchContext)

Exit a parse tree produced by assemblySwitch().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblySwitch(SolidityParser.AssemblySwitchContext context)
Parameters
Type Name Description
SolidityParser.AssemblySwitchContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyType(SolidityParser.AssemblyTypeContext)

Exit a parse tree produced by assemblyType().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyType(SolidityParser.AssemblyTypeContext context)
Parameters
Type Name Description
SolidityParser.AssemblyTypeContext context

The parse tree.

| Improve this Doc View Source

ExitAssemblyTypedVariableList(SolidityParser.AssemblyTypedVariableListContext)

Exit a parse tree produced by assemblyTypedVariableList().

The default implementation does nothing.

Declaration
public virtual void ExitAssemblyTypedVariableList(SolidityParser.AssemblyTypedVariableListContext context)
Parameters
Type Name Description
SolidityParser.AssemblyTypedVariableListContext context

The parse tree.

| Improve this Doc View Source

ExitBlock(SolidityParser.BlockContext)

Exit a parse tree produced by block().

The default implementation does nothing.

Declaration
public virtual void ExitBlock(SolidityParser.BlockContext context)
Parameters
Type Name Description
SolidityParser.BlockContext context

The parse tree.

| Improve this Doc View Source

ExitBreakStatement(SolidityParser.BreakStatementContext)

Exit a parse tree produced by breakStatement().

The default implementation does nothing.

Declaration
public virtual void ExitBreakStatement(SolidityParser.BreakStatementContext context)
Parameters
Type Name Description
SolidityParser.BreakStatementContext context

The parse tree.

| Improve this Doc View Source

ExitCatchClause(SolidityParser.CatchClauseContext)

Exit a parse tree produced by catchClause().

The default implementation does nothing.

Declaration
public virtual void ExitCatchClause(SolidityParser.CatchClauseContext context)
Parameters
Type Name Description
SolidityParser.CatchClauseContext context

The parse tree.

| Improve this Doc View Source

ExitContinueStatement(SolidityParser.ContinueStatementContext)

Exit a parse tree produced by continueStatement().

The default implementation does nothing.

Declaration
public virtual void ExitContinueStatement(SolidityParser.ContinueStatementContext context)
Parameters
Type Name Description
SolidityParser.ContinueStatementContext context

The parse tree.

| Improve this Doc View Source

ExitContractDefinition(SolidityParser.ContractDefinitionContext)

Exit a parse tree produced by contractDefinition().

The default implementation does nothing.

Declaration
public virtual void ExitContractDefinition(SolidityParser.ContractDefinitionContext context)
Parameters
Type Name Description
SolidityParser.ContractDefinitionContext context

The parse tree.

| Improve this Doc View Source

ExitContractPart(SolidityParser.ContractPartContext)

Exit a parse tree produced by contractPart().

The default implementation does nothing.

Declaration
public virtual void ExitContractPart(SolidityParser.ContractPartContext context)
Parameters
Type Name Description
SolidityParser.ContractPartContext context

The parse tree.

| Improve this Doc View Source

ExitDoWhileStatement(SolidityParser.DoWhileStatementContext)

Exit a parse tree produced by doWhileStatement().

The default implementation does nothing.

Declaration
public virtual void ExitDoWhileStatement(SolidityParser.DoWhileStatementContext context)
Parameters
Type Name Description
SolidityParser.DoWhileStatementContext context

The parse tree.

| Improve this Doc View Source

ExitElementaryTypeName(SolidityParser.ElementaryTypeNameContext)

Exit a parse tree produced by elementaryTypeName().

The default implementation does nothing.

Declaration
public virtual void ExitElementaryTypeName(SolidityParser.ElementaryTypeNameContext context)
Parameters
Type Name Description
SolidityParser.ElementaryTypeNameContext context

The parse tree.

| Improve this Doc View Source

ExitEmitStatement(SolidityParser.EmitStatementContext)

Exit a parse tree produced by emitStatement().

The default implementation does nothing.

Declaration
public virtual void ExitEmitStatement(SolidityParser.EmitStatementContext context)
Parameters
Type Name Description
SolidityParser.EmitStatementContext context

The parse tree.

| Improve this Doc View Source

ExitEnumDefinition(SolidityParser.EnumDefinitionContext)

Exit a parse tree produced by enumDefinition().

The default implementation does nothing.

Declaration
public virtual void ExitEnumDefinition(SolidityParser.EnumDefinitionContext context)
Parameters
Type Name Description
SolidityParser.EnumDefinitionContext context

The parse tree.

| Improve this Doc View Source

ExitEnumValue(SolidityParser.EnumValueContext)

Exit a parse tree produced by enumValue().

The default implementation does nothing.

Declaration
public virtual void ExitEnumValue(SolidityParser.EnumValueContext context)
Parameters
Type Name Description
SolidityParser.EnumValueContext context

The parse tree.

| Improve this Doc View Source

ExitEventDefinition(SolidityParser.EventDefinitionContext)

Exit a parse tree produced by eventDefinition().

The default implementation does nothing.

Declaration
public virtual void ExitEventDefinition(SolidityParser.EventDefinitionContext context)
Parameters
Type Name Description
SolidityParser.EventDefinitionContext context

The parse tree.

| Improve this Doc View Source

ExitEventParameter(SolidityParser.EventParameterContext)

Exit a parse tree produced by eventParameter().

The default implementation does nothing.

Declaration
public virtual void ExitEventParameter(SolidityParser.EventParameterContext context)
Parameters
Type Name Description
SolidityParser.EventParameterContext context

The parse tree.

| Improve this Doc View Source

ExitEventParameterList(SolidityParser.EventParameterListContext)

Exit a parse tree produced by eventParameterList().

The default implementation does nothing.

Declaration
public virtual void ExitEventParameterList(SolidityParser.EventParameterListContext context)
Parameters
Type Name Description
SolidityParser.EventParameterListContext context

The parse tree.

| Improve this Doc View Source

ExitEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

ExitExpression(SolidityParser.ExpressionContext)

Exit a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void ExitExpression(SolidityParser.ExpressionContext context)
Parameters
Type Name Description
SolidityParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

ExitExpressionList(SolidityParser.ExpressionListContext)

Exit a parse tree produced by expressionList().

The default implementation does nothing.

Declaration
public virtual void ExitExpressionList(SolidityParser.ExpressionListContext context)
Parameters
Type Name Description
SolidityParser.ExpressionListContext context

The parse tree.

| Improve this Doc View Source

ExitExpressionStatement(SolidityParser.ExpressionStatementContext)

Exit a parse tree produced by expressionStatement().

The default implementation does nothing.

Declaration
public virtual void ExitExpressionStatement(SolidityParser.ExpressionStatementContext context)
Parameters
Type Name Description
SolidityParser.ExpressionStatementContext context

The parse tree.

| Improve this Doc View Source

ExitForStatement(SolidityParser.ForStatementContext)

Exit a parse tree produced by forStatement().

The default implementation does nothing.

Declaration
public virtual void ExitForStatement(SolidityParser.ForStatementContext context)
Parameters
Type Name Description
SolidityParser.ForStatementContext context

The parse tree.

| Improve this Doc View Source

ExitFunctionCall(SolidityParser.FunctionCallContext)

Exit a parse tree produced by functionCall().

The default implementation does nothing.

Declaration
public virtual void ExitFunctionCall(SolidityParser.FunctionCallContext context)
Parameters
Type Name Description
SolidityParser.FunctionCallContext context

The parse tree.

| Improve this Doc View Source

ExitFunctionCallArguments(SolidityParser.FunctionCallArgumentsContext)

Exit a parse tree produced by functionCallArguments().

The default implementation does nothing.

Declaration
public virtual void ExitFunctionCallArguments(SolidityParser.FunctionCallArgumentsContext context)
Parameters
Type Name Description
SolidityParser.FunctionCallArgumentsContext context

The parse tree.

| Improve this Doc View Source

ExitFunctionDefinition(SolidityParser.FunctionDefinitionContext)

Exit a parse tree produced by functionDefinition().

The default implementation does nothing.

Declaration
public virtual void ExitFunctionDefinition(SolidityParser.FunctionDefinitionContext context)
Parameters
Type Name Description
SolidityParser.FunctionDefinitionContext context

The parse tree.

| Improve this Doc View Source

ExitFunctionDescriptor(SolidityParser.FunctionDescriptorContext)

Exit a parse tree produced by functionDescriptor().

The default implementation does nothing.

Declaration
public virtual void ExitFunctionDescriptor(SolidityParser.FunctionDescriptorContext context)
Parameters
Type Name Description
SolidityParser.FunctionDescriptorContext context

The parse tree.

| Improve this Doc View Source

ExitFunctionTypeName(SolidityParser.FunctionTypeNameContext)

Exit a parse tree produced by functionTypeName().

The default implementation does nothing.

Declaration
public virtual void ExitFunctionTypeName(SolidityParser.FunctionTypeNameContext context)
Parameters
Type Name Description
SolidityParser.FunctionTypeNameContext context

The parse tree.

| Improve this Doc View Source

ExitHexLiteral(SolidityParser.HexLiteralContext)

Exit a parse tree produced by hexLiteral().

The default implementation does nothing.

Declaration
public virtual void ExitHexLiteral(SolidityParser.HexLiteralContext context)
Parameters
Type Name Description
SolidityParser.HexLiteralContext context

The parse tree.

| Improve this Doc View Source

ExitIdentifier(SolidityParser.IdentifierContext)

Exit a parse tree produced by identifier().

The default implementation does nothing.

Declaration
public virtual void ExitIdentifier(SolidityParser.IdentifierContext context)
Parameters
Type Name Description
SolidityParser.IdentifierContext context

The parse tree.

| Improve this Doc View Source

ExitIdentifierList(SolidityParser.IdentifierListContext)

Exit a parse tree produced by identifierList().

The default implementation does nothing.

Declaration
public virtual void ExitIdentifierList(SolidityParser.IdentifierListContext context)
Parameters
Type Name Description
SolidityParser.IdentifierListContext context

The parse tree.

| Improve this Doc View Source

ExitIfStatement(SolidityParser.IfStatementContext)

Exit a parse tree produced by ifStatement().

The default implementation does nothing.

Declaration
public virtual void ExitIfStatement(SolidityParser.IfStatementContext context)
Parameters
Type Name Description
SolidityParser.IfStatementContext context

The parse tree.

| Improve this Doc View Source

ExitImportDeclaration(SolidityParser.ImportDeclarationContext)

Exit a parse tree produced by importDeclaration().

The default implementation does nothing.

Declaration
public virtual void ExitImportDeclaration(SolidityParser.ImportDeclarationContext context)
Parameters
Type Name Description
SolidityParser.ImportDeclarationContext context

The parse tree.

| Improve this Doc View Source

ExitImportDirective(SolidityParser.ImportDirectiveContext)

Exit a parse tree produced by importDirective().

The default implementation does nothing.

Declaration
public virtual void ExitImportDirective(SolidityParser.ImportDirectiveContext context)
Parameters
Type Name Description
SolidityParser.ImportDirectiveContext context

The parse tree.

| Improve this Doc View Source

ExitInheritanceSpecifier(SolidityParser.InheritanceSpecifierContext)

Exit a parse tree produced by inheritanceSpecifier().

The default implementation does nothing.

Declaration
public virtual void ExitInheritanceSpecifier(SolidityParser.InheritanceSpecifierContext context)
Parameters
Type Name Description
SolidityParser.InheritanceSpecifierContext context

The parse tree.

| Improve this Doc View Source

ExitInlineAssemblyStatement(SolidityParser.InlineAssemblyStatementContext)

Exit a parse tree produced by inlineAssemblyStatement().

The default implementation does nothing.

Declaration
public virtual void ExitInlineAssemblyStatement(SolidityParser.InlineAssemblyStatementContext context)
Parameters
Type Name Description
SolidityParser.InlineAssemblyStatementContext context

The parse tree.

| Improve this Doc View Source

ExitLabelDefinition(SolidityParser.LabelDefinitionContext)

Exit a parse tree produced by labelDefinition().

The default implementation does nothing.

Declaration
public virtual void ExitLabelDefinition(SolidityParser.LabelDefinitionContext context)
Parameters
Type Name Description
SolidityParser.LabelDefinitionContext context

The parse tree.

| Improve this Doc View Source

ExitMapping(SolidityParser.MappingContext)

Exit a parse tree produced by mapping().

The default implementation does nothing.

Declaration
public virtual void ExitMapping(SolidityParser.MappingContext context)
Parameters
Type Name Description
SolidityParser.MappingContext context

The parse tree.

| Improve this Doc View Source

ExitModifierDefinition(SolidityParser.ModifierDefinitionContext)

Exit a parse tree produced by modifierDefinition().

The default implementation does nothing.

Declaration
public virtual void ExitModifierDefinition(SolidityParser.ModifierDefinitionContext context)
Parameters
Type Name Description
SolidityParser.ModifierDefinitionContext context

The parse tree.

| Improve this Doc View Source

ExitModifierInvocation(SolidityParser.ModifierInvocationContext)

Exit a parse tree produced by modifierInvocation().

The default implementation does nothing.

Declaration
public virtual void ExitModifierInvocation(SolidityParser.ModifierInvocationContext context)
Parameters
Type Name Description
SolidityParser.ModifierInvocationContext context

The parse tree.

| Improve this Doc View Source

ExitModifierList(SolidityParser.ModifierListContext)

Exit a parse tree produced by modifierList().

The default implementation does nothing.

Declaration
public virtual void ExitModifierList(SolidityParser.ModifierListContext context)
Parameters
Type Name Description
SolidityParser.ModifierListContext context

The parse tree.

| Improve this Doc View Source

ExitNameValue(SolidityParser.NameValueContext)

Exit a parse tree produced by nameValue().

The default implementation does nothing.

Declaration
public virtual void ExitNameValue(SolidityParser.NameValueContext context)
Parameters
Type Name Description
SolidityParser.NameValueContext context

The parse tree.

| Improve this Doc View Source

ExitNameValueList(SolidityParser.NameValueListContext)

Exit a parse tree produced by nameValueList().

The default implementation does nothing.

Declaration
public virtual void ExitNameValueList(SolidityParser.NameValueListContext context)
Parameters
Type Name Description
SolidityParser.NameValueListContext context

The parse tree.

| Improve this Doc View Source

ExitNumberLiteral(SolidityParser.NumberLiteralContext)

Exit a parse tree produced by numberLiteral().

The default implementation does nothing.

Declaration
public virtual void ExitNumberLiteral(SolidityParser.NumberLiteralContext context)
Parameters
Type Name Description
SolidityParser.NumberLiteralContext context

The parse tree.

| Improve this Doc View Source

ExitOverrideSpecifier(SolidityParser.OverrideSpecifierContext)

Exit a parse tree produced by overrideSpecifier().

The default implementation does nothing.

Declaration
public virtual void ExitOverrideSpecifier(SolidityParser.OverrideSpecifierContext context)
Parameters
Type Name Description
SolidityParser.OverrideSpecifierContext context

The parse tree.

| Improve this Doc View Source

ExitParameter(SolidityParser.ParameterContext)

Exit a parse tree produced by parameter().

The default implementation does nothing.

Declaration
public virtual void ExitParameter(SolidityParser.ParameterContext context)
Parameters
Type Name Description
SolidityParser.ParameterContext context

The parse tree.

| Improve this Doc View Source

ExitParameterList(SolidityParser.ParameterListContext)

Exit a parse tree produced by parameterList().

The default implementation does nothing.

Declaration
public virtual void ExitParameterList(SolidityParser.ParameterListContext context)
Parameters
Type Name Description
SolidityParser.ParameterListContext context

The parse tree.

| Improve this Doc View Source

ExitPragmaDirective(SolidityParser.PragmaDirectiveContext)

Exit a parse tree produced by pragmaDirective().

The default implementation does nothing.

Declaration
public virtual void ExitPragmaDirective(SolidityParser.PragmaDirectiveContext context)
Parameters
Type Name Description
SolidityParser.PragmaDirectiveContext context

The parse tree.

| Improve this Doc View Source

ExitPragmaName(SolidityParser.PragmaNameContext)

Exit a parse tree produced by pragmaName().

The default implementation does nothing.

Declaration
public virtual void ExitPragmaName(SolidityParser.PragmaNameContext context)
Parameters
Type Name Description
SolidityParser.PragmaNameContext context

The parse tree.

| Improve this Doc View Source

ExitPragmaValue(SolidityParser.PragmaValueContext)

Exit a parse tree produced by pragmaValue().

The default implementation does nothing.

Declaration
public virtual void ExitPragmaValue(SolidityParser.PragmaValueContext context)
Parameters
Type Name Description
SolidityParser.PragmaValueContext context

The parse tree.

| Improve this Doc View Source

ExitPrimaryExpression(SolidityParser.PrimaryExpressionContext)

Exit a parse tree produced by primaryExpression().

The default implementation does nothing.

Declaration
public virtual void ExitPrimaryExpression(SolidityParser.PrimaryExpressionContext context)
Parameters
Type Name Description
SolidityParser.PrimaryExpressionContext context

The parse tree.

| Improve this Doc View Source

ExitReturnParameters(SolidityParser.ReturnParametersContext)

Exit a parse tree produced by returnParameters().

The default implementation does nothing.

Declaration
public virtual void ExitReturnParameters(SolidityParser.ReturnParametersContext context)
Parameters
Type Name Description
SolidityParser.ReturnParametersContext context

The parse tree.

| Improve this Doc View Source

ExitReturnStatement(SolidityParser.ReturnStatementContext)

Exit a parse tree produced by returnStatement().

The default implementation does nothing.

Declaration
public virtual void ExitReturnStatement(SolidityParser.ReturnStatementContext context)
Parameters
Type Name Description
SolidityParser.ReturnStatementContext context

The parse tree.

| Improve this Doc View Source

ExitSimpleStatement(SolidityParser.SimpleStatementContext)

Exit a parse tree produced by simpleStatement().

The default implementation does nothing.

Declaration
public virtual void ExitSimpleStatement(SolidityParser.SimpleStatementContext context)
Parameters
Type Name Description
SolidityParser.SimpleStatementContext context

The parse tree.

| Improve this Doc View Source

ExitSourceUnit(SolidityParser.SourceUnitContext)

Exit a parse tree produced by sourceUnit().

The default implementation does nothing.

Declaration
public virtual void ExitSourceUnit(SolidityParser.SourceUnitContext context)
Parameters
Type Name Description
SolidityParser.SourceUnitContext context

The parse tree.

| Improve this Doc View Source

ExitStatement(SolidityParser.StatementContext)

Exit a parse tree produced by statement().

The default implementation does nothing.

Declaration
public virtual void ExitStatement(SolidityParser.StatementContext context)
Parameters
Type Name Description
SolidityParser.StatementContext context

The parse tree.

| Improve this Doc View Source

ExitStateMutability(SolidityParser.StateMutabilityContext)

Exit a parse tree produced by stateMutability().

The default implementation does nothing.

Declaration
public virtual void ExitStateMutability(SolidityParser.StateMutabilityContext context)
Parameters
Type Name Description
SolidityParser.StateMutabilityContext context

The parse tree.

| Improve this Doc View Source

ExitStateVariableDeclaration(SolidityParser.StateVariableDeclarationContext)

Exit a parse tree produced by stateVariableDeclaration().

The default implementation does nothing.

Declaration
public virtual void ExitStateVariableDeclaration(SolidityParser.StateVariableDeclarationContext context)
Parameters
Type Name Description
SolidityParser.StateVariableDeclarationContext context

The parse tree.

| Improve this Doc View Source

ExitStorageLocation(SolidityParser.StorageLocationContext)

Exit a parse tree produced by storageLocation().

The default implementation does nothing.

Declaration
public virtual void ExitStorageLocation(SolidityParser.StorageLocationContext context)
Parameters
Type Name Description
SolidityParser.StorageLocationContext context

The parse tree.

| Improve this Doc View Source

ExitStringLiteral(SolidityParser.StringLiteralContext)

Exit a parse tree produced by stringLiteral().

The default implementation does nothing.

Declaration
public virtual void ExitStringLiteral(SolidityParser.StringLiteralContext context)
Parameters
Type Name Description
SolidityParser.StringLiteralContext context

The parse tree.

| Improve this Doc View Source

ExitStructDefinition(SolidityParser.StructDefinitionContext)

Exit a parse tree produced by structDefinition().

The default implementation does nothing.

Declaration
public virtual void ExitStructDefinition(SolidityParser.StructDefinitionContext context)
Parameters
Type Name Description
SolidityParser.StructDefinitionContext context

The parse tree.

| Improve this Doc View Source

ExitSubAssembly(SolidityParser.SubAssemblyContext)

Exit a parse tree produced by subAssembly().

The default implementation does nothing.

Declaration
public virtual void ExitSubAssembly(SolidityParser.SubAssemblyContext context)
Parameters
Type Name Description
SolidityParser.SubAssemblyContext context

The parse tree.

| Improve this Doc View Source

ExitThrowStatement(SolidityParser.ThrowStatementContext)

Exit a parse tree produced by throwStatement().

The default implementation does nothing.

Declaration
public virtual void ExitThrowStatement(SolidityParser.ThrowStatementContext context)
Parameters
Type Name Description
SolidityParser.ThrowStatementContext context

The parse tree.

| Improve this Doc View Source

ExitTryStatement(SolidityParser.TryStatementContext)

Exit a parse tree produced by tryStatement().

The default implementation does nothing.

Declaration
public virtual void ExitTryStatement(SolidityParser.TryStatementContext context)
Parameters
Type Name Description
SolidityParser.TryStatementContext context

The parse tree.

| Improve this Doc View Source

ExitTupleExpression(SolidityParser.TupleExpressionContext)

Exit a parse tree produced by tupleExpression().

The default implementation does nothing.

Declaration
public virtual void ExitTupleExpression(SolidityParser.TupleExpressionContext context)
Parameters
Type Name Description
SolidityParser.TupleExpressionContext context

The parse tree.

| Improve this Doc View Source

ExitTypeName(SolidityParser.TypeNameContext)

Exit a parse tree produced by typeName().

The default implementation does nothing.

Declaration
public virtual void ExitTypeName(SolidityParser.TypeNameContext context)
Parameters
Type Name Description
SolidityParser.TypeNameContext context

The parse tree.

| Improve this Doc View Source

ExitTypeNameExpression(SolidityParser.TypeNameExpressionContext)

Exit a parse tree produced by typeNameExpression().

The default implementation does nothing.

Declaration
public virtual void ExitTypeNameExpression(SolidityParser.TypeNameExpressionContext context)
Parameters
Type Name Description
SolidityParser.TypeNameExpressionContext context

The parse tree.

| Improve this Doc View Source

ExitUserDefinedTypeName(SolidityParser.UserDefinedTypeNameContext)

Exit a parse tree produced by userDefinedTypeName().

The default implementation does nothing.

Declaration
public virtual void ExitUserDefinedTypeName(SolidityParser.UserDefinedTypeNameContext context)
Parameters
Type Name Description
SolidityParser.UserDefinedTypeNameContext context

The parse tree.

| Improve this Doc View Source

ExitUsingForDeclaration(SolidityParser.UsingForDeclarationContext)

Exit a parse tree produced by usingForDeclaration().

The default implementation does nothing.

Declaration
public virtual void ExitUsingForDeclaration(SolidityParser.UsingForDeclarationContext context)
Parameters
Type Name Description
SolidityParser.UsingForDeclarationContext context

The parse tree.

| Improve this Doc View Source

ExitVariableDeclaration(SolidityParser.VariableDeclarationContext)

Exit a parse tree produced by variableDeclaration().

The default implementation does nothing.

Declaration
public virtual void ExitVariableDeclaration(SolidityParser.VariableDeclarationContext context)
Parameters
Type Name Description
SolidityParser.VariableDeclarationContext context

The parse tree.

| Improve this Doc View Source

ExitVariableDeclarationList(SolidityParser.VariableDeclarationListContext)

Exit a parse tree produced by variableDeclarationList().

The default implementation does nothing.

Declaration
public virtual void ExitVariableDeclarationList(SolidityParser.VariableDeclarationListContext context)
Parameters
Type Name Description
SolidityParser.VariableDeclarationListContext context

The parse tree.

| Improve this Doc View Source

ExitVariableDeclarationStatement(SolidityParser.VariableDeclarationStatementContext)

Exit a parse tree produced by variableDeclarationStatement().

The default implementation does nothing.

Declaration
public virtual void ExitVariableDeclarationStatement(SolidityParser.VariableDeclarationStatementContext context)
Parameters
Type Name Description
SolidityParser.VariableDeclarationStatementContext context

The parse tree.

| Improve this Doc View Source

ExitVersion(SolidityParser.VersionContext)

Exit a parse tree produced by version().

The default implementation does nothing.

Declaration
public virtual void ExitVersion(SolidityParser.VersionContext context)
Parameters
Type Name Description
SolidityParser.VersionContext context

The parse tree.

| Improve this Doc View Source

ExitVersionConstraint(SolidityParser.VersionConstraintContext)

Exit a parse tree produced by versionConstraint().

The default implementation does nothing.

Declaration
public virtual void ExitVersionConstraint(SolidityParser.VersionConstraintContext context)
Parameters
Type Name Description
SolidityParser.VersionConstraintContext context

The parse tree.

| Improve this Doc View Source

ExitVersionOperator(SolidityParser.VersionOperatorContext)

Exit a parse tree produced by versionOperator().

The default implementation does nothing.

Declaration
public virtual void ExitVersionOperator(SolidityParser.VersionOperatorContext context)
Parameters
Type Name Description
SolidityParser.VersionOperatorContext context

The parse tree.

| Improve this Doc View Source

ExitWhileStatement(SolidityParser.WhileStatementContext)

Exit a parse tree produced by whileStatement().

The default implementation does nothing.

Declaration
public virtual void ExitWhileStatement(SolidityParser.WhileStatementContext context)
Parameters
Type Name Description
SolidityParser.WhileStatementContext context

The parse tree.

| Improve this Doc View Source

VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)

Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.IErrorNode node
Remarks

The default implementation does nothing.

| Improve this Doc View Source

VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)

Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.ITerminalNode node
Remarks

The default implementation does nothing.

Implements

ISolidityListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX