> public static function var3()[write_props]: \facebook\thrift\test\MyStruct{ return \facebook\thrift\test\MyStruct::fromShape( shape( "field" => 30, "set_string" => Set { "10", "20", }, ) ); } /** * Original thrift constant:- * i32 var4 */ const int var4 = 40; /** * Original thrift constant:- * string var5 */ const string var5 = "50"; /** * Original thrift constant:- * module.MyStruct var6 */ <<__Memoize>> public static function var6()[write_props]: \facebook\thrift\test\MyStruct{ return \facebook\thrift\test\MyStruct::fromShape( shape( "field" => 60, "set_string" => Set { "30", "40", }, ) ); } /** * Original thrift constant:- * i32 timeout */ const int timeout = 42; /** * Original thrift constant:- * string msg */ const string msg = "hello, world"; /** * Original thrift constant:- * module.Person2 person */ <<__Memoize>> public static function person()[write_props]: \facebook\thrift\test\Person2{ return \facebook\thrift\test\Person2::fromShape( shape( "name" => "DefaultName", ) ); } /** * Original thrift constant:- * i32 timeout_no_transitive */ const int timeout_no_transitive = 420; /** * Original thrift constant:- * string msg_no_transitive */ const string msg_no_transitive = "hello, world 2"; /** * Original thrift constant:- * module.Person2 person_no_transitive */ <<__Memoize>> public static function person_no_transitive()[write_props]: \facebook\thrift\test\Person2{ return \facebook\thrift\test\Person2::fromShape( shape( "name" => "DefaultName 2", ) ); } /** * Original thrift constant:- * module.AdaptedBool type_adapted */ const \facebook\thrift\test\AdaptedBool type_adapted = true; /** * Original thrift constant:- * module.MoveOnly nested_adapted */ <<__Memoize>> public static function nested_adapted()[write_props]: \facebook\thrift\test\MoveOnly{ return \facebook\thrift\test\MoveOnly::fromShape( shape( "ptr" => \facebook\thrift\test\HeapAllocated::fromShape( shape( ) ), ) ); } /** * Original thrift constant:- * list container_of_adapted */ <<__Memoize>> public static function container_of_adapted()[write_props]: \ConstVector<\facebook\thrift\test\AdaptedByte>{ return ImmVector { 1, 2, 3, }; } public static function getAllStructuredAnnotations()[write_props]: dict> { return dict[ 'var1' => dict[ '\facebook\thrift\test\Config' => \facebook\thrift\test\Config::fromShape( shape( "path" => "foo", ) ), ], 'var2' => dict[ '\facebook\thrift\test\Config' => \facebook\thrift\test\Config::fromShape( shape( "path" => "bar", ) ), ], 'var3' => dict[ '\facebook\thrift\test\Config' => \facebook\thrift\test\Config::fromShape( shape( "path" => "baz", ) ), ], 'var4' => dict[ '\facebook\thrift\test\Config' => \facebook\thrift\test\Config::fromShape( shape( "path" => "foo2", ) ), ], 'var5' => dict[ '\facebook\thrift\test\Config' => \facebook\thrift\test\Config::fromShape( shape( "path" => "bar2", ) ), ], 'var6' => dict[ '\facebook\thrift\test\Config' => \facebook\thrift\test\Config::fromShape( shape( "path" => "baz2", ) ), ], 'timeout' => dict[ '\facebook\thrift\test\Person' => \facebook\thrift\test\Person::fromShape( shape( "name" => "Foo", ) ), ], 'msg' => dict[ '\facebook\thrift\test\Person' => \facebook\thrift\test\Person::fromShape( shape( "name" => "Bar", ) ), ], 'person' => dict[ '\facebook\thrift\test\Person' => \facebook\thrift\test\Person::fromShape( shape( "name" => "NameFromAnnotation", ) ), ], 'timeout_no_transitive' => dict[ '\facebook\thrift\annotation\cpp\Adapter' => \facebook\thrift\annotation\cpp\Adapter::fromShape( shape( "name" => "::apache::thrift::test::VariableAdapter", ) ), ], 'msg_no_transitive' => dict[ '\facebook\thrift\annotation\cpp\Adapter' => \facebook\thrift\annotation\cpp\Adapter::fromShape( shape( "name" => "::apache::thrift::test::VariableAdapter", ) ), ], 'person_no_transitive' => dict[ '\facebook\thrift\annotation\cpp\Adapter' => \facebook\thrift\annotation\cpp\Adapter::fromShape( shape( "name" => "::apache::thrift::test::VariableAdapter", ) ), ], ]; } }