| Class | Description |
|---|---|
| Declaration |
( <enum> | <typedef> | <struct> | <service> | <const> )
|
| Declaration._Builder | |
| EnumType |
enum {
(<value> ([;,])?)*
}
|
| EnumType._Builder | |
| EnumValue |
<name> (= <value>)
|
| EnumValue._Builder | |
| Model_Constants |
Reflective thrift IDL description.
|
| Requirement._Builder | |
| ServiceMethod |
(oneway)? <return_type> <name>'('<param>*')' (throws '(' <exception>+ ')')?
|
| ServiceMethod._Builder | |
| ServiceType |
service (extends <extend>)? {
(<method> [;,]?)*
}
|
| ServiceType._Builder | |
| StructType |
<variant> {
(<field> ([,;])?)*
}
|
| StructType._Builder | |
| StructVariant._Builder | |
| ThriftDocument |
<namespace>* <include>* <declataion>*
|
| ThriftDocument._Builder | |
| ThriftField |
For fields:
(<key>:)? (required|optional)? <type> <name> (= <default_value>)?
For const:
const <type> <name> = <default_value>
|
| ThriftField._Builder | |
| TypedefType |
typedef <type> <name>
|
| TypedefType._Builder |
| Enum | Description |
|---|---|
| Declaration._Field | |
| EnumType._Field | |
| EnumValue._Field | |
| Requirement |
The requirement of the field.
|
| ServiceMethod._Field | |
| ServiceType._Field | |
| StructType._Field | |
| StructVariant |
Struct variant for StructType.
|
| ThriftDocument._Field | |
| ThriftField._Field | |
| TypedefType._Field |
Copyright © 2016. All rights reserved.