@Ignore @Test public final void testParsed() throws Exception { walker.walk(protoParser, tree); final FileDescriptorProto proto = ((FileDescriptorProto.Builder) protoParser.getParsed().getProto()).build(); assertThat(proto, equalTo(originalProto)); }
public ParsedContext getParsed() { return new ParsedContext(fileBuilder, null, contextLookup); }
ProtoFileParser extends ProtoBaseListener { public ParsedContext getParsed() { return new ParsedContext(fileBuilder, null, contextLookup); } }
ProtoFileParser extends ProtoBaseListener { public ParsedContext getParsed() { return new ParsedContext(fileBuilder, null, contextLookup); } ProtoFileParser(final String protoName);  ProtoFileParser(final String protoName, final IBaseProtoErrorListener errorListener); }
ProtoFileParser extends ProtoBaseListener { public ParsedContext getParsed() { return new ParsedContext(fileBuilder, null, contextLookup); } ProtoFileParser(final String protoName);  ProtoFileParser(final String protoName, final IBaseProtoErrorListener errorListener); IProtoErrorListener getErrorListener(); @Override void enterProto(final ProtoContext ctx); ParsedContext getParsedWithResolution(); ParsedContext getParsed(); @Override void exitRegularImport(final RegularImportContext ctx); @Override void exitPublicImport(final PublicImportContext ctx); @Override void exitStandardFileOptionJavaPackage(final StandardFileOptionJavaPackageContext ctx); @Override void exitStandardFileOptionGoPackage(final StandardFileOptionGoPackageContext ctx); @Override void exitStandardFileOptionJavaOuterClassname(
      final StandardFileOptionJavaOuterClassnameContext ctx); @Override void exitStandardFileOptionJavaMultipleFiles(
      final StandardFileOptionJavaMultipleFilesContext ctx); @Override void exitStandardFileOptionCcGenericServices(
      final StandardFileOptionCcGenericServicesContext ctx); @Override void exitStandardFileOptionPyGenericServices(
      final StandardFileOptionPyGenericServicesContext ctx); @Override void exitStandardFileOptionJavaGenericServices(
      final StandardFileOptionJavaGenericServicesContext ctx); @Override void exitStandardFileOptionJavaGenerateEqualsAndHash(
      final StandardFileOptionJavaGenerateEqualsAndHashContext ctx); @Override void exitStandardFileOptionOptimizeFor(final StandardFileOptionOptimizeForContext ctx); @Override void exitStandardFileOptionJavaStringCheckUtf8(
      final StandardFileOptionJavaStringCheckUtf8Context ctx); @Override void exitStandardFileOptionDeprecated(final StandardFileOptionDeprecatedContext ctx); @Override void exitStandardMessageOptionMessageSetWireFormat(
      final StandardMessageOptionMessageSetWireFormatContext ctx); @Override void exitStandardMessageOptionNoStandardDescriptorAccessor(
      final StandardMessageOptionNoStandardDescriptorAccessorContext ctx); @Override void exitStandardMessageOptionDeprecated(final StandardMessageOptionDeprecatedContext ctx); @Override void exitStandardServiceOptionDeprecated(final StandardServiceOptionDeprecatedContext ctx); @Override void exitStandardMethodOptionDeprecated(final StandardMethodOptionDeprecatedContext ctx); @Override void exitStandardEnumOptionDeprecated(final StandardEnumOptionDeprecatedContext ctx); @Override void exitStandardEnumOptionAllowAlias(final StandardEnumOptionAllowAliasContext ctx); @Override void exitStandardEnumValueOptionDeprecated(
      final StandardEnumValueOptionDeprecatedContext ctx); @Override void exitStandardFieldOptionCTypeOption(final StandardFieldOptionCTypeOptionContext ctx); @Override void exitStandardFieldOptionExperimentalMapKey(
      final StandardFieldOptionExperimentalMapKeyContext ctx); @Override void exitStandardFieldOptionLazy(final StandardFieldOptionLazyContext ctx); @Override void exitStandardFieldOptionDeprecated(final StandardFieldOptionDeprecatedContext ctx); @Override void exitStandardFieldOptionWeak(final StandardFieldOptionWeakContext ctx); @Override void exitStandardFieldOptionPacked(final StandardFieldOptionPackedContext ctx); @Override void exitCustomOption(final CustomOptionContext ctx); @Override void enterMessage(final MessageContext ctx); @Override void exitMessage(final MessageContext ctx); @Override void enterGroup(final GroupContext ctx); @Override void exitGroup(final GroupContext ctx); @Override void exitExtensions(final ExtensionsContext ctx); @Override void enterEnumField(final EnumFieldContext ctx); @Override void exitEnumField(final EnumFieldContext ctx); @Override void enterEnumStatement(final EnumStatementContext ctx); @Override void exitEnumStatement(final EnumStatementContext ctx); @Override void enterExtend(final ExtendContext ctx); @Override void exitExtend(final ExtendContext ctx); @Override void enterField(final FieldContext ctx); @Override void exitField(final FieldContext ctx); @Override void exitEnumDefaultFieldOption(final EnumDefaultFieldOptionContext ctx); @Override void exitSint64FieldOption(final Sint64FieldOptionContext ctx); @Override void exitSfixed64FieldOption(final Sfixed64FieldOptionContext ctx); @Override void exitSint32FieldOption(final Sint32FieldOptionContext ctx); @Override void exitBoolFieldOption(final BoolFieldOptionContext ctx); @Override void exitInt32FieldOption(final Int32FieldOptionContext ctx); @Override void exitSfixed32FieldOption(final Sfixed32FieldOptionContext ctx); @Override void exitDoubleFieldOption(final DoubleFieldOptionContext ctx); @Override void exitFloatFieldOption(final FloatFieldOptionContext ctx); @Override void exitFixed64FieldOption(final Fixed64FieldOptionContext ctx); @Override void exitFixed32FieldOption(final Fixed32FieldOptionContext ctx); @Override void exitUint32FieldOption(final Uint32FieldOptionContext ctx); @Override void exitUint64FieldOption(final Uint64FieldOptionContext ctx); @Override void exitBytesFieldOption(final BytesFieldOptionContext ctx); @Override void exitStringFieldOption(final StringFieldOptionContext ctx); @Override void exitInt64FieldOption(final Int64FieldOptionContext ctx); @Override void enterService(final ServiceContext ctx); @Override void exitService(final ServiceContext ctx); @Override void enterMethodStatement(final MethodStatementContext ctx); @Override void exitMethodStatement(final MethodStatementContext ctx); @Override void enterOneofStatement(final OneofStatementContext ctx); @Override void exitOneofStatement(final OneofStatementContext ctx); @Override void enterOneofField(final OneofFieldContext ctx); @Override void exitOneofField(final OneofFieldContext ctx); @Override void enterOneofGroup(final OneofGroupContext ctx); @Override void exitOneofGroup(final OneofGroupContext ctx); }
ProtoFileParser extends ProtoBaseListener { public ParsedContext getParsed() { return new ParsedContext(fileBuilder, null, contextLookup); } ProtoFileParser(final String protoName);  ProtoFileParser(final String protoName, final IBaseProtoErrorListener errorListener); IProtoErrorListener getErrorListener(); @Override void enterProto(final ProtoContext ctx); ParsedContext getParsedWithResolution(); ParsedContext getParsed(); @Override void exitRegularImport(final RegularImportContext ctx); @Override void exitPublicImport(final PublicImportContext ctx); @Override void exitStandardFileOptionJavaPackage(final StandardFileOptionJavaPackageContext ctx); @Override void exitStandardFileOptionGoPackage(final StandardFileOptionGoPackageContext ctx); @Override void exitStandardFileOptionJavaOuterClassname(
      final StandardFileOptionJavaOuterClassnameContext ctx); @Override void exitStandardFileOptionJavaMultipleFiles(
      final StandardFileOptionJavaMultipleFilesContext ctx); @Override void exitStandardFileOptionCcGenericServices(
      final StandardFileOptionCcGenericServicesContext ctx); @Override void exitStandardFileOptionPyGenericServices(
      final StandardFileOptionPyGenericServicesContext ctx); @Override void exitStandardFileOptionJavaGenericServices(
      final StandardFileOptionJavaGenericServicesContext ctx); @Override void exitStandardFileOptionJavaGenerateEqualsAndHash(
      final StandardFileOptionJavaGenerateEqualsAndHashContext ctx); @Override void exitStandardFileOptionOptimizeFor(final StandardFileOptionOptimizeForContext ctx); @Override void exitStandardFileOptionJavaStringCheckUtf8(
      final StandardFileOptionJavaStringCheckUtf8Context ctx); @Override void exitStandardFileOptionDeprecated(final StandardFileOptionDeprecatedContext ctx); @Override void exitStandardMessageOptionMessageSetWireFormat(
      final StandardMessageOptionMessageSetWireFormatContext ctx); @Override void exitStandardMessageOptionNoStandardDescriptorAccessor(
      final StandardMessageOptionNoStandardDescriptorAccessorContext ctx); @Override void exitStandardMessageOptionDeprecated(final StandardMessageOptionDeprecatedContext ctx); @Override void exitStandardServiceOptionDeprecated(final StandardServiceOptionDeprecatedContext ctx); @Override void exitStandardMethodOptionDeprecated(final StandardMethodOptionDeprecatedContext ctx); @Override void exitStandardEnumOptionDeprecated(final StandardEnumOptionDeprecatedContext ctx); @Override void exitStandardEnumOptionAllowAlias(final StandardEnumOptionAllowAliasContext ctx); @Override void exitStandardEnumValueOptionDeprecated(
      final StandardEnumValueOptionDeprecatedContext ctx); @Override void exitStandardFieldOptionCTypeOption(final StandardFieldOptionCTypeOptionContext ctx); @Override void exitStandardFieldOptionExperimentalMapKey(
      final StandardFieldOptionExperimentalMapKeyContext ctx); @Override void exitStandardFieldOptionLazy(final StandardFieldOptionLazyContext ctx); @Override void exitStandardFieldOptionDeprecated(final StandardFieldOptionDeprecatedContext ctx); @Override void exitStandardFieldOptionWeak(final StandardFieldOptionWeakContext ctx); @Override void exitStandardFieldOptionPacked(final StandardFieldOptionPackedContext ctx); @Override void exitCustomOption(final CustomOptionContext ctx); @Override void enterMessage(final MessageContext ctx); @Override void exitMessage(final MessageContext ctx); @Override void enterGroup(final GroupContext ctx); @Override void exitGroup(final GroupContext ctx); @Override void exitExtensions(final ExtensionsContext ctx); @Override void enterEnumField(final EnumFieldContext ctx); @Override void exitEnumField(final EnumFieldContext ctx); @Override void enterEnumStatement(final EnumStatementContext ctx); @Override void exitEnumStatement(final EnumStatementContext ctx); @Override void enterExtend(final ExtendContext ctx); @Override void exitExtend(final ExtendContext ctx); @Override void enterField(final FieldContext ctx); @Override void exitField(final FieldContext ctx); @Override void exitEnumDefaultFieldOption(final EnumDefaultFieldOptionContext ctx); @Override void exitSint64FieldOption(final Sint64FieldOptionContext ctx); @Override void exitSfixed64FieldOption(final Sfixed64FieldOptionContext ctx); @Override void exitSint32FieldOption(final Sint32FieldOptionContext ctx); @Override void exitBoolFieldOption(final BoolFieldOptionContext ctx); @Override void exitInt32FieldOption(final Int32FieldOptionContext ctx); @Override void exitSfixed32FieldOption(final Sfixed32FieldOptionContext ctx); @Override void exitDoubleFieldOption(final DoubleFieldOptionContext ctx); @Override void exitFloatFieldOption(final FloatFieldOptionContext ctx); @Override void exitFixed64FieldOption(final Fixed64FieldOptionContext ctx); @Override void exitFixed32FieldOption(final Fixed32FieldOptionContext ctx); @Override void exitUint32FieldOption(final Uint32FieldOptionContext ctx); @Override void exitUint64FieldOption(final Uint64FieldOptionContext ctx); @Override void exitBytesFieldOption(final BytesFieldOptionContext ctx); @Override void exitStringFieldOption(final StringFieldOptionContext ctx); @Override void exitInt64FieldOption(final Int64FieldOptionContext ctx); @Override void enterService(final ServiceContext ctx); @Override void exitService(final ServiceContext ctx); @Override void enterMethodStatement(final MethodStatementContext ctx); @Override void exitMethodStatement(final MethodStatementContext ctx); @Override void enterOneofStatement(final OneofStatementContext ctx); @Override void exitOneofStatement(final OneofStatementContext ctx); @Override void enterOneofField(final OneofFieldContext ctx); @Override void exitOneofField(final OneofFieldContext ctx); @Override void enterOneofGroup(final OneofGroupContext ctx); @Override void exitOneofGroup(final OneofGroupContext ctx); static final int MAX_FIELD_NUMBER; }