{ "__fbthrift": {"@generated": 0}, "thrift_module" : "module", "constants" : { "MyConst" : { "lineno" : 128, "value" : { "ENUMERATOR" : "enum", "CONST" : "const" }, "type_enum" : "MAP", "spec_args" : { "key_type" : { "type_enum" : "STRING", "spec_args" : null }, "val_type" : { "type_enum" : "STRING", "spec_args" : null} } , "structured_annotations" : { "structured_annotation_inline" : { "name" : "MyHackEnum" } }, "source_range" : { "begin" : { "line" : 128, "column" : 1 }, "end" : { "line" : 129, "column" : 78 } } } }, "includes": { "included" : { "path" : "included.thrift" }, "namespaced" : { "path" : "namespaced.thrift" }, "cpp" : { "path" : "thrift/annotation/cpp.thrift" } }, "enumerations" : { "MyEnum" : { "lineno" : 119, "structured_annotations" : { "structured_annotation_inline" : { "count" : 4 } }, "constants" : { "UNKNOWN" : 0, "ONE" : 1 }, "source_range" : { "begin" : { "line" : 119, "column" : 1 }, "end" : { "line" : 126, "column" : 2 } } } }, "typedefs" : { "annotated_with_default_string" : { "lineno" : 52, "type_enum" : "STRING", "spec_args" : null, "structured_annotations" : { "structured_annotation_with_default" : { } }, "source_range" : { "begin" : { "line" : 52, "column" : 1 }, "end" : { "line" : 53, "column" : 45 } } }, "annotated_inline_string" : { "lineno" : 55, "type_enum" : "STRING", "spec_args" : null, "structured_annotations" : { "structured_annotation_inline" : { "count" : 1 }, "structured_annotation_with_default" : { "name" : "abc" } }, "source_range" : { "begin" : { "line" : 55, "column" : 1 }, "end" : { "line" : 57, "column" : 39 } } }, "annotated_inline_i64" : { "lineno" : 59, "type_enum" : "I64", "spec_args" : null, "structured_annotations" : { "structured_annotation_inline" : { "count" : 2 } }, "source_range" : { "begin" : { "line" : 59, "column" : 1 }, "end" : { "line" : 60, "column" : 33 } } } }, "structs" : { "runtime_annotation" : { "lineno" : 24, "is_exception" : false, "is_union" : false, "structured_annotations" : { "cpp.RuntimeAnnotation" : { } }, "fields" : { }, "source_range" : { "begin" : { "line" : 24, "column" : 1 }, "end" : { "line" : 25, "column" : 29 } } }, "structured_annotation_inline" : { "lineno" : 27, "is_exception" : false, "is_union" : false, "fields" : { "count" : { "type_enum" : "I64", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 28, "column" : 3 }, "end" : { "line" : 28, "column" : 16 } } }, "name" : { "type_enum" : "STRING", "spec_args" : null, "required" : true, "default_value" : "abacaba", "source_range" : { "begin" : { "line" : 29, "column" : 3 }, "end" : { "line" : 29, "column" : 30 } } } }, "source_range" : { "begin" : { "line" : 27, "column" : 1 }, "end" : { "line" : 30, "column" : 2 } } }, "structured_annotation_with_default" : { "lineno" : 32, "is_exception" : false, "is_union" : false, "fields" : { "name" : { "type_enum" : "STRING", "spec_args" : null, "required" : true, "default_value" : "abacabadabacaba", "source_range" : { "begin" : { "line" : 33, "column" : 3 }, "end" : { "line" : 33, "column" : 38 } } } }, "source_range" : { "begin" : { "line" : 32, "column" : 1 }, "end" : { "line" : 34, "column" : 2 } } }, "structured_annotation_recursive" : { "lineno" : 36, "is_exception" : false, "is_union" : false, "fields" : { "name" : { "type_enum" : "STRING", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 37, "column" : 3 }, "end" : { "line" : 37, "column" : 18 } } }, "recurse" : { "type_enum" : "STRUCT", "spec_args" : "structured_annotation_recursive", "required" : false, "structured_annotations" : { "cpp.Ref" : { "type" : 0 } }, "source_range" : { "begin" : { "line" : 38, "column" : 3 }, "end" : { "line" : 39, "column" : 55 } } }, "forward" : { "type_enum" : "STRUCT", "spec_args" : "structured_annotation_forward", "required" : true, "source_range" : { "begin" : { "line" : 40, "column" : 3 }, "end" : { "line" : 40, "column" : 44 } } } }, "source_range" : { "begin" : { "line" : 36, "column" : 1 }, "end" : { "line" : 41, "column" : 2 } } }, "structured_annotation_forward" : { "lineno" : 43, "is_exception" : false, "is_union" : false, "fields" : { "count" : { "type_enum" : "I64", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 44, "column" : 3 }, "end" : { "line" : 44, "column" : 16 } } } }, "source_range" : { "begin" : { "line" : 43, "column" : 1 }, "end" : { "line" : 45, "column" : 2 } } }, "structured_annotation_nested" : { "lineno" : 47, "is_exception" : false, "is_union" : false, "fields" : { "name" : { "type_enum" : "STRING", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 48, "column" : 3 }, "end" : { "line" : 48, "column" : 18 } } }, "nest" : { "type_enum" : "STRUCT", "spec_args" : "structured_annotation_with_default", "required" : true, "source_range" : { "begin" : { "line" : 49, "column" : 3 }, "end" : { "line" : 49, "column" : 46 } } } }, "source_range" : { "begin" : { "line" : 47, "column" : 1 }, "end" : { "line" : 50, "column" : 2 } } }, "MyStruct" : { "lineno" : 62, "is_exception" : false, "is_union" : false, "structured_annotations" : { "structured_annotation_inline" : { "count" : 2 }, "structured_annotation_with_default" : { }, "structured_annotation_nested" : { "name" : "nesty2", "nest" : { "name" : "dcdbdcdadcdbdcd" } }, "included.structured_annotation_included" : { "name" : "aba" }, "test.namespace.structured_annotation_with_namespace" : { "name" : "bac" }, "runtime_annotation" : { } }, "fields" : { "annotated_field" : { "type_enum" : "I64", "spec_args" : null, "required" : true, "structured_annotations" : { "structured_annotation_inline" : { "count" : 1, "name" : "counter" }, "runtime_annotation" : { } }, "source_range" : { "begin" : { "line" : 72, "column" : 3 }, "end" : { "line" : 74, "column" : 26 } } }, "annotated_type" : { "type_enum" : "TYPEDEF", "spec_args" : "annotated_inline_string", "required" : true, "source_range" : { "begin" : { "line" : 76, "column" : 3 }, "end" : { "line" : 76, "column" : 45 } } }, "annotated_recursive" : { "type_enum" : "STRING", "spec_args" : null, "required" : true, "structured_annotations" : { "structured_annotation_recursive" : { "name" : "abc", "recurse" : { "name" : "cba" }, "forward" : { "count" : 3 } } }, "source_range" : { "begin" : { "line" : 78, "column" : 3 }, "end" : { "line" : 83, "column" : 33 } } }, "annotated_nested" : { "type_enum" : "I64", "spec_args" : null, "required" : true, "structured_annotations" : { "structured_annotation_nested" : { "name" : "nesty" } }, "source_range" : { "begin" : { "line" : 85, "column" : 3 }, "end" : { "line" : 86, "column" : 27 } } } }, "source_range" : { "begin" : { "line" : 62, "column" : 1 }, "end" : { "line" : 87, "column" : 2 } } }, "MyException" : { "lineno" : 89, "is_exception" : true, "is_union" : false, "structured_annotations" : { "structured_annotation_nested" : { "name" : "nesty" } }, "fields" : { "context" : { "type_enum" : "STRING", "spec_args" : null, "required" : true, "structured_annotations" : { "structured_annotation_with_default" : { } }, "source_range" : { "begin" : { "line" : 91, "column" : 3 }, "end" : { "line" : 92, "column" : 21 } } } }, "source_range" : { "begin" : { "line" : 89, "column" : 1 }, "end" : { "line" : 93, "column" : 2 } } }, "MyUnion" : { "lineno" : 95, "is_exception" : false, "is_union" : true, "structured_annotations" : { "structured_annotation_nested" : { "name" : "nesty", "nest" : { } } }, "fields" : { "first" : { "type_enum" : "TYPEDEF", "spec_args" : "annotated_inline_string", "required" : true, "structured_annotations" : { "structured_annotation_with_default" : { } }, "source_range" : { "begin" : { "line" : 100, "column" : 3 }, "end" : { "line" : 101, "column" : 36 } } }, "second" : { "type_enum" : "TYPEDEF", "spec_args" : "annotated_inline_i64", "required" : true, "structured_annotations" : { "structured_annotation_with_default" : { "name" : "aba" } }, "source_range" : { "begin" : { "line" : 103, "column" : 3 }, "end" : { "line" : 104, "column" : 34 } } } }, "source_range" : { "begin" : { "line" : 95, "column" : 1 }, "end" : { "line" : 105, "column" : 2 } } } }, "services" : { "MyService" : { "lineno" : 107, "structured_annotations" : { "structured_annotation_inline" : { "count" : 3 } }, "functions" : { "MyService.first" : { "return_type" : { "type_enum" : "TYPEDEF", "spec_args" : "annotated_inline_string" }, "args" : [], "throws" : [], "structured_annotations" : { "structured_annotation_with_default" : { } }, "source_range" : { "begin" : { "line" : 109, "column" : 3 }, "end" : { "line" : 110, "column" : 35 } } }, "MyService.second" : { "return_type" : { "type_enum" : "BOOL", "spec_args" : null }, "args" : [ { "name" : "count", "type_enum" : "I64", "spec_args" : null, "structured_annotations" : { "structured_annotation_inline" : { "count" : 4 } } } ], "throws" : [], "structured_annotations" : { "structured_annotation_inline" : { "count" : 2 } }, "source_range" : { "begin" : { "line" : 112, "column" : 3 }, "end" : { "line" : 116, "column" : 5 } } } }, "source_range" : { "begin" : { "line" : 107, "column" : 1 }, "end" : { "line" : 117, "column" : 2 } } } } }