Class IdlParser

java.lang.Object
org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
org.antlr.v4.runtime.Parser
org.apache.avro.idl.IdlParser

public class IdlParser extends org.antlr.v4.runtime.Parser
  • Field Details

  • Constructor Details

    • IdlParser

      public IdlParser(org.antlr.v4.runtime.TokenStream input)
  • Method Details

    • getTokenNames

      @Deprecated public String[] getTokenNames()
      Deprecated.
      Specified by:
      getTokenNames in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • getVocabulary

      public org.antlr.v4.runtime.Vocabulary getVocabulary()
      Overrides:
      getVocabulary in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • getGrammarFileName

      public String getGrammarFileName()
      Specified by:
      getGrammarFileName in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • getRuleNames

      public String[] getRuleNames()
      Specified by:
      getRuleNames in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • getSerializedATN

      public String getSerializedATN()
      Overrides:
      getSerializedATN in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • getATN

      public org.antlr.v4.runtime.atn.ATN getATN()
      Specified by:
      getATN in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • idlFile

      public final IdlParser.IdlFileContext idlFile() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • protocolDeclaration

      public final IdlParser.ProtocolDeclarationContext protocolDeclaration() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • protocolDeclarationBody

      public final IdlParser.ProtocolDeclarationBodyContext protocolDeclarationBody() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • namespaceDeclaration

      public final IdlParser.NamespaceDeclarationContext namespaceDeclaration() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • mainSchemaDeclaration

      public final IdlParser.MainSchemaDeclarationContext mainSchemaDeclaration() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • identifier

      public final IdlParser.IdentifierContext identifier() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • schemaProperty

      public final IdlParser.SchemaPropertyContext schemaProperty() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • importStatement

      public final IdlParser.ImportStatementContext importStatement() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • namedSchemaDeclaration

      public final IdlParser.NamedSchemaDeclarationContext namedSchemaDeclaration() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • fixedDeclaration

      public final IdlParser.FixedDeclarationContext fixedDeclaration() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • enumDeclaration

      public final IdlParser.EnumDeclarationContext enumDeclaration() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • enumSymbol

      public final IdlParser.EnumSymbolContext enumSymbol() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • enumDefault

      public final IdlParser.EnumDefaultContext enumDefault() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • recordDeclaration

      public final IdlParser.RecordDeclarationContext recordDeclaration() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • recordBody

      public final IdlParser.RecordBodyContext recordBody() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • fieldDeclaration

      public final IdlParser.FieldDeclarationContext fieldDeclaration() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • variableDeclaration

      public final IdlParser.VariableDeclarationContext variableDeclaration() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • messageDeclaration

      public final IdlParser.MessageDeclarationContext messageDeclaration() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • formalParameter

      public final IdlParser.FormalParameterContext formalParameter() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • resultType

      public final IdlParser.ResultTypeContext resultType() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • fullType

      public final IdlParser.FullTypeContext fullType() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • plainType

      public final IdlParser.PlainTypeContext plainType() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • nullableType

      public final IdlParser.NullableTypeContext nullableType() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • primitiveType

      public final IdlParser.PrimitiveTypeContext primitiveType() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • arrayType

      public final IdlParser.ArrayTypeContext arrayType() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • mapType

      public final IdlParser.MapTypeContext mapType() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • unionType

      public final IdlParser.UnionTypeContext unionType() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • jsonValue

      public final IdlParser.JsonValueContext jsonValue() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • jsonLiteral

      public final IdlParser.JsonLiteralContext jsonLiteral() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • jsonObject

      public final IdlParser.JsonObjectContext jsonObject() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • jsonPair

      public final IdlParser.JsonPairContext jsonPair() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • jsonArray

      public final IdlParser.JsonArrayContext jsonArray() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException