public class StringElement extends SimpleElement implements java.lang.Cloneable
isDataProperty, isObjectProperty
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
tokenString_LITERAL |
clazz_visited, getId_computed, getId_value, getId_visited, iri_visited, isClass_visited, isDataProperty_visited, isIndividual_visited, isObjectProperty_visited, name_visited, range_computed, range_value, range_visited, type_computed, type_value, type_visited
findDecl_String_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getSubClasses_OwlClassDecl_ArrayList_visited, getSuperClass_String_visited, goStart_visited, in$Circle, is$Final, numChildren, state
children, id, parent, parser
Constructor and Description |
---|
StringElement() |
StringElement(int i) |
StringElement(OwlParser p,
int i) |
StringElement(java.lang.String p0) |
Modifier and Type | Method and Description |
---|---|
void |
checkChild(Node n,
int i) |
StringElement |
clone() |
StringElement |
copy() |
void |
dumpTree(java.lang.String indent,
java.io.PrintStream out) |
void |
flushAttrCache() |
void |
flushCollectionCache() |
void |
flushRewriteCache() |
StringElement |
fullCopy()
Deprecated.
Please use emitTreeCopy or emitTreeCopyNoTransform instead
|
java.lang.String |
getLITERAL()
Retrieves the value for the lexeme LITERAL.
|
int |
getNumChild() |
void |
init$Children()
Initializes the child array to the correct size.
|
protected boolean |
is$Equal(ASTNode node) |
java.lang.Object |
jjtAccept(OwlParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
void |
jjtAddChild(Node n,
int i)
This method tells the node to add its argument to the node's
list of children.
|
boolean |
mayHaveRewrite() |
ASTNode |
rewriteTo() |
void |
setLITERAL(java.lang.String value)
Replaces the lexeme LITERAL.
|
StringElement |
treeCopy()
Create a deep copy of the AST subtree at this node.
|
StringElement |
treeCopyNoTransform()
Create a deep copy of the AST subtree at this node.
|
clazz, getId, iri, isClass, isDataProperty, isIndividual, isObjectProperty, name, range, type
addChild, doFullTraversal, duringRewriteClasses, findDecl, flushCache, flushTreeCache, genMisc, genPrettyPrinter, genRewrites, getChild, getChildNoTransform, getIndexOfChild, getNumChildNoTransform, getParent, getSubClasses, getSuperClass, goStart, grammarName, in$Circle, in$Circle, ind, insertChild, is$Equal, is$Final, is$Final, iterator, numChildren, removeChild, setChild, setGrammarName, setParent, state
childrenAccept, dump, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
public StringElement(int i)
public StringElement(OwlParser p, int i)
public StringElement()
public StringElement(java.lang.String p0)
public void init$Children()
init$Children
in class SimpleElement
public void dumpTree(java.lang.String indent, java.io.PrintStream out)
dumpTree
in class SimpleElement
public java.lang.Object jjtAccept(OwlParserVisitor visitor, java.lang.Object data)
SimpleNode
jjtAccept
in interface Node
jjtAccept
in class SimpleElement
public void jjtAddChild(Node n, int i)
Node
jjtAddChild
in interface Node
jjtAddChild
in class SimpleElement
public void checkChild(Node n, int i)
checkChild
in class SimpleElement
public int getNumChild()
getNumChild
in class SimpleElement
public boolean mayHaveRewrite()
mayHaveRewrite
in class SimpleElement
public void flushAttrCache()
flushAttrCache
in class SimpleElement
public void flushCollectionCache()
flushCollectionCache
in class SimpleElement
public void flushRewriteCache()
flushRewriteCache
in class SimpleElement
public StringElement clone() throws java.lang.CloneNotSupportedException
clone
in class SimpleElement
java.lang.CloneNotSupportedException
public StringElement copy()
public StringElement fullCopy()
fullCopy
in class SimpleElement
public StringElement treeCopyNoTransform()
treeCopyNoTransform
in class SimpleElement
public StringElement treeCopy()
treeCopy
in class SimpleElement
public void setLITERAL(java.lang.String value)
value
- The new value for the lexeme LITERAL.@ASTNodeAnnotation.Token(name="LITERAL") public java.lang.String getLITERAL()
public ASTNode rewriteTo()
rewriteTo
in class SimpleElement