Class IdlBaseListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,IdlListener
IdlListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Enter a parse tree produced byIdlParser.arrayType()
.void
Enter a parse tree produced byIdlParser.enumDeclaration()
.void
Enter a parse tree produced byIdlParser.enumDefault()
.void
Enter a parse tree produced byIdlParser.enumSymbol()
.void
enterEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Enter a parse tree produced byIdlParser.fieldDeclaration()
.void
Enter a parse tree produced byIdlParser.fixedDeclaration()
.void
Enter a parse tree produced byIdlParser.formalParameter()
.void
Enter a parse tree produced byIdlParser.fullType()
.void
Enter a parse tree produced byIdlParser.identifier()
.void
Enter a parse tree produced byIdlParser.idlFile()
.void
Enter a parse tree produced byIdlParser.importStatement()
.void
Enter a parse tree produced byIdlParser.jsonArray()
.void
Enter a parse tree produced byIdlParser.jsonLiteral()
.void
Enter a parse tree produced byIdlParser.jsonObject()
.void
Enter a parse tree produced byIdlParser.jsonPair()
.void
Enter a parse tree produced byIdlParser.jsonValue()
.void
Enter a parse tree produced byIdlParser.mainSchemaDeclaration()
.void
Enter a parse tree produced byIdlParser.mapType()
.void
Enter a parse tree produced byIdlParser.messageDeclaration()
.void
Enter a parse tree produced byIdlParser.namedSchemaDeclaration()
.void
Enter a parse tree produced byIdlParser.namespaceDeclaration()
.void
Enter a parse tree produced byIdlParser.nullableType()
.void
Enter a parse tree produced byIdlParser.plainType()
.void
Enter a parse tree produced byIdlParser.primitiveType()
.void
Enter a parse tree produced byIdlParser.protocolDeclaration()
.void
Enter a parse tree produced byIdlParser.protocolDeclarationBody()
.void
Enter a parse tree produced byIdlParser.recordBody()
.void
Enter a parse tree produced byIdlParser.recordDeclaration()
.void
Enter a parse tree produced byIdlParser.resultType()
.void
Enter a parse tree produced byIdlParser.schemaProperty()
.void
Enter a parse tree produced byIdlParser.unionType()
.void
Enter a parse tree produced byIdlParser.variableDeclaration()
.void
Exit a parse tree produced byIdlParser.arrayType()
.void
Exit a parse tree produced byIdlParser.enumDeclaration()
.void
Exit a parse tree produced byIdlParser.enumDefault()
.void
Exit a parse tree produced byIdlParser.enumSymbol()
.void
exitEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Exit a parse tree produced byIdlParser.fieldDeclaration()
.void
Exit a parse tree produced byIdlParser.fixedDeclaration()
.void
Exit a parse tree produced byIdlParser.formalParameter()
.void
Exit a parse tree produced byIdlParser.fullType()
.void
Exit a parse tree produced byIdlParser.identifier()
.void
Exit a parse tree produced byIdlParser.idlFile()
.void
Exit a parse tree produced byIdlParser.importStatement()
.void
Exit a parse tree produced byIdlParser.jsonArray()
.void
Exit a parse tree produced byIdlParser.jsonLiteral()
.void
Exit a parse tree produced byIdlParser.jsonObject()
.void
Exit a parse tree produced byIdlParser.jsonPair()
.void
Exit a parse tree produced byIdlParser.jsonValue()
.void
Exit a parse tree produced byIdlParser.mainSchemaDeclaration()
.void
Exit a parse tree produced byIdlParser.mapType()
.void
Exit a parse tree produced byIdlParser.messageDeclaration()
.void
Exit a parse tree produced byIdlParser.namedSchemaDeclaration()
.void
Exit a parse tree produced byIdlParser.namespaceDeclaration()
.void
Exit a parse tree produced byIdlParser.nullableType()
.void
Exit a parse tree produced byIdlParser.plainType()
.void
Exit a parse tree produced byIdlParser.primitiveType()
.void
Exit a parse tree produced byIdlParser.protocolDeclaration()
.void
Exit a parse tree produced byIdlParser.protocolDeclarationBody()
.void
Exit a parse tree produced byIdlParser.recordBody()
.void
Exit a parse tree produced byIdlParser.recordDeclaration()
.void
Exit a parse tree produced byIdlParser.resultType()
.void
Exit a parse tree produced byIdlParser.schemaProperty()
.void
Exit a parse tree produced byIdlParser.unionType()
.void
Exit a parse tree produced byIdlParser.variableDeclaration()
.void
visitErrorNode
(org.antlr.v4.runtime.tree.ErrorNode node) void
visitTerminal
(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
IdlBaseListener
public IdlBaseListener()
-
-
Method Details
-
enterIdlFile
Enter a parse tree produced byIdlParser.idlFile()
.The default implementation does nothing.
- Specified by:
enterIdlFile
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitIdlFile
Exit a parse tree produced byIdlParser.idlFile()
.The default implementation does nothing.
- Specified by:
exitIdlFile
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterProtocolDeclaration
Enter a parse tree produced byIdlParser.protocolDeclaration()
.The default implementation does nothing.
- Specified by:
enterProtocolDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitProtocolDeclaration
Exit a parse tree produced byIdlParser.protocolDeclaration()
.The default implementation does nothing.
- Specified by:
exitProtocolDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterProtocolDeclarationBody
Enter a parse tree produced byIdlParser.protocolDeclarationBody()
.The default implementation does nothing.
- Specified by:
enterProtocolDeclarationBody
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitProtocolDeclarationBody
Exit a parse tree produced byIdlParser.protocolDeclarationBody()
.The default implementation does nothing.
- Specified by:
exitProtocolDeclarationBody
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterNamespaceDeclaration
Enter a parse tree produced byIdlParser.namespaceDeclaration()
.The default implementation does nothing.
- Specified by:
enterNamespaceDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitNamespaceDeclaration
Exit a parse tree produced byIdlParser.namespaceDeclaration()
.The default implementation does nothing.
- Specified by:
exitNamespaceDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterMainSchemaDeclaration
Enter a parse tree produced byIdlParser.mainSchemaDeclaration()
.The default implementation does nothing.
- Specified by:
enterMainSchemaDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitMainSchemaDeclaration
Exit a parse tree produced byIdlParser.mainSchemaDeclaration()
.The default implementation does nothing.
- Specified by:
exitMainSchemaDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterIdentifier
Enter a parse tree produced byIdlParser.identifier()
.The default implementation does nothing.
- Specified by:
enterIdentifier
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitIdentifier
Exit a parse tree produced byIdlParser.identifier()
.The default implementation does nothing.
- Specified by:
exitIdentifier
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterSchemaProperty
Enter a parse tree produced byIdlParser.schemaProperty()
.The default implementation does nothing.
- Specified by:
enterSchemaProperty
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitSchemaProperty
Exit a parse tree produced byIdlParser.schemaProperty()
.The default implementation does nothing.
- Specified by:
exitSchemaProperty
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterImportStatement
Enter a parse tree produced byIdlParser.importStatement()
.The default implementation does nothing.
- Specified by:
enterImportStatement
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitImportStatement
Exit a parse tree produced byIdlParser.importStatement()
.The default implementation does nothing.
- Specified by:
exitImportStatement
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterNamedSchemaDeclaration
Enter a parse tree produced byIdlParser.namedSchemaDeclaration()
.The default implementation does nothing.
- Specified by:
enterNamedSchemaDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitNamedSchemaDeclaration
Exit a parse tree produced byIdlParser.namedSchemaDeclaration()
.The default implementation does nothing.
- Specified by:
exitNamedSchemaDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterFixedDeclaration
Enter a parse tree produced byIdlParser.fixedDeclaration()
.The default implementation does nothing.
- Specified by:
enterFixedDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitFixedDeclaration
Exit a parse tree produced byIdlParser.fixedDeclaration()
.The default implementation does nothing.
- Specified by:
exitFixedDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterEnumDeclaration
Enter a parse tree produced byIdlParser.enumDeclaration()
.The default implementation does nothing.
- Specified by:
enterEnumDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitEnumDeclaration
Exit a parse tree produced byIdlParser.enumDeclaration()
.The default implementation does nothing.
- Specified by:
exitEnumDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterEnumSymbol
Enter a parse tree produced byIdlParser.enumSymbol()
.The default implementation does nothing.
- Specified by:
enterEnumSymbol
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitEnumSymbol
Exit a parse tree produced byIdlParser.enumSymbol()
.The default implementation does nothing.
- Specified by:
exitEnumSymbol
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterEnumDefault
Enter a parse tree produced byIdlParser.enumDefault()
.The default implementation does nothing.
- Specified by:
enterEnumDefault
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitEnumDefault
Exit a parse tree produced byIdlParser.enumDefault()
.The default implementation does nothing.
- Specified by:
exitEnumDefault
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterRecordDeclaration
Enter a parse tree produced byIdlParser.recordDeclaration()
.The default implementation does nothing.
- Specified by:
enterRecordDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitRecordDeclaration
Exit a parse tree produced byIdlParser.recordDeclaration()
.The default implementation does nothing.
- Specified by:
exitRecordDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterRecordBody
Enter a parse tree produced byIdlParser.recordBody()
.The default implementation does nothing.
- Specified by:
enterRecordBody
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitRecordBody
Exit a parse tree produced byIdlParser.recordBody()
.The default implementation does nothing.
- Specified by:
exitRecordBody
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterFieldDeclaration
Enter a parse tree produced byIdlParser.fieldDeclaration()
.The default implementation does nothing.
- Specified by:
enterFieldDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitFieldDeclaration
Exit a parse tree produced byIdlParser.fieldDeclaration()
.The default implementation does nothing.
- Specified by:
exitFieldDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterVariableDeclaration
Enter a parse tree produced byIdlParser.variableDeclaration()
.The default implementation does nothing.
- Specified by:
enterVariableDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitVariableDeclaration
Exit a parse tree produced byIdlParser.variableDeclaration()
.The default implementation does nothing.
- Specified by:
exitVariableDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterMessageDeclaration
Enter a parse tree produced byIdlParser.messageDeclaration()
.The default implementation does nothing.
- Specified by:
enterMessageDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitMessageDeclaration
Exit a parse tree produced byIdlParser.messageDeclaration()
.The default implementation does nothing.
- Specified by:
exitMessageDeclaration
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterFormalParameter
Enter a parse tree produced byIdlParser.formalParameter()
.The default implementation does nothing.
- Specified by:
enterFormalParameter
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitFormalParameter
Exit a parse tree produced byIdlParser.formalParameter()
.The default implementation does nothing.
- Specified by:
exitFormalParameter
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterResultType
Enter a parse tree produced byIdlParser.resultType()
.The default implementation does nothing.
- Specified by:
enterResultType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitResultType
Exit a parse tree produced byIdlParser.resultType()
.The default implementation does nothing.
- Specified by:
exitResultType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterFullType
Enter a parse tree produced byIdlParser.fullType()
.The default implementation does nothing.
- Specified by:
enterFullType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitFullType
Exit a parse tree produced byIdlParser.fullType()
.The default implementation does nothing.
- Specified by:
exitFullType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterPlainType
Enter a parse tree produced byIdlParser.plainType()
.The default implementation does nothing.
- Specified by:
enterPlainType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitPlainType
Exit a parse tree produced byIdlParser.plainType()
.The default implementation does nothing.
- Specified by:
exitPlainType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterNullableType
Enter a parse tree produced byIdlParser.nullableType()
.The default implementation does nothing.
- Specified by:
enterNullableType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitNullableType
Exit a parse tree produced byIdlParser.nullableType()
.The default implementation does nothing.
- Specified by:
exitNullableType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterPrimitiveType
Enter a parse tree produced byIdlParser.primitiveType()
.The default implementation does nothing.
- Specified by:
enterPrimitiveType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitPrimitiveType
Exit a parse tree produced byIdlParser.primitiveType()
.The default implementation does nothing.
- Specified by:
exitPrimitiveType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterArrayType
Enter a parse tree produced byIdlParser.arrayType()
.The default implementation does nothing.
- Specified by:
enterArrayType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitArrayType
Exit a parse tree produced byIdlParser.arrayType()
.The default implementation does nothing.
- Specified by:
exitArrayType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterMapType
Enter a parse tree produced byIdlParser.mapType()
.The default implementation does nothing.
- Specified by:
enterMapType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitMapType
Exit a parse tree produced byIdlParser.mapType()
.The default implementation does nothing.
- Specified by:
exitMapType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterUnionType
Enter a parse tree produced byIdlParser.unionType()
.The default implementation does nothing.
- Specified by:
enterUnionType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitUnionType
Exit a parse tree produced byIdlParser.unionType()
.The default implementation does nothing.
- Specified by:
exitUnionType
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterJsonValue
Enter a parse tree produced byIdlParser.jsonValue()
.The default implementation does nothing.
- Specified by:
enterJsonValue
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitJsonValue
Exit a parse tree produced byIdlParser.jsonValue()
.The default implementation does nothing.
- Specified by:
exitJsonValue
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterJsonLiteral
Enter a parse tree produced byIdlParser.jsonLiteral()
.The default implementation does nothing.
- Specified by:
enterJsonLiteral
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitJsonLiteral
Exit a parse tree produced byIdlParser.jsonLiteral()
.The default implementation does nothing.
- Specified by:
exitJsonLiteral
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterJsonObject
Enter a parse tree produced byIdlParser.jsonObject()
.The default implementation does nothing.
- Specified by:
enterJsonObject
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitJsonObject
Exit a parse tree produced byIdlParser.jsonObject()
.The default implementation does nothing.
- Specified by:
exitJsonObject
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterJsonPair
Enter a parse tree produced byIdlParser.jsonPair()
.The default implementation does nothing.
- Specified by:
enterJsonPair
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitJsonPair
Exit a parse tree produced byIdlParser.jsonPair()
.The default implementation does nothing.
- Specified by:
exitJsonPair
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterJsonArray
Enter a parse tree produced byIdlParser.jsonArray()
.The default implementation does nothing.
- Specified by:
enterJsonArray
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
exitJsonArray
Exit a parse tree produced byIdlParser.jsonArray()
.The default implementation does nothing.
- Specified by:
exitJsonArray
in interfaceIdlListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-