kmy.regex.tree
Class RPickNode
java.lang.Object
|
+--kmy.regex.tree.RNode
|
+--kmy.regex.tree.RPickNode
- public class RPickNode
- extends RNode
Constructor Summary |
RPickNode(int pos,
java.lang.String name,
boolean begin)
|
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
name
public java.lang.String name
begin
public boolean begin
referenced
public boolean referenced
RPickNode
public RPickNode(int pos,
java.lang.String name,
boolean begin)
getNCells
public int getNCells()
- Description copied from class: RNode
- Number of variables to be used by this regex. This should be upper bound,
but, of cource, it should be as close as possible to what RCompiler will
generate.
- Overrides:
- getNCells in class RNode
findPrefix
public CharSet findPrefix(CharSet tailPrefix)
- Overrides:
- findPrefix in class RNode
isStartAnchored
public boolean isStartAnchored()
- Overrides:
- isStartAnchored in class RNode
hasPicks
public boolean hasPicks()
- Overrides:
- hasPicks in class RNode
collectReferences
public void collectReferences(java.util.Dictionary refList,
java.util.Dictionary pickList)
- Overrides:
- collectReferences in class RNode
markReferenced
public RNode markReferenced(java.util.Dictionary refList,
java.util.Dictionary pickList,
boolean collapse)
- Overrides:
- markReferenced in class RNode
eval
public java.lang.Object eval(RContext context)
- Overrides:
- eval in class RNode