Class TypeScriptParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- one.gfw.antlr4.js.typescript.TypeScriptParserBaseVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
TypeScriptParserVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
public class TypeScriptParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements TypeScriptParserVisitor<T>
This class provides an empty implementation ofTypeScriptParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description TypeScriptParserBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitInitializer
public T visitInitializer(TypeScriptParser.InitializerContext ctx)
Visit a parse tree produced byTypeScriptParser.initializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInitializerin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBindingPattern
public T visitBindingPattern(TypeScriptParser.BindingPatternContext ctx)
Visit a parse tree produced byTypeScriptParser.bindingPattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBindingPatternin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
public T visitTypeParameters(TypeScriptParser.TypeParametersContext ctx)
Visit a parse tree produced byTypeScriptParser.typeParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParametersin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameterList
public T visitTypeParameterList(TypeScriptParser.TypeParameterListContext ctx)
Visit a parse tree produced byTypeScriptParser.typeParameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParameterListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
public T visitTypeParameter(TypeScriptParser.TypeParameterContext ctx)
Visit a parse tree produced byTypeScriptParser.typeParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParameterin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstraint
public T visitConstraint(TypeScriptParser.ConstraintContext ctx)
Visit a parse tree produced byTypeScriptParser.constraint().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstraintin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
public T visitTypeArguments(TypeScriptParser.TypeArgumentsContext ctx)
Visit a parse tree produced byTypeScriptParser.typeArguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgumentsin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentList
public T visitTypeArgumentList(TypeScriptParser.TypeArgumentListContext ctx)
Visit a parse tree produced byTypeScriptParser.typeArgumentList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgumentListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgument
public T visitTypeArgument(TypeScriptParser.TypeArgumentContext ctx)
Visit a parse tree produced byTypeScriptParser.typeArgument().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgumentin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitType_
public T visitType_(TypeScriptParser.Type_Context ctx)
Visit a parse tree produced byTypeScriptParser.type_().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitType_in interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntersection
public T visitIntersection(TypeScriptParser.IntersectionContext ctx)
Visit a parse tree produced by theIntersectionlabeled alternative inTypeScriptParser.unionOrIntersectionOrPrimaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntersectionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimary
public T visitPrimary(TypeScriptParser.PrimaryContext ctx)
Visit a parse tree produced by thePrimarylabeled alternative inTypeScriptParser.unionOrIntersectionOrPrimaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimaryin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnion
public T visitUnion(TypeScriptParser.UnionContext ctx)
Visit a parse tree produced by theUnionlabeled alternative inTypeScriptParser.unionOrIntersectionOrPrimaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRedefinitionOfType
public T visitRedefinitionOfType(TypeScriptParser.RedefinitionOfTypeContext ctx)
Visit a parse tree produced by theRedefinitionOfTypelabeled alternative inTypeScriptParser.primaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRedefinitionOfTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredefinedPrimType
public T visitPredefinedPrimType(TypeScriptParser.PredefinedPrimTypeContext ctx)
Visit a parse tree produced by thePredefinedPrimTypelabeled alternative inTypeScriptParser.primaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPredefinedPrimTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayPrimType
public T visitArrayPrimType(TypeScriptParser.ArrayPrimTypeContext ctx)
Visit a parse tree produced by theArrayPrimTypelabeled alternative inTypeScriptParser.primaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayPrimTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesizedPrimType
public T visitParenthesizedPrimType(TypeScriptParser.ParenthesizedPrimTypeContext ctx)
Visit a parse tree produced by theParenthesizedPrimTypelabeled alternative inTypeScriptParser.primaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenthesizedPrimTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThisPrimType
public T visitThisPrimType(TypeScriptParser.ThisPrimTypeContext ctx)
Visit a parse tree produced by theThisPrimTypelabeled alternative inTypeScriptParser.primaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThisPrimTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTuplePrimType
public T visitTuplePrimType(TypeScriptParser.TuplePrimTypeContext ctx)
Visit a parse tree produced by theTuplePrimTypelabeled alternative inTypeScriptParser.primaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTuplePrimTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectPrimType
public T visitObjectPrimType(TypeScriptParser.ObjectPrimTypeContext ctx)
Visit a parse tree produced by theObjectPrimTypelabeled alternative inTypeScriptParser.primaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectPrimTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReferencePrimType
public T visitReferencePrimType(TypeScriptParser.ReferencePrimTypeContext ctx)
Visit a parse tree produced by theReferencePrimTypelabeled alternative inTypeScriptParser.primaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReferencePrimTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQueryPrimType
public T visitQueryPrimType(TypeScriptParser.QueryPrimTypeContext ctx)
Visit a parse tree produced by theQueryPrimTypelabeled alternative inTypeScriptParser.primaryType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQueryPrimTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPredefinedType
public T visitPredefinedType(TypeScriptParser.PredefinedTypeContext ctx)
Visit a parse tree produced byTypeScriptParser.predefinedType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPredefinedTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeReference
public T visitTypeReference(TypeScriptParser.TypeReferenceContext ctx)
Visit a parse tree produced byTypeScriptParser.typeReference().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeReferencein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNestedTypeGeneric
public T visitNestedTypeGeneric(TypeScriptParser.NestedTypeGenericContext ctx)
Visit a parse tree produced byTypeScriptParser.nestedTypeGeneric().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNestedTypeGenericin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeGeneric
public T visitTypeGeneric(TypeScriptParser.TypeGenericContext ctx)
Visit a parse tree produced byTypeScriptParser.typeGeneric().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeGenericin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeIncludeGeneric
public T visitTypeIncludeGeneric(TypeScriptParser.TypeIncludeGenericContext ctx)
Visit a parse tree produced byTypeScriptParser.typeIncludeGeneric().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeIncludeGenericin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeName
public T visitTypeName(TypeScriptParser.TypeNameContext ctx)
Visit a parse tree produced byTypeScriptParser.typeName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeNamein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectType
public T visitObjectType(TypeScriptParser.ObjectTypeContext ctx)
Visit a parse tree produced byTypeScriptParser.objectType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeBody
public T visitTypeBody(TypeScriptParser.TypeBodyContext ctx)
Visit a parse tree produced byTypeScriptParser.typeBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeBodyin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeMemberList
public T visitTypeMemberList(TypeScriptParser.TypeMemberListContext ctx)
Visit a parse tree produced byTypeScriptParser.typeMemberList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeMemberListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeMember
public T visitTypeMember(TypeScriptParser.TypeMemberContext ctx)
Visit a parse tree produced byTypeScriptParser.typeMember().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeMemberin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayType
public T visitArrayType(TypeScriptParser.ArrayTypeContext ctx)
Visit a parse tree produced byTypeScriptParser.arrayType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTupleType
public T visitTupleType(TypeScriptParser.TupleTypeContext ctx)
Visit a parse tree produced byTypeScriptParser.tupleType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTupleTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTupleElementTypes
public T visitTupleElementTypes(TypeScriptParser.TupleElementTypesContext ctx)
Visit a parse tree produced byTypeScriptParser.tupleElementTypes().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTupleElementTypesin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionType
public T visitFunctionType(TypeScriptParser.FunctionTypeContext ctx)
Visit a parse tree produced byTypeScriptParser.functionType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorType
public T visitConstructorType(TypeScriptParser.ConstructorTypeContext ctx)
Visit a parse tree produced byTypeScriptParser.constructorType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstructorTypein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeQuery
public T visitTypeQuery(TypeScriptParser.TypeQueryContext ctx)
Visit a parse tree produced byTypeScriptParser.typeQuery().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeQueryin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeQueryExpression
public T visitTypeQueryExpression(TypeScriptParser.TypeQueryExpressionContext ctx)
Visit a parse tree produced byTypeScriptParser.typeQueryExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeQueryExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPropertySignatur
public T visitPropertySignatur(TypeScriptParser.PropertySignaturContext ctx)
Visit a parse tree produced byTypeScriptParser.propertySignatur().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPropertySignaturin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeAnnotation
public T visitTypeAnnotation(TypeScriptParser.TypeAnnotationContext ctx)
Visit a parse tree produced byTypeScriptParser.typeAnnotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeAnnotationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCallSignature
public T visitCallSignature(TypeScriptParser.CallSignatureContext ctx)
Visit a parse tree produced byTypeScriptParser.callSignature().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCallSignaturein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameterList
public T visitParameterList(TypeScriptParser.ParameterListContext ctx)
Visit a parse tree produced byTypeScriptParser.parameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParameterListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRequiredParameterList
public T visitRequiredParameterList(TypeScriptParser.RequiredParameterListContext ctx)
Visit a parse tree produced byTypeScriptParser.requiredParameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRequiredParameterListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameter
public T visitParameter(TypeScriptParser.ParameterContext ctx)
Visit a parse tree produced byTypeScriptParser.parameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParameterin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOptionalParameter
public T visitOptionalParameter(TypeScriptParser.OptionalParameterContext ctx)
Visit a parse tree produced byTypeScriptParser.optionalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOptionalParameterin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRestParameter
public T visitRestParameter(TypeScriptParser.RestParameterContext ctx)
Visit a parse tree produced byTypeScriptParser.restParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRestParameterin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRequiredParameter
public T visitRequiredParameter(TypeScriptParser.RequiredParameterContext ctx)
Visit a parse tree produced byTypeScriptParser.requiredParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRequiredParameterin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAccessibilityModifier
public T visitAccessibilityModifier(TypeScriptParser.AccessibilityModifierContext ctx)
Visit a parse tree produced byTypeScriptParser.accessibilityModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAccessibilityModifierin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierOrPattern
public T visitIdentifierOrPattern(TypeScriptParser.IdentifierOrPatternContext ctx)
Visit a parse tree produced byTypeScriptParser.identifierOrPattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierOrPatternin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructSignature
public T visitConstructSignature(TypeScriptParser.ConstructSignatureContext ctx)
Visit a parse tree produced byTypeScriptParser.constructSignature().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstructSignaturein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexSignature
public T visitIndexSignature(TypeScriptParser.IndexSignatureContext ctx)
Visit a parse tree produced byTypeScriptParser.indexSignature().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIndexSignaturein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodSignature
public T visitMethodSignature(TypeScriptParser.MethodSignatureContext ctx)
Visit a parse tree produced byTypeScriptParser.methodSignature().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodSignaturein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeAliasDeclaration
public T visitTypeAliasDeclaration(TypeScriptParser.TypeAliasDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.typeAliasDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeAliasDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorDeclaration
public T visitConstructorDeclaration(TypeScriptParser.ConstructorDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.constructorDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstructorDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceDeclaration
public T visitInterfaceDeclaration(TypeScriptParser.InterfaceDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.interfaceDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceExtendsClause
public T visitInterfaceExtendsClause(TypeScriptParser.InterfaceExtendsClauseContext ctx)
Visit a parse tree produced byTypeScriptParser.interfaceExtendsClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceExtendsClausein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceTypeList
public T visitClassOrInterfaceTypeList(TypeScriptParser.ClassOrInterfaceTypeListContext ctx)
Visit a parse tree produced byTypeScriptParser.classOrInterfaceTypeList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassOrInterfaceTypeListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumDeclaration
public T visitEnumDeclaration(TypeScriptParser.EnumDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.enumDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumBody
public T visitEnumBody(TypeScriptParser.EnumBodyContext ctx)
Visit a parse tree produced byTypeScriptParser.enumBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumBodyin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumMemberList
public T visitEnumMemberList(TypeScriptParser.EnumMemberListContext ctx)
Visit a parse tree produced byTypeScriptParser.enumMemberList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumMemberListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumMember
public T visitEnumMember(TypeScriptParser.EnumMemberContext ctx)
Visit a parse tree produced byTypeScriptParser.enumMember().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumMemberin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNamespaceDeclaration
public T visitNamespaceDeclaration(TypeScriptParser.NamespaceDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.namespaceDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNamespaceDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNamespaceName
public T visitNamespaceName(TypeScriptParser.NamespaceNameContext ctx)
Visit a parse tree produced byTypeScriptParser.namespaceName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNamespaceNamein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportAliasDeclaration
public T visitImportAliasDeclaration(TypeScriptParser.ImportAliasDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.importAliasDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportAliasDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecoratorList
public T visitDecoratorList(TypeScriptParser.DecoratorListContext ctx)
Visit a parse tree produced byTypeScriptParser.decoratorList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecoratorListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecorator
public T visitDecorator(TypeScriptParser.DecoratorContext ctx)
Visit a parse tree produced byTypeScriptParser.decorator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecoratorin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecoratorMemberExpression
public T visitDecoratorMemberExpression(TypeScriptParser.DecoratorMemberExpressionContext ctx)
Visit a parse tree produced byTypeScriptParser.decoratorMemberExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecoratorMemberExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecoratorCallExpression
public T visitDecoratorCallExpression(TypeScriptParser.DecoratorCallExpressionContext ctx)
Visit a parse tree produced byTypeScriptParser.decoratorCallExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecoratorCallExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitProgram
public T visitProgram(TypeScriptParser.ProgramContext ctx)
Visit a parse tree produced byTypeScriptParser.program().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitProgramin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSourceElement
public T visitSourceElement(TypeScriptParser.SourceElementContext ctx)
Visit a parse tree produced byTypeScriptParser.sourceElement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSourceElementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
public T visitStatement(TypeScriptParser.StatementContext ctx)
Visit a parse tree produced byTypeScriptParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
public T visitBlock(TypeScriptParser.BlockContext ctx)
Visit a parse tree produced byTypeScriptParser.block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatementList
public T visitStatementList(TypeScriptParser.StatementListContext ctx)
Visit a parse tree produced byTypeScriptParser.statementList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatementListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAbstractDeclaration
public T visitAbstractDeclaration(TypeScriptParser.AbstractDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.abstractDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAbstractDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportStatement
public T visitImportStatement(TypeScriptParser.ImportStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.importStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFromBlock
public T visitFromBlock(TypeScriptParser.FromBlockContext ctx)
Visit a parse tree produced byTypeScriptParser.fromBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFromBlockin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultipleImportStatement
public T visitMultipleImportStatement(TypeScriptParser.MultipleImportStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.multipleImportStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultipleImportStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExportStatement
public T visitExportStatement(TypeScriptParser.ExportStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.exportStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExportStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableStatement
public T visitVariableStatement(TypeScriptParser.VariableStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.variableStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarationList
public T visitVariableDeclarationList(TypeScriptParser.VariableDeclarationListContext ctx)
Visit a parse tree produced byTypeScriptParser.variableDeclarationList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclarationListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaration
public T visitVariableDeclaration(TypeScriptParser.VariableDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.variableDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyStatement_
public T visitEmptyStatement_(TypeScriptParser.EmptyStatement_Context ctx)
Visit a parse tree produced byTypeScriptParser.emptyStatement_().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEmptyStatement_in interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionStatement
public T visitExpressionStatement(TypeScriptParser.ExpressionStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.expressionStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfStatement
public T visitIfStatement(TypeScriptParser.IfStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.ifStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoStatement
public T visitDoStatement(TypeScriptParser.DoStatementContext ctx)
Visit a parse tree produced by theDoStatementlabeled alternative inTypeScriptParser.iterationStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStatement
public T visitWhileStatement(TypeScriptParser.WhileStatementContext ctx)
Visit a parse tree produced by theWhileStatementlabeled alternative inTypeScriptParser.iterationStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhileStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForStatement
public T visitForStatement(TypeScriptParser.ForStatementContext ctx)
Visit a parse tree produced by theForStatementlabeled alternative inTypeScriptParser.iterationStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForVarStatement
public T visitForVarStatement(TypeScriptParser.ForVarStatementContext ctx)
Visit a parse tree produced by theForVarStatementlabeled alternative inTypeScriptParser.iterationStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForVarStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForInStatement
public T visitForInStatement(TypeScriptParser.ForInStatementContext ctx)
Visit a parse tree produced by theForInStatementlabeled alternative inTypeScriptParser.iterationStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForInStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForVarInStatement
public T visitForVarInStatement(TypeScriptParser.ForVarInStatementContext ctx)
Visit a parse tree produced by theForVarInStatementlabeled alternative inTypeScriptParser.iterationStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForVarInStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVarModifier
public T visitVarModifier(TypeScriptParser.VarModifierContext ctx)
Visit a parse tree produced byTypeScriptParser.varModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVarModifierin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStatement
public T visitContinueStatement(TypeScriptParser.ContinueStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.continueStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContinueStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStatement
public T visitBreakStatement(TypeScriptParser.BreakStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.breakStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBreakStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnStatement
public T visitReturnStatement(TypeScriptParser.ReturnStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.returnStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReturnStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYieldStatement
public T visitYieldStatement(TypeScriptParser.YieldStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.yieldStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYieldStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWithStatement
public T visitWithStatement(TypeScriptParser.WithStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.withStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWithStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchStatement
public T visitSwitchStatement(TypeScriptParser.SwitchStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.switchStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseBlock
public T visitCaseBlock(TypeScriptParser.CaseBlockContext ctx)
Visit a parse tree produced byTypeScriptParser.caseBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCaseBlockin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseClauses
public T visitCaseClauses(TypeScriptParser.CaseClausesContext ctx)
Visit a parse tree produced byTypeScriptParser.caseClauses().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCaseClausesin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseClause
public T visitCaseClause(TypeScriptParser.CaseClauseContext ctx)
Visit a parse tree produced byTypeScriptParser.caseClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCaseClausein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultClause
public T visitDefaultClause(TypeScriptParser.DefaultClauseContext ctx)
Visit a parse tree produced byTypeScriptParser.defaultClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDefaultClausein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabelledStatement
public T visitLabelledStatement(TypeScriptParser.LabelledStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.labelledStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLabelledStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThrowStatement
public T visitThrowStatement(TypeScriptParser.ThrowStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.throwStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThrowStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryStatement
public T visitTryStatement(TypeScriptParser.TryStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.tryStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTryStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchProduction
public T visitCatchProduction(TypeScriptParser.CatchProductionContext ctx)
Visit a parse tree produced byTypeScriptParser.catchProduction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCatchProductionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFinallyProduction
public T visitFinallyProduction(TypeScriptParser.FinallyProductionContext ctx)
Visit a parse tree produced byTypeScriptParser.finallyProduction().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFinallyProductionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDebuggerStatement
public T visitDebuggerStatement(TypeScriptParser.DebuggerStatementContext ctx)
Visit a parse tree produced byTypeScriptParser.debuggerStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDebuggerStatementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionDeclaration
public T visitFunctionDeclaration(TypeScriptParser.FunctionDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.functionDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
public T visitClassDeclaration(TypeScriptParser.ClassDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.classDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassHeritage
public T visitClassHeritage(TypeScriptParser.ClassHeritageContext ctx)
Visit a parse tree produced byTypeScriptParser.classHeritage().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassHeritagein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassTail
public T visitClassTail(TypeScriptParser.ClassTailContext ctx)
Visit a parse tree produced byTypeScriptParser.classTail().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassTailin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassExtendsClause
public T visitClassExtendsClause(TypeScriptParser.ClassExtendsClauseContext ctx)
Visit a parse tree produced byTypeScriptParser.classExtendsClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassExtendsClausein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImplementsClause
public T visitImplementsClause(TypeScriptParser.ImplementsClauseContext ctx)
Visit a parse tree produced byTypeScriptParser.implementsClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImplementsClausein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassElement
public T visitClassElement(TypeScriptParser.ClassElementContext ctx)
Visit a parse tree produced byTypeScriptParser.classElement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassElementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPropertyDeclarationExpression
public T visitPropertyDeclarationExpression(TypeScriptParser.PropertyDeclarationExpressionContext ctx)
Visit a parse tree produced by thePropertyDeclarationExpressionlabeled alternative inTypeScriptParser.propertyMemberDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPropertyDeclarationExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodDeclarationExpression
public T visitMethodDeclarationExpression(TypeScriptParser.MethodDeclarationExpressionContext ctx)
Visit a parse tree produced by theMethodDeclarationExpressionlabeled alternative inTypeScriptParser.propertyMemberDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodDeclarationExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGetterSetterDeclarationExpression
public T visitGetterSetterDeclarationExpression(TypeScriptParser.GetterSetterDeclarationExpressionContext ctx)
Visit a parse tree produced by theGetterSetterDeclarationExpressionlabeled alternative inTypeScriptParser.propertyMemberDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGetterSetterDeclarationExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAbstractMemberDeclaration
public T visitAbstractMemberDeclaration(TypeScriptParser.AbstractMemberDeclarationContext ctx)
Visit a parse tree produced by theAbstractMemberDeclarationlabeled alternative inTypeScriptParser.propertyMemberDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAbstractMemberDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPropertyMemberBase
public T visitPropertyMemberBase(TypeScriptParser.PropertyMemberBaseContext ctx)
Visit a parse tree produced byTypeScriptParser.propertyMemberBase().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPropertyMemberBasein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexMemberDeclaration
public T visitIndexMemberDeclaration(TypeScriptParser.IndexMemberDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.indexMemberDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIndexMemberDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGeneratorMethod
public T visitGeneratorMethod(TypeScriptParser.GeneratorMethodContext ctx)
Visit a parse tree produced byTypeScriptParser.generatorMethod().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGeneratorMethodin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGeneratorFunctionDeclaration
public T visitGeneratorFunctionDeclaration(TypeScriptParser.GeneratorFunctionDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.generatorFunctionDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGeneratorFunctionDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGeneratorBlock
public T visitGeneratorBlock(TypeScriptParser.GeneratorBlockContext ctx)
Visit a parse tree produced byTypeScriptParser.generatorBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGeneratorBlockin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGeneratorDefinition
public T visitGeneratorDefinition(TypeScriptParser.GeneratorDefinitionContext ctx)
Visit a parse tree produced byTypeScriptParser.generatorDefinition().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGeneratorDefinitionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIteratorBlock
public T visitIteratorBlock(TypeScriptParser.IteratorBlockContext ctx)
Visit a parse tree produced byTypeScriptParser.iteratorBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIteratorBlockin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIteratorDefinition
public T visitIteratorDefinition(TypeScriptParser.IteratorDefinitionContext ctx)
Visit a parse tree produced byTypeScriptParser.iteratorDefinition().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIteratorDefinitionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
public T visitFormalParameterList(TypeScriptParser.FormalParameterListContext ctx)
Visit a parse tree produced byTypeScriptParser.formalParameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParameterListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterArg
public T visitFormalParameterArg(TypeScriptParser.FormalParameterArgContext ctx)
Visit a parse tree produced byTypeScriptParser.formalParameterArg().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParameterArgin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLastFormalParameterArg
public T visitLastFormalParameterArg(TypeScriptParser.LastFormalParameterArgContext ctx)
Visit a parse tree produced byTypeScriptParser.lastFormalParameterArg().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLastFormalParameterArgin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionBody
public T visitFunctionBody(TypeScriptParser.FunctionBodyContext ctx)
Visit a parse tree produced byTypeScriptParser.functionBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionBodyin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSourceElements
public T visitSourceElements(TypeScriptParser.SourceElementsContext ctx)
Visit a parse tree produced byTypeScriptParser.sourceElements().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSourceElementsin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayLiteral
public T visitArrayLiteral(TypeScriptParser.ArrayLiteralContext ctx)
Visit a parse tree produced byTypeScriptParser.arrayLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayLiteralin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementList
public T visitElementList(TypeScriptParser.ElementListContext ctx)
Visit a parse tree produced byTypeScriptParser.elementList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayElement
public T visitArrayElement(TypeScriptParser.ArrayElementContext ctx)
Visit a parse tree produced byTypeScriptParser.arrayElement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayElementin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectLiteral
public T visitObjectLiteral(TypeScriptParser.ObjectLiteralContext ctx)
Visit a parse tree produced byTypeScriptParser.objectLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectLiteralin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPropertyExpressionAssignment
public T visitPropertyExpressionAssignment(TypeScriptParser.PropertyExpressionAssignmentContext ctx)
Visit a parse tree produced by thePropertyExpressionAssignmentlabeled alternative inTypeScriptParser.propertyAssignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPropertyExpressionAssignmentin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComputedPropertyExpressionAssignment
public T visitComputedPropertyExpressionAssignment(TypeScriptParser.ComputedPropertyExpressionAssignmentContext ctx)
Visit a parse tree produced by theComputedPropertyExpressionAssignmentlabeled alternative inTypeScriptParser.propertyAssignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComputedPropertyExpressionAssignmentin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPropertyGetter
public T visitPropertyGetter(TypeScriptParser.PropertyGetterContext ctx)
Visit a parse tree produced by thePropertyGetterlabeled alternative inTypeScriptParser.propertyAssignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPropertyGetterin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPropertySetter
public T visitPropertySetter(TypeScriptParser.PropertySetterContext ctx)
Visit a parse tree produced by thePropertySetterlabeled alternative inTypeScriptParser.propertyAssignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPropertySetterin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodProperty
public T visitMethodProperty(TypeScriptParser.MethodPropertyContext ctx)
Visit a parse tree produced by theMethodPropertylabeled alternative inTypeScriptParser.propertyAssignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodPropertyin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPropertyShorthand
public T visitPropertyShorthand(TypeScriptParser.PropertyShorthandContext ctx)
Visit a parse tree produced by thePropertyShorthandlabeled alternative inTypeScriptParser.propertyAssignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPropertyShorthandin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRestParameterInObject
public T visitRestParameterInObject(TypeScriptParser.RestParameterInObjectContext ctx)
Visit a parse tree produced by theRestParameterInObjectlabeled alternative inTypeScriptParser.propertyAssignment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRestParameterInObjectin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGetAccessor
public T visitGetAccessor(TypeScriptParser.GetAccessorContext ctx)
Visit a parse tree produced byTypeScriptParser.getAccessor().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGetAccessorin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSetAccessor
public T visitSetAccessor(TypeScriptParser.SetAccessorContext ctx)
Visit a parse tree produced byTypeScriptParser.setAccessor().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSetAccessorin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPropertyName
public T visitPropertyName(TypeScriptParser.PropertyNameContext ctx)
Visit a parse tree produced byTypeScriptParser.propertyName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPropertyNamein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArguments
public T visitArguments(TypeScriptParser.ArgumentsContext ctx)
Visit a parse tree produced byTypeScriptParser.arguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentsin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentList
public T visitArgumentList(TypeScriptParser.ArgumentListContext ctx)
Visit a parse tree produced byTypeScriptParser.argumentList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentListin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgument
public T visitArgument(TypeScriptParser.ArgumentContext ctx)
Visit a parse tree produced byTypeScriptParser.argument().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionSequence
public T visitExpressionSequence(TypeScriptParser.ExpressionSequenceContext ctx)
Visit a parse tree produced byTypeScriptParser.expressionSequence().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionSequencein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionExpressionDeclaration
public T visitFunctionExpressionDeclaration(TypeScriptParser.FunctionExpressionDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.functionExpressionDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionExpressionDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTemplateStringExpression
public T visitTemplateStringExpression(TypeScriptParser.TemplateStringExpressionContext ctx)
Visit a parse tree produced by theTemplateStringExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTemplateStringExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTernaryExpression
public T visitTernaryExpression(TypeScriptParser.TernaryExpressionContext ctx)
Visit a parse tree produced by theTernaryExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTernaryExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalAndExpression
public T visitLogicalAndExpression(TypeScriptParser.LogicalAndExpressionContext ctx)
Visit a parse tree produced by theLogicalAndExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLogicalAndExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGeneratorsExpression
public T visitGeneratorsExpression(TypeScriptParser.GeneratorsExpressionContext ctx)
Visit a parse tree produced by theGeneratorsExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGeneratorsExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreIncrementExpression
public T visitPreIncrementExpression(TypeScriptParser.PreIncrementExpressionContext ctx)
Visit a parse tree produced by thePreIncrementExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPreIncrementExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectLiteralExpression
public T visitObjectLiteralExpression(TypeScriptParser.ObjectLiteralExpressionContext ctx)
Visit a parse tree produced by theObjectLiteralExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObjectLiteralExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInExpression
public T visitInExpression(TypeScriptParser.InExpressionContext ctx)
Visit a parse tree produced by theInExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalOrExpression
public T visitLogicalOrExpression(TypeScriptParser.LogicalOrExpressionContext ctx)
Visit a parse tree produced by theLogicalOrExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLogicalOrExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericTypes
public T visitGenericTypes(TypeScriptParser.GenericTypesContext ctx)
Visit a parse tree produced by theGenericTypeslabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGenericTypesin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNotExpression
public T visitNotExpression(TypeScriptParser.NotExpressionContext ctx)
Visit a parse tree produced by theNotExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNotExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreDecreaseExpression
public T visitPreDecreaseExpression(TypeScriptParser.PreDecreaseExpressionContext ctx)
Visit a parse tree produced by thePreDecreaseExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPreDecreaseExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentsExpression
public T visitArgumentsExpression(TypeScriptParser.ArgumentsExpressionContext ctx)
Visit a parse tree produced by theArgumentsExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentsExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThisExpression
public T visitThisExpression(TypeScriptParser.ThisExpressionContext ctx)
Visit a parse tree produced by theThisExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThisExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionExpression
public T visitFunctionExpression(TypeScriptParser.FunctionExpressionContext ctx)
Visit a parse tree produced by theFunctionExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryMinusExpression
public T visitUnaryMinusExpression(TypeScriptParser.UnaryMinusExpressionContext ctx)
Visit a parse tree produced by theUnaryMinusExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryMinusExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentExpression
public T visitAssignmentExpression(TypeScriptParser.AssignmentExpressionContext ctx)
Visit a parse tree produced by theAssignmentExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostDecreaseExpression
public T visitPostDecreaseExpression(TypeScriptParser.PostDecreaseExpressionContext ctx)
Visit a parse tree produced by thePostDecreaseExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPostDecreaseExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeofExpression
public T visitTypeofExpression(TypeScriptParser.TypeofExpressionContext ctx)
Visit a parse tree produced by theTypeofExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeofExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInstanceofExpression
public T visitInstanceofExpression(TypeScriptParser.InstanceofExpressionContext ctx)
Visit a parse tree produced by theInstanceofExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInstanceofExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryPlusExpression
public T visitUnaryPlusExpression(TypeScriptParser.UnaryPlusExpressionContext ctx)
Visit a parse tree produced by theUnaryPlusExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryPlusExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeleteExpression
public T visitDeleteExpression(TypeScriptParser.DeleteExpressionContext ctx)
Visit a parse tree produced by theDeleteExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDeleteExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGeneratorsFunctionExpression
public T visitGeneratorsFunctionExpression(TypeScriptParser.GeneratorsFunctionExpressionContext ctx)
Visit a parse tree produced by theGeneratorsFunctionExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGeneratorsFunctionExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrowFunctionExpression
public T visitArrowFunctionExpression(TypeScriptParser.ArrowFunctionExpressionContext ctx)
Visit a parse tree produced by theArrowFunctionExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrowFunctionExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIteratorsExpression
public T visitIteratorsExpression(TypeScriptParser.IteratorsExpressionContext ctx)
Visit a parse tree produced by theIteratorsExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIteratorsExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpression
public T visitEqualityExpression(TypeScriptParser.EqualityExpressionContext ctx)
Visit a parse tree produced by theEqualityExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualityExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitXOrExpression
public T visitBitXOrExpression(TypeScriptParser.BitXOrExpressionContext ctx)
Visit a parse tree produced by theBitXOrExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitXOrExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCastAsExpression
public T visitCastAsExpression(TypeScriptParser.CastAsExpressionContext ctx)
Visit a parse tree produced by theCastAsExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCastAsExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperExpression
public T visitSuperExpression(TypeScriptParser.SuperExpressionContext ctx)
Visit a parse tree produced by theSuperExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuperExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExpression
public T visitMultiplicativeExpression(TypeScriptParser.MultiplicativeExpressionContext ctx)
Visit a parse tree produced by theMultiplicativeExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiplicativeExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitShiftExpression
public T visitBitShiftExpression(TypeScriptParser.BitShiftExpressionContext ctx)
Visit a parse tree produced by theBitShiftExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitShiftExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesizedExpression
public T visitParenthesizedExpression(TypeScriptParser.ParenthesizedExpressionContext ctx)
Visit a parse tree produced by theParenthesizedExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenthesizedExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdditiveExpression
public T visitAdditiveExpression(TypeScriptParser.AdditiveExpressionContext ctx)
Visit a parse tree produced by theAdditiveExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAdditiveExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelationalExpression
public T visitRelationalExpression(TypeScriptParser.RelationalExpressionContext ctx)
Visit a parse tree produced by theRelationalExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelationalExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostIncrementExpression
public T visitPostIncrementExpression(TypeScriptParser.PostIncrementExpressionContext ctx)
Visit a parse tree produced by thePostIncrementExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPostIncrementExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYieldExpression
public T visitYieldExpression(TypeScriptParser.YieldExpressionContext ctx)
Visit a parse tree produced by theYieldExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYieldExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitNotExpression
public T visitBitNotExpression(TypeScriptParser.BitNotExpressionContext ctx)
Visit a parse tree produced by theBitNotExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitNotExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNewExpression
public T visitNewExpression(TypeScriptParser.NewExpressionContext ctx)
Visit a parse tree produced by theNewExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNewExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralExpression
public T visitLiteralExpression(TypeScriptParser.LiteralExpressionContext ctx)
Visit a parse tree produced by theLiteralExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayLiteralExpression
public T visitArrayLiteralExpression(TypeScriptParser.ArrayLiteralExpressionContext ctx)
Visit a parse tree produced by theArrayLiteralExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayLiteralExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberDotExpression
public T visitMemberDotExpression(TypeScriptParser.MemberDotExpressionContext ctx)
Visit a parse tree produced by theMemberDotExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMemberDotExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassExpression
public T visitClassExpression(TypeScriptParser.ClassExpressionContext ctx)
Visit a parse tree produced by theClassExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberIndexExpression
public T visitMemberIndexExpression(TypeScriptParser.MemberIndexExpressionContext ctx)
Visit a parse tree produced by theMemberIndexExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMemberIndexExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierExpression
public T visitIdentifierExpression(TypeScriptParser.IdentifierExpressionContext ctx)
Visit a parse tree produced by theIdentifierExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitAndExpression
public T visitBitAndExpression(TypeScriptParser.BitAndExpressionContext ctx)
Visit a parse tree produced by theBitAndExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitAndExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitOrExpression
public T visitBitOrExpression(TypeScriptParser.BitOrExpressionContext ctx)
Visit a parse tree produced by theBitOrExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitOrExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentOperatorExpression
public T visitAssignmentOperatorExpression(TypeScriptParser.AssignmentOperatorExpressionContext ctx)
Visit a parse tree produced by theAssignmentOperatorExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentOperatorExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoidExpression
public T visitVoidExpression(TypeScriptParser.VoidExpressionContext ctx)
Visit a parse tree produced by theVoidExpressionlabeled alternative inTypeScriptParser.singleExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVoidExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAsExpression
public T visitAsExpression(TypeScriptParser.AsExpressionContext ctx)
Visit a parse tree produced byTypeScriptParser.asExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAsExpressionin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrowFunctionDeclaration
public T visitArrowFunctionDeclaration(TypeScriptParser.ArrowFunctionDeclarationContext ctx)
Visit a parse tree produced byTypeScriptParser.arrowFunctionDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrowFunctionDeclarationin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrowFunctionParameters
public T visitArrowFunctionParameters(TypeScriptParser.ArrowFunctionParametersContext ctx)
Visit a parse tree produced byTypeScriptParser.arrowFunctionParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrowFunctionParametersin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrowFunctionBody
public T visitArrowFunctionBody(TypeScriptParser.ArrowFunctionBodyContext ctx)
Visit a parse tree produced byTypeScriptParser.arrowFunctionBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrowFunctionBodyin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentOperator
public T visitAssignmentOperator(TypeScriptParser.AssignmentOperatorContext ctx)
Visit a parse tree produced byTypeScriptParser.assignmentOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentOperatorin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
public T visitLiteral(TypeScriptParser.LiteralContext ctx)
Visit a parse tree produced byTypeScriptParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTemplateStringLiteral
public T visitTemplateStringLiteral(TypeScriptParser.TemplateStringLiteralContext ctx)
Visit a parse tree produced byTypeScriptParser.templateStringLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTemplateStringLiteralin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTemplateStringAtom
public T visitTemplateStringAtom(TypeScriptParser.TemplateStringAtomContext ctx)
Visit a parse tree produced byTypeScriptParser.templateStringAtom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTemplateStringAtomin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumericLiteral
public T visitNumericLiteral(TypeScriptParser.NumericLiteralContext ctx)
Visit a parse tree produced byTypeScriptParser.numericLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNumericLiteralin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierName
public T visitIdentifierName(TypeScriptParser.IdentifierNameContext ctx)
Visit a parse tree produced byTypeScriptParser.identifierName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierNamein interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierOrKeyWord
public T visitIdentifierOrKeyWord(TypeScriptParser.IdentifierOrKeyWordContext ctx)
Visit a parse tree produced byTypeScriptParser.identifierOrKeyWord().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierOrKeyWordin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReservedWord
public T visitReservedWord(TypeScriptParser.ReservedWordContext ctx)
Visit a parse tree produced byTypeScriptParser.reservedWord().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReservedWordin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyword
public T visitKeyword(TypeScriptParser.KeywordContext ctx)
Visit a parse tree produced byTypeScriptParser.keyword().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeywordin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGetter
public T visitGetter(TypeScriptParser.GetterContext ctx)
Visit a parse tree produced byTypeScriptParser.getter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGetterin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSetter
public T visitSetter(TypeScriptParser.SetterContext ctx)
Visit a parse tree produced byTypeScriptParser.setter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSetterin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEos
public T visitEos(TypeScriptParser.EosContext ctx)
Visit a parse tree produced byTypeScriptParser.eos().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEosin interfaceTypeScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-