|
|||||||||||
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.DRegexpNode
Dynamic regexp node. a regexp is dynamic if it contains some expressions which will need to be evaluated everytime the regexp is used for a match
Constructor Summary | |
DRegexpNode(ISourcePosition position)
|
|
DRegexpNode(ISourcePosition position,
int options,
boolean once)
|
Method Summary | |
void |
accept(INodeVisitor iVisitor)
Accept for the visitor pattern. |
IListNode |
add(INode node)
|
boolean |
getOnce()
Gets the once. |
int |
getOptions()
Gets the options. |
java.util.Iterator |
iterator()
|
void |
setOnce(boolean once)
Sets the once. |
void |
setOptions(int options)
Sets the options. |
int |
size()
|
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 |
Methods inherited from interface org.ablaf.ast.INode |
getPosition |
Constructor Detail |
public DRegexpNode(ISourcePosition position)
public DRegexpNode(ISourcePosition position, int options, boolean once)
Method Detail |
public IListNode add(INode node)
add
in interface IListNode
IListNode.add(INode)
public java.util.Iterator iterator()
iterator
in interface IListNode
IListNode.iterator()
public int size()
size
in interface IListNode
IListNode.size()
public void accept(INodeVisitor iVisitor)
accept
in interface INode
iVisitor
- the visitorpublic boolean getOnce()
public void setOnce(boolean once)
once
- The once to setpublic int getOptions()
public void setOptions(int options)
options
- The options to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |