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