|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Untamed:
Method Summary | |
AstroTag |
getLiteralCharTag()
Enabled: Gets the tag for representing character literals. |
AstroTag |
getLiteralFloat64Tag()
Enabled: Gets the tag for representing floating point literals. |
AstroTag |
getLiteralIntegerTag()
Enabled: Gets the tag for representing integer literals. |
AstroTag |
getLiteralStringTag()
Enabled: Gets the tag for representing String literals. |
AstroTag |
getOptTagForCode(short tagCode)
Enabled: Returns the tag represented by this tag code in the grammar described by this schema, or null. |
AstroTag |
getOptTagForName(String tagName)
Enabled: Returns the tag represented by this tag name in the grammar described by this schema, or null if this schema doesn't define this tagName. |
AstroTag |
getOptTypeTag(Class clazz)
Enabled: Gets the tag for literally representing instances of clazz, or null if clazz is the wrong kind. |
String |
getSchemaName()
Enabled: The name of the language this is a Schema for, for diagnostic purposes only. |
AstroTag |
getTagForCode(short tagCode)
Enabled: Returns the tag represented by this tag code in the grammar described by this schema, or throw an exception. |
AstroTag |
getTypeTag(Class clazz)
Enabled: Gets the tag for literally representing instances of clazz, or throws if clazz is the wrong kind. |
AstroTag |
obtainTagForName(String tagName)
Enabled: Returns the tag represented by this tag name in the grammar described by this schema. |
Method Detail |
public String getSchemaName()
public AstroTag getOptTagForCode(short tagCode)
public AstroTag getTagForCode(short tagCode)
public AstroTag getOptTagForName(String tagName)
public AstroTag obtainTagForName(String tagName)
If there is no tag defined in this schema for this name, this still returns a (typically newly allocated) tag with this tagName and this schema, but with a tagCode of -1. Even in this case, the tagName of the resulting tag will be interned.
public AstroTag getLiteralCharTag()
The literal data is canonically represented by a Character object.
public AstroTag getLiteralIntegerTag()
The literal data is canonically represented by a BigInteger object.
public AstroTag getLiteralFloat64Tag()
The literal data is canonically represented by a Double object.
public AstroTag getLiteralStringTag()
The literal data is canonically represented by a Twine object.
public AstroTag getOptTypeTag(Class clazz)
public AstroTag getTypeTag(Class clazz)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |