public class TypesTree<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TypesTree.TextSource |
static class |
TypesTree.TypesProblem |
| Modifier and Type | Field and Description |
|---|---|
static int |
KIND_ERROR |
static int |
KIND_FATAL |
static int |
KIND_WARN |
static String |
PARSER_SOURCE |
| Constructor and Description |
|---|
TypesTree(TypesTree.TextSource source,
T root,
List<TypesTree.TypesProblem> errors) |
| Modifier and Type | Method and Description |
|---|---|
List<TypesTree.TypesProblem> |
getErrors() |
T |
getRoot() |
TypesTree.TextSource |
getSource() |
boolean |
hasErrors() |
static TypesTree<AstInput> |
parse(TypesTree.TextSource source) |
public static final int KIND_FATAL
public static final int KIND_ERROR
public static final int KIND_WARN
public static final String PARSER_SOURCE
public TypesTree(TypesTree.TextSource source, T root, List<TypesTree.TypesProblem> errors)
public TypesTree.TextSource getSource()
public T getRoot()
public List<TypesTree.TypesProblem> getErrors()
public boolean hasErrors()
public static TypesTree<AstInput> parse(TypesTree.TextSource source)
Copyright © 2014. All rights reserved.