public class EntityTreeParser extends antlr.TreeParser implements EntityTreeParserTokenTypes
| Modifier and Type | Field and Description |
|---|---|
static String[] |
_tokenNames |
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepthALL, ANON, ARRAY, ASSIGN, BANG, CHAR_BODY, CHAR_LITERAL, CHECK, COLON, COMMA, EOF, ESC, FIELD, HEX_DIGIT, IDENT, IMMUTABLE, LBRACK, LCURLY, LENGTH, LPAREN, MAP, MAX, MIN, ML_COMMENT, NL, NULL_TREE_LOOKAHEAD, NUMBER, OCTAL, OPTION_BLOCK, OPTIONS, PROTOTYPE, PTIDENT, RANGE, RBRACK, RCURLY, ROOT, RPAREN, SEMI, SL_COMMENT, STAR, STRING_BODY, STRING_LITERAL, TYPEREF, UNICODE, VALUE, WS| Constructor and Description |
|---|
EntityTreeParser() |
| Modifier and Type | Method and Description |
|---|---|
protected IndexedEntityCollection |
array(antlr.collections.AST _t) |
Entity |
createEntity(EntityDefinition def) |
protected void |
defaultOptions(antlr.collections.AST _t) |
protected Entity |
entity(antlr.collections.AST _t) |
protected void |
entityOption(antlr.collections.AST _t,
Entity e) |
protected void |
entityOptions(antlr.collections.AST _t,
Entity e) |
protected Entity |
field(antlr.collections.AST _t) |
protected Entity |
fieldDef(antlr.collections.AST _t) |
protected Entity |
immutable(antlr.collections.AST _t,
Entity e) |
void |
load(antlr.collections.AST _t) |
protected NamedEntityCollection |
map(antlr.collections.AST _t) |
protected String |
name(antlr.collections.AST _t) |
protected String |
optionKV(antlr.collections.AST _t) |
void |
setEntityFactory(ParserEntityFactory entityFactory) |
protected Entity |
typeRef(antlr.collections.AST _t) |
protected Entity |
value(antlr.collections.AST _t,
Entity e) |
public static final String[] _tokenNames
public EntityTreeParser()
public Entity createEntity(EntityDefinition def)
public void setEntityFactory(ParserEntityFactory entityFactory)
public final void load(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final void defaultOptions(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final String name(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final String optionKV(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final Entity entity(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final IndexedEntityCollection array(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final Entity field(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final NamedEntityCollection map(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final Entity typeRef(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final void entityOptions(antlr.collections.AST _t, Entity e) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final Entity value(antlr.collections.AST _t, Entity e) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final Entity immutable(antlr.collections.AST _t, Entity e) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final Entity fieldDef(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionExceptionprotected final void entityOption(antlr.collections.AST _t, Entity e) throws antlr.RecognitionException
antlr.RecognitionExceptionCopyright © 2008-2016 The Apache Software Foundation. All Rights Reserved.