{"version":3,"file":"example.js","sourceRoot":"","sources":["../src/example.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,IAAI,MAAM,GAAG,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmClB,CAAC,CAAA;AAEF,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAA;AACtB,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC,CAAA;AACtC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;AAC5C,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;AAC3B,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA","sourcesContent":["import { parse } from './parse'\n\nlet parsed = parse(`syntax = \"proto3\";\npackage example;\noption java_package = \"com.example\";\noption optimize_for = SPEED;\nimport \"other.proto\";\n// example file\nenum Hello {\n  Hello = 0;\n  Welcome = 1;\n  GDay = 2;\n  Yo = 3;\n}\n\nmessage Test {\n  map<string, string> data = 1;\n  required string hello = 2;\n  oneof test {\n    uint32 age = 3;\n    uint32 year = 4;\n  }\n  message Nested {\n    optional bytes thing = 1;\n  }\n  Nested item = 5;\n  required Hello welcoming = 6;\n  /** A block comment\n    * Longer\n    * Longer\n    */\n  repeated uint32 timings = 7[deprecated=true];\n  repeated uint32 timings_info = 8 [packed=true];\n}\nservice ServiceName {\n  rpc MethodName (Hello) returns (Test);\n}\n`)\n\nconsole.log('Parsed:')\nconsole.dir(parsed, {depth: Infinity})\nconsole.log(JSON.stringify(parsed, null, 2))\nconsole.log('Stringified:')\nconsole.log(parsed.toString())\n"]}