|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.ast.AbstractNode
org.jruby.ast.EvStrNode
Represents an #{} expression in a string. This Node is always a subnode of a DStrNode, DXStrNode or a DRegexpNode. Before this Node is evaluated it contains the code as a String (value). After the first evaluation this String is parsed into the evaluatedNode INode.
Constructor Summary | |
EvStrNode(ISourcePosition position,
java.lang.String value)
|
Method Summary | |
void |
accept(INodeVisitor iVisitor)
Accept for the visitor pattern. |
INode |
getEvaluatedNode()
Gets the evaluatedNode. |
java.lang.String |
getValue()
Gets the value. |
void |
setEvaluatedNode(INode evaluatedNode)
Sets the evaluatedNode. |
Methods inherited from class org.jruby.ast.AbstractNode |
getPosition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EvStrNode(ISourcePosition position, java.lang.String value)
Method Detail |
public void accept(INodeVisitor iVisitor)
iVisitor
- the visitorpublic java.lang.String getValue()
public INode getEvaluatedNode()
public void setEvaluatedNode(INode evaluatedNode)
evaluatedNode
- The evaluatedNode to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |