Package org.reploop.parser.thrift.base
Interface ThriftBaseListener
-
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
- All Known Implementing Classes:
CommentListener,QipuServiceListener,ThriftBaseBaseListener
public interface ThriftBaseListener extends org.antlr.v4.runtime.tree.ParseTreeListenerThis interface defines a complete listener for a parse tree produced byThriftBaseParser.
-
-
Method Summary
-
-
-
Method Detail
-
enterProgram
void enterProgram(ThriftBaseParser.ProgramContext ctx)
Enter a parse tree produced byThriftBaseParser.program().- Parameters:
ctx- the parse tree
-
exitProgram
void exitProgram(ThriftBaseParser.ProgramContext ctx)
Exit a parse tree produced byThriftBaseParser.program().- Parameters:
ctx- the parse tree
-
enterIncludeDefinition
void enterIncludeDefinition(ThriftBaseParser.IncludeDefinitionContext ctx)
Enter a parse tree produced by theincludeDefinitionlabeled alternative inThriftBaseParser.header().- Parameters:
ctx- the parse tree
-
exitIncludeDefinition
void exitIncludeDefinition(ThriftBaseParser.IncludeDefinitionContext ctx)
Exit a parse tree produced by theincludeDefinitionlabeled alternative inThriftBaseParser.header().- Parameters:
ctx- the parse tree
-
enterCppIncludeDefinition
void enterCppIncludeDefinition(ThriftBaseParser.CppIncludeDefinitionContext ctx)
Enter a parse tree produced by thecppIncludeDefinitionlabeled alternative inThriftBaseParser.header().- Parameters:
ctx- the parse tree
-
exitCppIncludeDefinition
void exitCppIncludeDefinition(ThriftBaseParser.CppIncludeDefinitionContext ctx)
Exit a parse tree produced by thecppIncludeDefinitionlabeled alternative inThriftBaseParser.header().- Parameters:
ctx- the parse tree
-
enterNamespaceDefinition
void enterNamespaceDefinition(ThriftBaseParser.NamespaceDefinitionContext ctx)
Enter a parse tree produced by thenamespaceDefinitionlabeled alternative inThriftBaseParser.header().- Parameters:
ctx- the parse tree
-
exitNamespaceDefinition
void exitNamespaceDefinition(ThriftBaseParser.NamespaceDefinitionContext ctx)
Exit a parse tree produced by thenamespaceDefinitionlabeled alternative inThriftBaseParser.header().- Parameters:
ctx- the parse tree
-
enterInclude
void enterInclude(ThriftBaseParser.IncludeContext ctx)
Enter a parse tree produced byThriftBaseParser.include().- Parameters:
ctx- the parse tree
-
exitInclude
void exitInclude(ThriftBaseParser.IncludeContext ctx)
Exit a parse tree produced byThriftBaseParser.include().- Parameters:
ctx- the parse tree
-
enterCppInclude
void enterCppInclude(ThriftBaseParser.CppIncludeContext ctx)
Enter a parse tree produced byThriftBaseParser.cppInclude().- Parameters:
ctx- the parse tree
-
exitCppInclude
void exitCppInclude(ThriftBaseParser.CppIncludeContext ctx)
Exit a parse tree produced byThriftBaseParser.cppInclude().- Parameters:
ctx- the parse tree
-
enterNamespace
void enterNamespace(ThriftBaseParser.NamespaceContext ctx)
Enter a parse tree produced byThriftBaseParser.namespace().- Parameters:
ctx- the parse tree
-
exitNamespace
void exitNamespace(ThriftBaseParser.NamespaceContext ctx)
Exit a parse tree produced byThriftBaseParser.namespace().- Parameters:
ctx- the parse tree
-
enterNamespaceScope
void enterNamespaceScope(ThriftBaseParser.NamespaceScopeContext ctx)
Enter a parse tree produced byThriftBaseParser.namespaceScope().- Parameters:
ctx- the parse tree
-
exitNamespaceScope
void exitNamespaceScope(ThriftBaseParser.NamespaceScopeContext ctx)
Exit a parse tree produced byThriftBaseParser.namespaceScope().- Parameters:
ctx- the parse tree
-
enterConstantDefinition
void enterConstantDefinition(ThriftBaseParser.ConstantDefinitionContext ctx)
Enter a parse tree produced by theconstantDefinitionlabeled alternative inThriftBaseParser.definition().- Parameters:
ctx- the parse tree
-
exitConstantDefinition
void exitConstantDefinition(ThriftBaseParser.ConstantDefinitionContext ctx)
Exit a parse tree produced by theconstantDefinitionlabeled alternative inThriftBaseParser.definition().- Parameters:
ctx- the parse tree
-
enterTypeDefinitionDefinition
void enterTypeDefinitionDefinition(ThriftBaseParser.TypeDefinitionDefinitionContext ctx)
Enter a parse tree produced by thetypeDefinitionDefinitionlabeled alternative inThriftBaseParser.definition().- Parameters:
ctx- the parse tree
-
exitTypeDefinitionDefinition
void exitTypeDefinitionDefinition(ThriftBaseParser.TypeDefinitionDefinitionContext ctx)
Exit a parse tree produced by thetypeDefinitionDefinitionlabeled alternative inThriftBaseParser.definition().- Parameters:
ctx- the parse tree
-
enterServiceDefinition
void enterServiceDefinition(ThriftBaseParser.ServiceDefinitionContext ctx)
Enter a parse tree produced by theserviceDefinitionlabeled alternative inThriftBaseParser.definition().- Parameters:
ctx- the parse tree
-
exitServiceDefinition
void exitServiceDefinition(ThriftBaseParser.ServiceDefinitionContext ctx)
Exit a parse tree produced by theserviceDefinitionlabeled alternative inThriftBaseParser.definition().- Parameters:
ctx- the parse tree
-
enterTypedefDefinition
void enterTypedefDefinition(ThriftBaseParser.TypedefDefinitionContext ctx)
Enter a parse tree produced by thetypedefDefinitionlabeled alternative inThriftBaseParser.typeDefinition().- Parameters:
ctx- the parse tree
-
exitTypedefDefinition
void exitTypedefDefinition(ThriftBaseParser.TypedefDefinitionContext ctx)
Exit a parse tree produced by thetypedefDefinitionlabeled alternative inThriftBaseParser.typeDefinition().- Parameters:
ctx- the parse tree
-
enterEnumerationDefinition
void enterEnumerationDefinition(ThriftBaseParser.EnumerationDefinitionContext ctx)
Enter a parse tree produced by theenumerationDefinitionlabeled alternative inThriftBaseParser.typeDefinition().- Parameters:
ctx- the parse tree
-
exitEnumerationDefinition
void exitEnumerationDefinition(ThriftBaseParser.EnumerationDefinitionContext ctx)
Exit a parse tree produced by theenumerationDefinitionlabeled alternative inThriftBaseParser.typeDefinition().- Parameters:
ctx- the parse tree
-
enterSenumDefinition
void enterSenumDefinition(ThriftBaseParser.SenumDefinitionContext ctx)
Enter a parse tree produced by thesenumDefinitionlabeled alternative inThriftBaseParser.typeDefinition().- Parameters:
ctx- the parse tree
-
exitSenumDefinition
void exitSenumDefinition(ThriftBaseParser.SenumDefinitionContext ctx)
Exit a parse tree produced by thesenumDefinitionlabeled alternative inThriftBaseParser.typeDefinition().- Parameters:
ctx- the parse tree
-
enterStructDefinition
void enterStructDefinition(ThriftBaseParser.StructDefinitionContext ctx)
Enter a parse tree produced by thestructDefinitionlabeled alternative inThriftBaseParser.typeDefinition().- Parameters:
ctx- the parse tree
-
exitStructDefinition
void exitStructDefinition(ThriftBaseParser.StructDefinitionContext ctx)
Exit a parse tree produced by thestructDefinitionlabeled alternative inThriftBaseParser.typeDefinition().- Parameters:
ctx- the parse tree
-
enterExceptionDefinition
void enterExceptionDefinition(ThriftBaseParser.ExceptionDefinitionContext ctx)
Enter a parse tree produced by theexceptionDefinitionlabeled alternative inThriftBaseParser.typeDefinition().- Parameters:
ctx- the parse tree
-
exitExceptionDefinition
void exitExceptionDefinition(ThriftBaseParser.ExceptionDefinitionContext ctx)
Exit a parse tree produced by theexceptionDefinitionlabeled alternative inThriftBaseParser.typeDefinition().- Parameters:
ctx- the parse tree
-
enterTypedef
void enterTypedef(ThriftBaseParser.TypedefContext ctx)
Enter a parse tree produced byThriftBaseParser.typedef().- Parameters:
ctx- the parse tree
-
exitTypedef
void exitTypedef(ThriftBaseParser.TypedefContext ctx)
Exit a parse tree produced byThriftBaseParser.typedef().- Parameters:
ctx- the parse tree
-
enterEnumeration
void enterEnumeration(ThriftBaseParser.EnumerationContext ctx)
Enter a parse tree produced byThriftBaseParser.enumeration().- Parameters:
ctx- the parse tree
-
exitEnumeration
void exitEnumeration(ThriftBaseParser.EnumerationContext ctx)
Exit a parse tree produced byThriftBaseParser.enumeration().- Parameters:
ctx- the parse tree
-
enterEnumDef
void enterEnumDef(ThriftBaseParser.EnumDefContext ctx)
Enter a parse tree produced byThriftBaseParser.enumDef().- Parameters:
ctx- the parse tree
-
exitEnumDef
void exitEnumDef(ThriftBaseParser.EnumDefContext ctx)
Exit a parse tree produced byThriftBaseParser.enumDef().- Parameters:
ctx- the parse tree
-
enterSenum
void enterSenum(ThriftBaseParser.SenumContext ctx)
Enter a parse tree produced byThriftBaseParser.senum().- Parameters:
ctx- the parse tree
-
exitSenum
void exitSenum(ThriftBaseParser.SenumContext ctx)
Exit a parse tree produced byThriftBaseParser.senum().- Parameters:
ctx- the parse tree
-
enterSenumDef
void enterSenumDef(ThriftBaseParser.SenumDefContext ctx)
Enter a parse tree produced byThriftBaseParser.senumDef().- Parameters:
ctx- the parse tree
-
exitSenumDef
void exitSenumDef(ThriftBaseParser.SenumDefContext ctx)
Exit a parse tree produced byThriftBaseParser.senumDef().- Parameters:
ctx- the parse tree
-
enterConstant
void enterConstant(ThriftBaseParser.ConstantContext ctx)
Enter a parse tree produced byThriftBaseParser.constant().- Parameters:
ctx- the parse tree
-
exitConstant
void exitConstant(ThriftBaseParser.ConstantContext ctx)
Exit a parse tree produced byThriftBaseParser.constant().- Parameters:
ctx- the parse tree
-
enterConstValue
void enterConstValue(ThriftBaseParser.ConstValueContext ctx)
Enter a parse tree produced byThriftBaseParser.constValue().- Parameters:
ctx- the parse tree
-
exitConstValue
void exitConstValue(ThriftBaseParser.ConstValueContext ctx)
Exit a parse tree produced byThriftBaseParser.constValue().- Parameters:
ctx- the parse tree
-
enterStructHead
void enterStructHead(ThriftBaseParser.StructHeadContext ctx)
Enter a parse tree produced byThriftBaseParser.structHead().- Parameters:
ctx- the parse tree
-
exitStructHead
void exitStructHead(ThriftBaseParser.StructHeadContext ctx)
Exit a parse tree produced byThriftBaseParser.structHead().- Parameters:
ctx- the parse tree
-
enterStruct
void enterStruct(ThriftBaseParser.StructContext ctx)
Enter a parse tree produced byThriftBaseParser.struct().- Parameters:
ctx- the parse tree
-
exitStruct
void exitStruct(ThriftBaseParser.StructContext ctx)
Exit a parse tree produced byThriftBaseParser.struct().- Parameters:
ctx- the parse tree
-
enterXsdAttributes
void enterXsdAttributes(ThriftBaseParser.XsdAttributesContext ctx)
Enter a parse tree produced byThriftBaseParser.xsdAttributes().- Parameters:
ctx- the parse tree
-
exitXsdAttributes
void exitXsdAttributes(ThriftBaseParser.XsdAttributesContext ctx)
Exit a parse tree produced byThriftBaseParser.xsdAttributes().- Parameters:
ctx- the parse tree
-
enterXception
void enterXception(ThriftBaseParser.XceptionContext ctx)
Enter a parse tree produced byThriftBaseParser.xception().- Parameters:
ctx- the parse tree
-
exitXception
void exitXception(ThriftBaseParser.XceptionContext ctx)
Exit a parse tree produced byThriftBaseParser.xception().- Parameters:
ctx- the parse tree
-
enterService
void enterService(ThriftBaseParser.ServiceContext ctx)
Enter a parse tree produced byThriftBaseParser.service().- Parameters:
ctx- the parse tree
-
exitService
void exitService(ThriftBaseParser.ServiceContext ctx)
Exit a parse tree produced byThriftBaseParser.service().- Parameters:
ctx- the parse tree
-
enterFunction
void enterFunction(ThriftBaseParser.FunctionContext ctx)
Enter a parse tree produced byThriftBaseParser.function().- Parameters:
ctx- the parse tree
-
exitFunction
void exitFunction(ThriftBaseParser.FunctionContext ctx)
Exit a parse tree produced byThriftBaseParser.function().- Parameters:
ctx- the parse tree
-
enterRaise
void enterRaise(ThriftBaseParser.RaiseContext ctx)
Enter a parse tree produced byThriftBaseParser.raise().- Parameters:
ctx- the parse tree
-
exitRaise
void exitRaise(ThriftBaseParser.RaiseContext ctx)
Exit a parse tree produced byThriftBaseParser.raise().- Parameters:
ctx- the parse tree
-
enterField
void enterField(ThriftBaseParser.FieldContext ctx)
Enter a parse tree produced byThriftBaseParser.field().- Parameters:
ctx- the parse tree
-
exitField
void exitField(ThriftBaseParser.FieldContext ctx)
Exit a parse tree produced byThriftBaseParser.field().- Parameters:
ctx- the parse tree
-
enterFieldID
void enterFieldID(ThriftBaseParser.FieldIDContext ctx)
Enter a parse tree produced byThriftBaseParser.fieldID().- Parameters:
ctx- the parse tree
-
exitFieldID
void exitFieldID(ThriftBaseParser.FieldIDContext ctx)
Exit a parse tree produced byThriftBaseParser.fieldID().- Parameters:
ctx- the parse tree
-
enterFieldValue
void enterFieldValue(ThriftBaseParser.FieldValueContext ctx)
Enter a parse tree produced byThriftBaseParser.fieldValue().- Parameters:
ctx- the parse tree
-
exitFieldValue
void exitFieldValue(ThriftBaseParser.FieldValueContext ctx)
Exit a parse tree produced byThriftBaseParser.fieldValue().- Parameters:
ctx- the parse tree
-
enterReturnType
void enterReturnType(ThriftBaseParser.ReturnTypeContext ctx)
Enter a parse tree produced by thereturnTypelabeled alternative inThriftBaseParser.functionType().- Parameters:
ctx- the parse tree
-
exitReturnType
void exitReturnType(ThriftBaseParser.ReturnTypeContext ctx)
Exit a parse tree produced by thereturnTypelabeled alternative inThriftBaseParser.functionType().- Parameters:
ctx- the parse tree
-
enterVoidType
void enterVoidType(ThriftBaseParser.VoidTypeContext ctx)
Enter a parse tree produced by thevoidTypelabeled alternative inThriftBaseParser.functionType().- Parameters:
ctx- the parse tree
-
exitVoidType
void exitVoidType(ThriftBaseParser.VoidTypeContext ctx)
Exit a parse tree produced by thevoidTypelabeled alternative inThriftBaseParser.functionType().- Parameters:
ctx- the parse tree
-
enterPrimitives
void enterPrimitives(ThriftBaseParser.PrimitivesContext ctx)
Enter a parse tree produced byThriftBaseParser.primitives().- Parameters:
ctx- the parse tree
-
exitPrimitives
void exitPrimitives(ThriftBaseParser.PrimitivesContext ctx)
Exit a parse tree produced byThriftBaseParser.primitives().- Parameters:
ctx- the parse tree
-
enterMapType
void enterMapType(ThriftBaseParser.MapTypeContext ctx)
Enter a parse tree produced by themapTypelabeled alternative inThriftBaseParser.fieldType().- Parameters:
ctx- the parse tree
-
exitMapType
void exitMapType(ThriftBaseParser.MapTypeContext ctx)
Exit a parse tree produced by themapTypelabeled alternative inThriftBaseParser.fieldType().- Parameters:
ctx- the parse tree
-
enterSetType
void enterSetType(ThriftBaseParser.SetTypeContext ctx)
Enter a parse tree produced by thesetTypelabeled alternative inThriftBaseParser.fieldType().- Parameters:
ctx- the parse tree
-
exitSetType
void exitSetType(ThriftBaseParser.SetTypeContext ctx)
Exit a parse tree produced by thesetTypelabeled alternative inThriftBaseParser.fieldType().- Parameters:
ctx- the parse tree
-
enterListType
void enterListType(ThriftBaseParser.ListTypeContext ctx)
Enter a parse tree produced by thelistTypelabeled alternative inThriftBaseParser.fieldType().- Parameters:
ctx- the parse tree
-
exitListType
void exitListType(ThriftBaseParser.ListTypeContext ctx)
Exit a parse tree produced by thelistTypelabeled alternative inThriftBaseParser.fieldType().- Parameters:
ctx- the parse tree
-
enterPrimitiveType
void enterPrimitiveType(ThriftBaseParser.PrimitiveTypeContext ctx)
Enter a parse tree produced by theprimitiveTypelabeled alternative inThriftBaseParser.fieldType().- Parameters:
ctx- the parse tree
-
exitPrimitiveType
void exitPrimitiveType(ThriftBaseParser.PrimitiveTypeContext ctx)
Exit a parse tree produced by theprimitiveTypelabeled alternative inThriftBaseParser.fieldType().- Parameters:
ctx- the parse tree
-
enterStructType
void enterStructType(ThriftBaseParser.StructTypeContext ctx)
Enter a parse tree produced by thestructTypelabeled alternative inThriftBaseParser.fieldType().- Parameters:
ctx- the parse tree
-
exitStructType
void exitStructType(ThriftBaseParser.StructTypeContext ctx)
Exit a parse tree produced by thestructTypelabeled alternative inThriftBaseParser.fieldType().- Parameters:
ctx- the parse tree
-
enterCommaOrSemicolon
void enterCommaOrSemicolon(ThriftBaseParser.CommaOrSemicolonContext ctx)
Enter a parse tree produced byThriftBaseParser.commaOrSemicolon().- Parameters:
ctx- the parse tree
-
exitCommaOrSemicolon
void exitCommaOrSemicolon(ThriftBaseParser.CommaOrSemicolonContext ctx)
Exit a parse tree produced byThriftBaseParser.commaOrSemicolon().- Parameters:
ctx- the parse tree
-
enterCppType
void enterCppType(ThriftBaseParser.CppTypeContext ctx)
Enter a parse tree produced byThriftBaseParser.cppType().- Parameters:
ctx- the parse tree
-
exitCppType
void exitCppType(ThriftBaseParser.CppTypeContext ctx)
Exit a parse tree produced byThriftBaseParser.cppType().- Parameters:
ctx- the parse tree
-
-