|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dom4j.tree.AbstractNode
org.dom4j.tree.AbstractBranch
org.dom4j.tree.AbstractElement
org.dom4j.tree.DefaultElement
smacs.tree.ScriptNode
smacs.write.script.JavaScriptNode
smacs.write.script.JavaVariableUsed
smacs.write.script.JavaVariableDefinition
this class reserves a name for later usage.
JavaVariable,
Serialized Form| Field Summary |
| Fields inherited from class smacs.write.script.JavaVariableUsed |
Assign |
| Fields inherited from class smacs.tree.ScriptNode |
_NodeHandler, log, TokenValue |
| Fields inherited from class org.dom4j.tree.AbstractElement |
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING |
| Fields inherited from class org.dom4j.tree.AbstractBranch |
DEFAULT_CONTENT_LIST_SIZE, outputFormat |
| Fields inherited from class org.dom4j.tree.AbstractNode |
NODE_TYPE_NAMES |
| Fields inherited from interface smacs.tree.SimpleNode |
TokenValue |
| Fields inherited from interface org.dom4j.Node |
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE |
| Constructor Summary | |
JavaVariableDefinition(JavaVariable var)
constructor. wraps given JavaVariable |
|
JavaVariableDefinition(JavaVariable var,
JavaExpression expr)
constructor. wraps given JavaVariable and sets an init-expression |
|
| Method Summary | |
JavaExpression |
getJavaExpression()
get wrapped init-expression. |
JavaScriptNode |
getJavaExpressionNode()
get wrapped init-expression. |
boolean |
print(JavaPrintStream w)
|
void |
resolve()
ensure unique variable name. |
| Methods inherited from class smacs.write.script.JavaVariableUsed |
beDefinition, getInitJavaExpression, getInitJavaExpressionString, getJavaClassName, getJavaName, getJavaPrintName, getJavaVariable, getJavaVariableName, isDefinition, printstring |
| Methods inherited from class smacs.write.script.JavaScriptNode |
adds, freeze, freezeJavaChildren, newNode, newNode, print, printJavaChildren, printJavaChildrenBlock, printJavaChildrenBlock, printJavaChildrenSection, resolveJavaChildren |
| Methods inherited from class org.dom4j.tree.AbstractBranch |
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions |
| Methods inherited from class org.dom4j.tree.AbstractNode |
asXPathResult, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.dom4j.Branch |
add, add, add, add, addElement, addElement, addElement, appendContent, clearContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, normalize, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, removeProcessingInstruction, setContent, setProcessingInstructions |
| Methods inherited from interface org.dom4j.Node |
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write |
| Methods inherited from interface smacs.util.listen.GetName |
getName |
| Constructor Detail |
public JavaVariableDefinition(JavaVariable var)
JavaVariable
public JavaVariableDefinition(JavaVariable var,
JavaExpression expr)
JavaVariable and sets an init-expression
| Method Detail |
public JavaExpression getJavaExpression()
getJavaExpression in interface HasJavaExpressionpublic JavaScriptNode getJavaExpressionNode()
public boolean print(JavaPrintStream w)
print in interface JavaSimpleNodeprint in class JavaVariableUsedpublic void resolve()
resolve in interface JavaSimpleNoderesolve in class JavaScriptNode
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||