| Package | Description |
|---|---|
| net.morimekta.providence.reflect | |
| net.morimekta.providence.reflect.parser | |
| net.morimekta.providence.reflect.parser.internal |
| Modifier and Type | Method and Description |
|---|---|
CDocument |
TypeLoader.load(File file)
Load a thrift definition from file including all it's dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
ThriftDocument |
MessageParser.parse(InputStream in,
String name) |
ThriftDocument |
Parser.parse(InputStream in,
String name)
Parse input stream to document declaration model.
|
ThriftDocument |
ThriftParser.parse(InputStream in,
String name) |
EnumType |
ThriftParser.parseEnum(Tokenizer tokenizer,
String comment) |
void |
ThriftParser.parseIncludes(Tokenizer tokenizer,
List<String> includes) |
void |
ThriftParser.parseNamespace(Tokenizer tokenizer,
Map<String,String> namespaces) |
String |
ThriftParser.parseType(Tokenizer tokenizer,
Token token) |
| Modifier and Type | Method and Description |
|---|---|
Token |
Tokenizer.expect(String message) |
Token |
Tokenizer.expectIdentifier(String message) |
Token |
Tokenizer.expectQualifiedIdentifier(String message) |
void |
Tokenizer.expectSymbol(Symbol symbol,
String message) |
boolean |
Tokenizer.hasNext() |
String |
Token.literalValue() |
Token |
Tokenizer.next() |
Object |
ConstParser.parse(InputStream inputStream,
PDescriptor type) |
Copyright © 2016. All rights reserved.