thriftee-test-objects.0.4.0.source-code.everything.thrift Maven / Gradle / Ivy
/** this is just a test IDL file for trying out things with the XML protocol */
namespace java everything
namespace xml evrything // (targetNamespace = "http://example.com/ns", test = "any")
include "nothing_all_at_once.thrift"
const byte I8_CONST = 42
const i64 I64_CONST = 42000000000
const i32 INT_CONST = 42
const string STR_CONST = "test constant string"
const double DBL_CONST = 42.0
/** this is a set const */
const set SET_CONST = [ 'test1', 'test2', 'test3' ]
/** an enum doc */
enum Spinkle {
HRRR, /** this is the second member */ PPOL /*(order = "second")*/, REWT
}
/** this is a list const */
const list LIST_CONST = [ 'test3', 'test5', 'test6' ]
const map MAP_CONST = { 'test7': 'test8', 'test9' : 'test10' }
const map> MAP_MAP_CONST = {
42 : { 'test7': 'test8', 'test9' : 'test10' },
43 : { 'test7': 'test8', 'test9' : 'test10' }
}
const map ENUM_MAP_CONST = { Spinkle.PPOL : "test" }
typedef i32 dukk
typedef i32 int32
typedef Sprat poig
typedef Spirfle plorp
/**
* this goes with a typedef.
* also it has line breaks.
*/
typedef nothing_all_at_once.Blotto hammlegaff //(it.also = 'has.annotations')
typedef set setdef
typedef list listdef
typedef map mapdef
typedef list
© 2015 - 2025 Weber Informatics LLC | Privacy Policy