{ "__fbthrift": {"@generated": 0}, "thrift_module" : "module", "constants" : { "FLAG" : { "lineno" : 27, "value" : true, "type_enum" : "BOOL", "spec_args" : null, "source_range" : { "begin" : { "line" : 27, "column" : 1 }, "end" : { "line" : 27, "column" : 24 } } }, "OFFSET" : { "lineno" : 28, "value" : -10, "type_enum" : "BYTE", "spec_args" : null, "source_range" : { "begin" : { "line" : 28, "column" : 1 }, "end" : { "line" : 28, "column" : 25 } } }, "COUNT" : { "lineno" : 29, "value" : 200, "type_enum" : "I16", "spec_args" : null, "source_range" : { "begin" : { "line" : 29, "column" : 1 }, "end" : { "line" : 29, "column" : 23 } } }, "MASK" : { "lineno" : 30, "value" : 16388846, "type_enum" : "I32", "spec_args" : null, "source_range" : { "begin" : { "line" : 30, "column" : 1 }, "end" : { "line" : 30, "column" : 27 } } }, "E" : { "lineno" : 31, "value" : 2.71828, "type_enum" : "DOUBLE", "spec_args" : null, "source_range" : { "begin" : { "line" : 31, "column" : 1 }, "end" : { "line" : 31, "column" : 33 } } }, "DATE" : { "lineno" : 32, "value" : "June 28, 2017", "type_enum" : "STRING", "spec_args" : null, "source_range" : { "begin" : { "line" : 32, "column" : 1 }, "end" : { "line" : 32, "column" : 37 } } }, "AList" : { "lineno" : 34, "value" : [ 2, 3, 5, 7 ], "type_enum" : "LIST", "spec_args" : { "type_enum" : "I32", "spec_args" : null} , "source_range" : { "begin" : { "line" : 34, "column" : 1 }, "end" : { "line" : 34, "column" : 38 } } }, "ASet" : { "lineno" : 36, "value" : [ "foo", "bar", "baz" ], "type_enum" : "SET", "spec_args" : { "type_enum" : "STRING", "spec_args" : null} , "source_range" : { "begin" : { "line" : 36, "column" : 1 }, "end" : { "line" : 36, "column" : 48 } } }, "AMap" : { "lineno" : 38, "value" : { "foo" : [ 1, 2, 3, 4 ], "bar" : [ 10, 32, 54 ] }, "type_enum" : "MAP", "spec_args" : { "key_type" : { "type_enum" : "STRING", "spec_args" : null }, "val_type" : { "type_enum" : "LIST", "spec_args" : { "type_enum" : "I32", "spec_args" : null} } } , "source_range" : { "begin" : { "line" : 38, "column" : 1 }, "end" : { "line" : 38, "column" : 80 } } } }, "includes": { "hack" : { "path" : "thrift/annotation/hack.thrift" }, "thrift" : { "path" : "thrift/annotation/thrift.thrift" } }, "enumerations" : { "MyEnum" : { "lineno" : 40, "constants" : { "MyValue1" : 0, "MyValue2" : 1 }, "source_range" : { "begin" : { "line" : 40, "column" : 1 }, "end" : { "line" : 43, "column" : 2 } } }, "HackEnum" : { "lineno" : 100, "constants" : { "Value1" : 0, "Value2" : 1 }, "source_range" : { "begin" : { "line" : 100, "column" : 1 }, "end" : { "line" : 105, "column" : 2 } } } }, "typedefs" : { "MyEnumAlias" : { "lineno" : 45, "type_enum" : "ENUM", "spec_args" : "MyEnum", "source_range" : { "begin" : { "line" : 45, "column" : 1 }, "end" : { "line" : 45, "column" : 27 } } }, "MyDataItemAlias" : { "lineno" : 69, "type_enum" : "STRUCT", "spec_args" : "MyDataItem", "source_range" : { "begin" : { "line" : 69, "column" : 1 }, "end" : { "line" : 69, "column" : 35 } } } }, "structs" : { "MyStruct" : { "lineno" : 47, "is_exception" : false, "is_union" : false, "fields" : { "MyIntField" : { "type_enum" : "I64", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 48, "column" : 3 }, "end" : { "line" : 48, "column" : 21 } } }, "MyStringField" : { "type_enum" : "STRING", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 49, "column" : 3 }, "end" : { "line" : 49, "column" : 27 } } }, "MyDataField" : { "type_enum" : "TYPEDEF", "spec_args" : "MyDataItemAlias", "required" : true, "source_range" : { "begin" : { "line" : 51, "column" : 3 }, "end" : { "line" : 51, "column" : 34 } } }, "myEnum" : { "type_enum" : "ENUM", "spec_args" : "MyEnum", "required" : true, "source_range" : { "begin" : { "line" : 52, "column" : 3 }, "end" : { "line" : 52, "column" : 20 } } }, "oneway" : { "type_enum" : "BOOL", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 53, "column" : 3 }, "end" : { "line" : 53, "column" : 18 } } }, "readonly" : { "type_enum" : "BOOL", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 54, "column" : 3 }, "end" : { "line" : 54, "column" : 20 } } }, "idempotent" : { "type_enum" : "BOOL", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 55, "column" : 3 }, "end" : { "line" : 55, "column" : 22 } } }, "floatSet" : { "type_enum" : "SET", "spec_args" : { "type_enum" : "FLOAT", "spec_args" : null} , "required" : true, "source_range" : { "begin" : { "line" : 56, "column" : 3 }, "end" : { "line" : 57, "column" : 26 } } }, "no_hack_codegen_field" : { "type_enum" : "STRING", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 58, "column" : 3 }, "end" : { "line" : 59, "column" : 35 } } } }, "source_range" : { "begin" : { "line" : 47, "column" : 1 }, "end" : { "line" : 60, "column" : 2 } } }, "Containers" : { "lineno" : 62, "is_exception" : false, "is_union" : false, "fields" : { "I32List" : { "type_enum" : "LIST", "spec_args" : { "type_enum" : "I32", "spec_args" : null} , "required" : true, "source_range" : { "begin" : { "line" : 63, "column" : 3 }, "end" : { "line" : 63, "column" : 24 } } }, "StringSet" : { "type_enum" : "SET", "spec_args" : { "type_enum" : "STRING", "spec_args" : null} , "required" : true, "source_range" : { "begin" : { "line" : 64, "column" : 3 }, "end" : { "line" : 64, "column" : 28 } } }, "StringToI64Map" : { "type_enum" : "MAP", "spec_args" : { "key_type" : { "type_enum" : "STRING", "spec_args" : null }, "val_type" : { "type_enum" : "I64", "spec_args" : null} } , "required" : true, "source_range" : { "begin" : { "line" : 65, "column" : 3 }, "end" : { "line" : 65, "column" : 38 } } } }, "source_range" : { "begin" : { "line" : 62, "column" : 1 }, "end" : { "line" : 66, "column" : 2 } } }, "MyDataItem" : { "lineno" : 68, "is_exception" : false, "is_union" : false, "fields" : { }, "source_range" : { "begin" : { "line" : 68, "column" : 1 }, "end" : { "line" : 68, "column" : 21 } } }, "MyUnion" : { "lineno" : 71, "is_exception" : false, "is_union" : true, "fields" : { "myEnum" : { "type_enum" : "TYPEDEF", "spec_args" : "MyEnumAlias", "required" : true, "source_range" : { "begin" : { "line" : 72, "column" : 3 }, "end" : { "line" : 72, "column" : 25 } } }, "myStruct" : { "type_enum" : "STRUCT", "spec_args" : "MyStruct", "required" : true, "source_range" : { "begin" : { "line" : 73, "column" : 3 }, "end" : { "line" : 73, "column" : 24 } } }, "myDataItem" : { "type_enum" : "STRUCT", "spec_args" : "MyDataItem", "required" : true, "source_range" : { "begin" : { "line" : 74, "column" : 3 }, "end" : { "line" : 74, "column" : 28 } } }, "floatSet" : { "type_enum" : "SET", "spec_args" : { "type_enum" : "FLOAT", "spec_args" : null} , "required" : true, "source_range" : { "begin" : { "line" : 75, "column" : 3 }, "end" : { "line" : 76, "column" : 26 } } } }, "source_range" : { "begin" : { "line" : 71, "column" : 1 }, "end" : { "line" : 77, "column" : 2 } } }, "MyException" : { "lineno" : 79, "is_exception" : true, "is_union" : false, "fields" : { "MyIntField" : { "type_enum" : "I64", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 80, "column" : 3 }, "end" : { "line" : 80, "column" : 21 } } }, "MyStringField" : { "type_enum" : "STRING", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 81, "column" : 3 }, "end" : { "line" : 81, "column" : 27 } } }, "myStruct" : { "type_enum" : "STRUCT", "spec_args" : "MyStruct", "required" : true, "source_range" : { "begin" : { "line" : 82, "column" : 3 }, "end" : { "line" : 82, "column" : 24 } } }, "myUnion" : { "type_enum" : "STRUCT", "spec_args" : "MyUnion", "required" : true, "source_range" : { "begin" : { "line" : 83, "column" : 3 }, "end" : { "line" : 83, "column" : 22 } } } }, "source_range" : { "begin" : { "line" : 79, "column" : 1 }, "end" : { "line" : 84, "column" : 2 } } }, "MyExceptionWithMessage" : { "lineno" : 86, "is_exception" : true, "is_union" : false, "fields" : { "MyIntField" : { "type_enum" : "I64", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 87, "column" : 3 }, "end" : { "line" : 87, "column" : 21 } } }, "MyStringField" : { "type_enum" : "STRING", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 88, "column" : 3 }, "end" : { "line" : 89, "column" : 27 } } }, "myStruct" : { "type_enum" : "STRUCT", "spec_args" : "MyStruct", "required" : true, "source_range" : { "begin" : { "line" : 90, "column" : 3 }, "end" : { "line" : 90, "column" : 24 } } }, "myUnion" : { "type_enum" : "STRUCT", "spec_args" : "MyUnion", "required" : true, "source_range" : { "begin" : { "line" : 91, "column" : 3 }, "end" : { "line" : 91, "column" : 22 } } } }, "source_range" : { "begin" : { "line" : 86, "column" : 1 }, "end" : { "line" : 92, "column" : 2 } } }, "ReservedKeyword" : { "lineno" : 94, "is_exception" : false, "is_union" : false, "fields" : { "reserved_field" : { "type_enum" : "I32", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 96, "column" : 3 }, "end" : { "line" : 97, "column" : 25 } } } }, "source_range" : { "begin" : { "line" : 94, "column" : 1 }, "end" : { "line" : 98, "column" : 2 } } }, "UnionToBeRenamed" : { "lineno" : 107, "is_exception" : false, "is_union" : true, "fields" : { "reserved_field" : { "type_enum" : "I32", "spec_args" : null, "required" : true, "source_range" : { "begin" : { "line" : 109, "column" : 3 }, "end" : { "line" : 110, "column" : 25 } } } }, "source_range" : { "begin" : { "line" : 107, "column" : 1 }, "end" : { "line" : 111, "column" : 2 } } } }, "services" : { "FooService" : { "lineno" : 113, "functions" : { "FooService.simple_rpc" : { "return_type" : { "type_enum" : "VOID", "spec_args" : null }, "args" : [], "throws" : [], "source_range" : { "begin" : { "line" : 115, "column" : 3 }, "end" : { "line" : 115, "column" : 21 } } } }, "source_range" : { "begin" : { "line" : 113, "column" : 1 }, "end" : { "line" : 116, "column" : 2 } } }, "FB303Service" : { "lineno" : 118, "functions" : { "FB303Service.simple_rpc" : { "return_type" : { "type_enum" : "STRUCT", "spec_args" : "ReservedKeyword" }, "args" : [ { "name" : "int_parameter", "type_enum" : "I32", "spec_args" : null } ], "throws" : [], "source_range" : { "begin" : { "line" : 119, "column" : 3 }, "end" : { "line" : 123, "column" : 5 } } } }, "source_range" : { "begin" : { "line" : 118, "column" : 1 }, "end" : { "line" : 124, "column" : 2 } } }, "MyService" : { "lineno" : 126, "functions" : { "MyService.ping" : { "return_type" : { "type_enum" : "VOID", "spec_args" : null }, "args" : [], "throws" : [], "source_range" : { "begin" : { "line" : 127, "column" : 3 }, "end" : { "line" : 127, "column" : 15 } } }, "MyService.getRandomData" : { "return_type" : { "type_enum" : "STRING", "spec_args" : null }, "args" : [], "throws" : [], "source_range" : { "begin" : { "line" : 128, "column" : 3 }, "end" : { "line" : 128, "column" : 26 } } }, "MyService.sink" : { "return_type" : { "type_enum" : "VOID", "spec_args" : null }, "args" : [ { "name" : "sink", "type_enum" : "I64", "spec_args" : null } ], "throws" : [], "source_range" : { "begin" : { "line" : 129, "column" : 3 }, "end" : { "line" : 129, "column" : 26 } } }, "MyService.putDataById" : { "return_type" : { "type_enum" : "VOID", "spec_args" : null }, "args" : [ { "name" : "id", "type_enum" : "I64", "spec_args" : null }, { "name" : "data", "type_enum" : "STRING", "spec_args" : null } ], "throws" : [], "source_range" : { "begin" : { "line" : 131, "column" : 3 }, "end" : { "line" : 131, "column" : 47 } } }, "MyService.hasDataById" : { "return_type" : { "type_enum" : "BOOL", "spec_args" : null }, "args" : [ { "name" : "id", "type_enum" : "I64", "spec_args" : null } ], "throws" : [], "source_range" : { "begin" : { "line" : 132, "column" : 3 }, "end" : { "line" : 132, "column" : 40 } } }, "MyService.getDataById" : { "return_type" : { "type_enum" : "STRING", "spec_args" : null }, "args" : [ { "name" : "id", "type_enum" : "I64", "spec_args" : null } ], "throws" : [], "source_range" : { "begin" : { "line" : 133, "column" : 3 }, "end" : { "line" : 133, "column" : 42 } } }, "MyService.deleteDataById" : { "return_type" : { "type_enum" : "VOID", "spec_args" : null }, "args" : [ { "name" : "id", "type_enum" : "I64", "spec_args" : null } ], "throws" : [], "source_range" : { "begin" : { "line" : 134, "column" : 3 }, "end" : { "line" : 134, "column" : 45 } } }, "MyService.lobDataById" : { "return_type" : { "type_enum" : "VOID", "spec_args" : null }, "args" : [ { "name" : "id", "type_enum" : "I64", "spec_args" : null }, { "name" : "data", "type_enum" : "STRING", "spec_args" : null } ], "throws" : [], "source_range" : { "begin" : { "line" : 135, "column" : 3 }, "end" : { "line" : 135, "column" : 54 } } }, "MyService.invalid_return_for_hack" : { "return_type" : { "type_enum" : "SET", "spec_args" : { "type_enum" : "FLOAT", "spec_args" : null} }, "args" : [], "throws" : [], "source_range" : { "begin" : { "line" : 137, "column" : 3 }, "end" : { "line" : 138, "column" : 40 } } }, "MyService.rpc_skipped_codegen" : { "return_type" : { "type_enum" : "VOID", "spec_args" : null }, "args" : [], "throws" : [], "source_range" : { "begin" : { "line" : 140, "column" : 3 }, "end" : { "line" : 141, "column" : 30 } } } }, "source_range" : { "begin" : { "line" : 126, "column" : 1 }, "end" : { "line" : 142, "column" : 2 } } }, "DbMixedStackArguments" : { "lineno" : 144, "functions" : { "DbMixedStackArguments.getDataByKey0" : { "return_type" : { "type_enum" : "STRING", "spec_args" : null }, "args" : [ { "name" : "key", "type_enum" : "STRING", "spec_args" : null } ], "throws" : [], "source_range" : { "begin" : { "line" : 145, "column" : 3 }, "end" : { "line" : 145, "column" : 39 } } }, "DbMixedStackArguments.getDataByKey1" : { "return_type" : { "type_enum" : "STRING", "spec_args" : null }, "args" : [ { "name" : "key", "type_enum" : "STRING", "spec_args" : null } ], "throws" : [], "source_range" : { "begin" : { "line" : 146, "column" : 3 }, "end" : { "line" : 146, "column" : 39 } } } }, "source_range" : { "begin" : { "line" : 144, "column" : 1 }, "end" : { "line" : 147, "column" : 2 } } } } }