Show / Hide Table of Contents

Class SolidityBaseVisitor<Result>

This class provides an empty implementation of ISolidityVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
SolidityBaseVisitor<Result>
Implements
ISolidityVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Solidity
Assembly: Solidity.dll
Syntax
public class SolidityBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, ISolidityVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitAssemblyAssignment(SolidityParser.AssemblyAssignmentContext)

Visit a parse tree produced by assemblyAssignment().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyAssignment(SolidityParser.AssemblyAssignmentContext context)
Parameters
Type Name Description
SolidityParser.AssemblyAssignmentContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyBlock(SolidityParser.AssemblyBlockContext)

Visit a parse tree produced by assemblyBlock().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyBlock(SolidityParser.AssemblyBlockContext context)
Parameters
Type Name Description
SolidityParser.AssemblyBlockContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyCall(SolidityParser.AssemblyCallContext)

Visit a parse tree produced by assemblyCall().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyCall(SolidityParser.AssemblyCallContext context)
Parameters
Type Name Description
SolidityParser.AssemblyCallContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyCase(SolidityParser.AssemblyCaseContext)

Visit a parse tree produced by assemblyCase().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyCase(SolidityParser.AssemblyCaseContext context)
Parameters
Type Name Description
SolidityParser.AssemblyCaseContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyExpression(SolidityParser.AssemblyExpressionContext)

Visit a parse tree produced by assemblyExpression().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyExpression(SolidityParser.AssemblyExpressionContext context)
Parameters
Type Name Description
SolidityParser.AssemblyExpressionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyFor(SolidityParser.AssemblyForContext)

Visit a parse tree produced by assemblyFor().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyFor(SolidityParser.AssemblyForContext context)
Parameters
Type Name Description
SolidityParser.AssemblyForContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyFunctionDefinition(SolidityParser.AssemblyFunctionDefinitionContext)

Visit a parse tree produced by assemblyFunctionDefinition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyFunctionDefinition(SolidityParser.AssemblyFunctionDefinitionContext context)
Parameters
Type Name Description
SolidityParser.AssemblyFunctionDefinitionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyFunctionReturns(SolidityParser.AssemblyFunctionReturnsContext)

Visit a parse tree produced by assemblyFunctionReturns().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyFunctionReturns(SolidityParser.AssemblyFunctionReturnsContext context)
Parameters
Type Name Description
SolidityParser.AssemblyFunctionReturnsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyIdentifierList(SolidityParser.AssemblyIdentifierListContext)

Visit a parse tree produced by assemblyIdentifierList().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyIdentifierList(SolidityParser.AssemblyIdentifierListContext context)
Parameters
Type Name Description
SolidityParser.AssemblyIdentifierListContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyIf(SolidityParser.AssemblyIfContext)

Visit a parse tree produced by assemblyIf().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyIf(SolidityParser.AssemblyIfContext context)
Parameters
Type Name Description
SolidityParser.AssemblyIfContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyItem(SolidityParser.AssemblyItemContext)

Visit a parse tree produced by assemblyItem().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyItem(SolidityParser.AssemblyItemContext context)
Parameters
Type Name Description
SolidityParser.AssemblyItemContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyLiteral(SolidityParser.AssemblyLiteralContext)

Visit a parse tree produced by assemblyLiteral().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyLiteral(SolidityParser.AssemblyLiteralContext context)
Parameters
Type Name Description
SolidityParser.AssemblyLiteralContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyLocalDefinition(SolidityParser.AssemblyLocalDefinitionContext)

Visit a parse tree produced by assemblyLocalDefinition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyLocalDefinition(SolidityParser.AssemblyLocalDefinitionContext context)
Parameters
Type Name Description
SolidityParser.AssemblyLocalDefinitionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyStackAssignment(SolidityParser.AssemblyStackAssignmentContext)

Visit a parse tree produced by assemblyStackAssignment().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyStackAssignment(SolidityParser.AssemblyStackAssignmentContext context)
Parameters
Type Name Description
SolidityParser.AssemblyStackAssignmentContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblySwitch(SolidityParser.AssemblySwitchContext)

Visit a parse tree produced by assemblySwitch().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblySwitch(SolidityParser.AssemblySwitchContext context)
Parameters
Type Name Description
SolidityParser.AssemblySwitchContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyType(SolidityParser.AssemblyTypeContext)

Visit a parse tree produced by assemblyType().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyType(SolidityParser.AssemblyTypeContext context)
Parameters
Type Name Description
SolidityParser.AssemblyTypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssemblyTypedVariableList(SolidityParser.AssemblyTypedVariableListContext)

Visit a parse tree produced by assemblyTypedVariableList().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssemblyTypedVariableList(SolidityParser.AssemblyTypedVariableListContext context)
Parameters
Type Name Description
SolidityParser.AssemblyTypedVariableListContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBlock(SolidityParser.BlockContext)

Visit a parse tree produced by block().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBlock(SolidityParser.BlockContext context)
Parameters
Type Name Description
SolidityParser.BlockContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBreakStatement(SolidityParser.BreakStatementContext)

Visit a parse tree produced by breakStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBreakStatement(SolidityParser.BreakStatementContext context)
Parameters
Type Name Description
SolidityParser.BreakStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCatchClause(SolidityParser.CatchClauseContext)

Visit a parse tree produced by catchClause().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCatchClause(SolidityParser.CatchClauseContext context)
Parameters
Type Name Description
SolidityParser.CatchClauseContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitContinueStatement(SolidityParser.ContinueStatementContext)

Visit a parse tree produced by continueStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitContinueStatement(SolidityParser.ContinueStatementContext context)
Parameters
Type Name Description
SolidityParser.ContinueStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitContractDefinition(SolidityParser.ContractDefinitionContext)

Visit a parse tree produced by contractDefinition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitContractDefinition(SolidityParser.ContractDefinitionContext context)
Parameters
Type Name Description
SolidityParser.ContractDefinitionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitContractPart(SolidityParser.ContractPartContext)

Visit a parse tree produced by contractPart().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitContractPart(SolidityParser.ContractPartContext context)
Parameters
Type Name Description
SolidityParser.ContractPartContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDoWhileStatement(SolidityParser.DoWhileStatementContext)

Visit a parse tree produced by doWhileStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDoWhileStatement(SolidityParser.DoWhileStatementContext context)
Parameters
Type Name Description
SolidityParser.DoWhileStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitElementaryTypeName(SolidityParser.ElementaryTypeNameContext)

Visit a parse tree produced by elementaryTypeName().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitElementaryTypeName(SolidityParser.ElementaryTypeNameContext context)
Parameters
Type Name Description
SolidityParser.ElementaryTypeNameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEmitStatement(SolidityParser.EmitStatementContext)

Visit a parse tree produced by emitStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEmitStatement(SolidityParser.EmitStatementContext context)
Parameters
Type Name Description
SolidityParser.EmitStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEnumDefinition(SolidityParser.EnumDefinitionContext)

Visit a parse tree produced by enumDefinition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEnumDefinition(SolidityParser.EnumDefinitionContext context)
Parameters
Type Name Description
SolidityParser.EnumDefinitionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEnumValue(SolidityParser.EnumValueContext)

Visit a parse tree produced by enumValue().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEnumValue(SolidityParser.EnumValueContext context)
Parameters
Type Name Description
SolidityParser.EnumValueContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEventDefinition(SolidityParser.EventDefinitionContext)

Visit a parse tree produced by eventDefinition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEventDefinition(SolidityParser.EventDefinitionContext context)
Parameters
Type Name Description
SolidityParser.EventDefinitionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEventParameter(SolidityParser.EventParameterContext)

Visit a parse tree produced by eventParameter().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEventParameter(SolidityParser.EventParameterContext context)
Parameters
Type Name Description
SolidityParser.EventParameterContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEventParameterList(SolidityParser.EventParameterListContext)

Visit a parse tree produced by eventParameterList().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEventParameterList(SolidityParser.EventParameterListContext context)
Parameters
Type Name Description
SolidityParser.EventParameterListContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExpression(SolidityParser.ExpressionContext)

Visit a parse tree produced by expression().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExpression(SolidityParser.ExpressionContext context)
Parameters
Type Name Description
SolidityParser.ExpressionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExpressionList(SolidityParser.ExpressionListContext)

Visit a parse tree produced by expressionList().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExpressionList(SolidityParser.ExpressionListContext context)
Parameters
Type Name Description
SolidityParser.ExpressionListContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExpressionStatement(SolidityParser.ExpressionStatementContext)

Visit a parse tree produced by expressionStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExpressionStatement(SolidityParser.ExpressionStatementContext context)
Parameters
Type Name Description
SolidityParser.ExpressionStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitForStatement(SolidityParser.ForStatementContext)

Visit a parse tree produced by forStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitForStatement(SolidityParser.ForStatementContext context)
Parameters
Type Name Description
SolidityParser.ForStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctionCall(SolidityParser.FunctionCallContext)

Visit a parse tree produced by functionCall().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunctionCall(SolidityParser.FunctionCallContext context)
Parameters
Type Name Description
SolidityParser.FunctionCallContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctionCallArguments(SolidityParser.FunctionCallArgumentsContext)

Visit a parse tree produced by functionCallArguments().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunctionCallArguments(SolidityParser.FunctionCallArgumentsContext context)
Parameters
Type Name Description
SolidityParser.FunctionCallArgumentsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctionDefinition(SolidityParser.FunctionDefinitionContext)

Visit a parse tree produced by functionDefinition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunctionDefinition(SolidityParser.FunctionDefinitionContext context)
Parameters
Type Name Description
SolidityParser.FunctionDefinitionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctionDescriptor(SolidityParser.FunctionDescriptorContext)

Visit a parse tree produced by functionDescriptor().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunctionDescriptor(SolidityParser.FunctionDescriptorContext context)
Parameters
Type Name Description
SolidityParser.FunctionDescriptorContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctionTypeName(SolidityParser.FunctionTypeNameContext)

Visit a parse tree produced by functionTypeName().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunctionTypeName(SolidityParser.FunctionTypeNameContext context)
Parameters
Type Name Description
SolidityParser.FunctionTypeNameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitHexLiteral(SolidityParser.HexLiteralContext)

Visit a parse tree produced by hexLiteral().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitHexLiteral(SolidityParser.HexLiteralContext context)
Parameters
Type Name Description
SolidityParser.HexLiteralContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIdentifier(SolidityParser.IdentifierContext)

Visit a parse tree produced by identifier().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIdentifier(SolidityParser.IdentifierContext context)
Parameters
Type Name Description
SolidityParser.IdentifierContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIdentifierList(SolidityParser.IdentifierListContext)

Visit a parse tree produced by identifierList().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIdentifierList(SolidityParser.IdentifierListContext context)
Parameters
Type Name Description
SolidityParser.IdentifierListContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIfStatement(SolidityParser.IfStatementContext)

Visit a parse tree produced by ifStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIfStatement(SolidityParser.IfStatementContext context)
Parameters
Type Name Description
SolidityParser.IfStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitImportDeclaration(SolidityParser.ImportDeclarationContext)

Visit a parse tree produced by importDeclaration().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitImportDeclaration(SolidityParser.ImportDeclarationContext context)
Parameters
Type Name Description
SolidityParser.ImportDeclarationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitImportDirective(SolidityParser.ImportDirectiveContext)

Visit a parse tree produced by importDirective().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitImportDirective(SolidityParser.ImportDirectiveContext context)
Parameters
Type Name Description
SolidityParser.ImportDirectiveContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitInheritanceSpecifier(SolidityParser.InheritanceSpecifierContext)

Visit a parse tree produced by inheritanceSpecifier().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitInheritanceSpecifier(SolidityParser.InheritanceSpecifierContext context)
Parameters
Type Name Description
SolidityParser.InheritanceSpecifierContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitInlineAssemblyStatement(SolidityParser.InlineAssemblyStatementContext)

Visit a parse tree produced by inlineAssemblyStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitInlineAssemblyStatement(SolidityParser.InlineAssemblyStatementContext context)
Parameters
Type Name Description
SolidityParser.InlineAssemblyStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLabelDefinition(SolidityParser.LabelDefinitionContext)

Visit a parse tree produced by labelDefinition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLabelDefinition(SolidityParser.LabelDefinitionContext context)
Parameters
Type Name Description
SolidityParser.LabelDefinitionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMapping(SolidityParser.MappingContext)

Visit a parse tree produced by mapping().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMapping(SolidityParser.MappingContext context)
Parameters
Type Name Description
SolidityParser.MappingContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitModifierDefinition(SolidityParser.ModifierDefinitionContext)

Visit a parse tree produced by modifierDefinition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitModifierDefinition(SolidityParser.ModifierDefinitionContext context)
Parameters
Type Name Description
SolidityParser.ModifierDefinitionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitModifierInvocation(SolidityParser.ModifierInvocationContext)

Visit a parse tree produced by modifierInvocation().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitModifierInvocation(SolidityParser.ModifierInvocationContext context)
Parameters
Type Name Description
SolidityParser.ModifierInvocationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitModifierList(SolidityParser.ModifierListContext)

Visit a parse tree produced by modifierList().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitModifierList(SolidityParser.ModifierListContext context)
Parameters
Type Name Description
SolidityParser.ModifierListContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNameValue(SolidityParser.NameValueContext)

Visit a parse tree produced by nameValue().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNameValue(SolidityParser.NameValueContext context)
Parameters
Type Name Description
SolidityParser.NameValueContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNameValueList(SolidityParser.NameValueListContext)

Visit a parse tree produced by nameValueList().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNameValueList(SolidityParser.NameValueListContext context)
Parameters
Type Name Description
SolidityParser.NameValueListContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNumberLiteral(SolidityParser.NumberLiteralContext)

Visit a parse tree produced by numberLiteral().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNumberLiteral(SolidityParser.NumberLiteralContext context)
Parameters
Type Name Description
SolidityParser.NumberLiteralContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOverrideSpecifier(SolidityParser.OverrideSpecifierContext)

Visit a parse tree produced by overrideSpecifier().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOverrideSpecifier(SolidityParser.OverrideSpecifierContext context)
Parameters
Type Name Description
SolidityParser.OverrideSpecifierContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitParameter(SolidityParser.ParameterContext)

Visit a parse tree produced by parameter().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitParameter(SolidityParser.ParameterContext context)
Parameters
Type Name Description
SolidityParser.ParameterContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitParameterList(SolidityParser.ParameterListContext)

Visit a parse tree produced by parameterList().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitParameterList(SolidityParser.ParameterListContext context)
Parameters
Type Name Description
SolidityParser.ParameterListContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPragmaDirective(SolidityParser.PragmaDirectiveContext)

Visit a parse tree produced by pragmaDirective().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPragmaDirective(SolidityParser.PragmaDirectiveContext context)
Parameters
Type Name Description
SolidityParser.PragmaDirectiveContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPragmaName(SolidityParser.PragmaNameContext)

Visit a parse tree produced by pragmaName().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPragmaName(SolidityParser.PragmaNameContext context)
Parameters
Type Name Description
SolidityParser.PragmaNameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPragmaValue(SolidityParser.PragmaValueContext)

Visit a parse tree produced by pragmaValue().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPragmaValue(SolidityParser.PragmaValueContext context)
Parameters
Type Name Description
SolidityParser.PragmaValueContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPrimaryExpression(SolidityParser.PrimaryExpressionContext)

Visit a parse tree produced by primaryExpression().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPrimaryExpression(SolidityParser.PrimaryExpressionContext context)
Parameters
Type Name Description
SolidityParser.PrimaryExpressionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitReturnParameters(SolidityParser.ReturnParametersContext)

Visit a parse tree produced by returnParameters().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitReturnParameters(SolidityParser.ReturnParametersContext context)
Parameters
Type Name Description
SolidityParser.ReturnParametersContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitReturnStatement(SolidityParser.ReturnStatementContext)

Visit a parse tree produced by returnStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitReturnStatement(SolidityParser.ReturnStatementContext context)
Parameters
Type Name Description
SolidityParser.ReturnStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSimpleStatement(SolidityParser.SimpleStatementContext)

Visit a parse tree produced by simpleStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSimpleStatement(SolidityParser.SimpleStatementContext context)
Parameters
Type Name Description
SolidityParser.SimpleStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSourceUnit(SolidityParser.SourceUnitContext)

Visit a parse tree produced by sourceUnit().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSourceUnit(SolidityParser.SourceUnitContext context)
Parameters
Type Name Description
SolidityParser.SourceUnitContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStatement(SolidityParser.StatementContext)

Visit a parse tree produced by statement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStatement(SolidityParser.StatementContext context)
Parameters
Type Name Description
SolidityParser.StatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStateMutability(SolidityParser.StateMutabilityContext)

Visit a parse tree produced by stateMutability().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStateMutability(SolidityParser.StateMutabilityContext context)
Parameters
Type Name Description
SolidityParser.StateMutabilityContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStateVariableDeclaration(SolidityParser.StateVariableDeclarationContext)

Visit a parse tree produced by stateVariableDeclaration().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStateVariableDeclaration(SolidityParser.StateVariableDeclarationContext context)
Parameters
Type Name Description
SolidityParser.StateVariableDeclarationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStorageLocation(SolidityParser.StorageLocationContext)

Visit a parse tree produced by storageLocation().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStorageLocation(SolidityParser.StorageLocationContext context)
Parameters
Type Name Description
SolidityParser.StorageLocationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStringLiteral(SolidityParser.StringLiteralContext)

Visit a parse tree produced by stringLiteral().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStringLiteral(SolidityParser.StringLiteralContext context)
Parameters
Type Name Description
SolidityParser.StringLiteralContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStructDefinition(SolidityParser.StructDefinitionContext)

Visit a parse tree produced by structDefinition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStructDefinition(SolidityParser.StructDefinitionContext context)
Parameters
Type Name Description
SolidityParser.StructDefinitionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSubAssembly(SolidityParser.SubAssemblyContext)

Visit a parse tree produced by subAssembly().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSubAssembly(SolidityParser.SubAssemblyContext context)
Parameters
Type Name Description
SolidityParser.SubAssemblyContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitThrowStatement(SolidityParser.ThrowStatementContext)

Visit a parse tree produced by throwStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitThrowStatement(SolidityParser.ThrowStatementContext context)
Parameters
Type Name Description
SolidityParser.ThrowStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTryStatement(SolidityParser.TryStatementContext)

Visit a parse tree produced by tryStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTryStatement(SolidityParser.TryStatementContext context)
Parameters
Type Name Description
SolidityParser.TryStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTupleExpression(SolidityParser.TupleExpressionContext)

Visit a parse tree produced by tupleExpression().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTupleExpression(SolidityParser.TupleExpressionContext context)
Parameters
Type Name Description
SolidityParser.TupleExpressionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypeName(SolidityParser.TypeNameContext)

Visit a parse tree produced by typeName().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTypeName(SolidityParser.TypeNameContext context)
Parameters
Type Name Description
SolidityParser.TypeNameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypeNameExpression(SolidityParser.TypeNameExpressionContext)

Visit a parse tree produced by typeNameExpression().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTypeNameExpression(SolidityParser.TypeNameExpressionContext context)
Parameters
Type Name Description
SolidityParser.TypeNameExpressionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitUserDefinedTypeName(SolidityParser.UserDefinedTypeNameContext)

Visit a parse tree produced by userDefinedTypeName().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitUserDefinedTypeName(SolidityParser.UserDefinedTypeNameContext context)
Parameters
Type Name Description
SolidityParser.UserDefinedTypeNameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitUsingForDeclaration(SolidityParser.UsingForDeclarationContext)

Visit a parse tree produced by usingForDeclaration().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitUsingForDeclaration(SolidityParser.UsingForDeclarationContext context)
Parameters
Type Name Description
SolidityParser.UsingForDeclarationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariableDeclaration(SolidityParser.VariableDeclarationContext)

Visit a parse tree produced by variableDeclaration().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVariableDeclaration(SolidityParser.VariableDeclarationContext context)
Parameters
Type Name Description
SolidityParser.VariableDeclarationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariableDeclarationList(SolidityParser.VariableDeclarationListContext)

Visit a parse tree produced by variableDeclarationList().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVariableDeclarationList(SolidityParser.VariableDeclarationListContext context)
Parameters
Type Name Description
SolidityParser.VariableDeclarationListContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariableDeclarationStatement(SolidityParser.VariableDeclarationStatementContext)

Visit a parse tree produced by variableDeclarationStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVariableDeclarationStatement(SolidityParser.VariableDeclarationStatementContext context)
Parameters
Type Name Description
SolidityParser.VariableDeclarationStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVersion(SolidityParser.VersionContext)

Visit a parse tree produced by version().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVersion(SolidityParser.VersionContext context)
Parameters
Type Name Description
SolidityParser.VersionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVersionConstraint(SolidityParser.VersionConstraintContext)

Visit a parse tree produced by versionConstraint().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVersionConstraint(SolidityParser.VersionConstraintContext context)
Parameters
Type Name Description
SolidityParser.VersionConstraintContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVersionOperator(SolidityParser.VersionOperatorContext)

Visit a parse tree produced by versionOperator().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVersionOperator(SolidityParser.VersionOperatorContext context)
Parameters
Type Name Description
SolidityParser.VersionOperatorContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitWhileStatement(SolidityParser.WhileStatementContext)

Visit a parse tree produced by whileStatement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitWhileStatement(SolidityParser.WhileStatementContext context)
Parameters
Type Name Description
SolidityParser.WhileStatementContext context

The parse tree.

Returns
Type Description
Result

Implements

ISolidityVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX