|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectNode_c
abc.tm.ast.Regex_c
abc.tm.ast.RegexStar_c
public class RegexStar_c
| Field Summary | |
|---|---|
protected Regex |
a
|
| Constructor Summary | |
|---|---|
RegexStar_c(Position pos,
Regex a)
|
|
| Method Summary | |
|---|---|
java.util.Collection |
finalSymbols()
Return the set containing each symbol which occurs as the final symbol of a string which matches this regular expresion. |
void |
makeNecessarySymbolsSM(StateMachine sm,
State start,
State finish,
boolean own_start)
|
void |
makeSM(StateMachine sm,
State start,
State finish,
boolean own_start)
Create a finite state machine for this regular expression, given a start and finish node. |
boolean |
matchesEmptyString()
Returns true or false if the regular expression matches the empty string, or not, respectively. |
java.util.Collection |
mustBind(java.util.Map sym_to_vars)
Return the set of pointcut variables which must be bound by any string which matches this regular expression. |
java.util.Collection |
nonFinalSymbols()
Return the set containing each symbol which occurs as a non-final symbol in a string which matches this regular expression. |
| Methods inherited from class abc.tm.ast.Regex_c |
|---|
makeSM |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Regex a
| Constructor Detail |
|---|
public RegexStar_c(Position pos,
Regex a)
| Method Detail |
|---|
public java.util.Collection mustBind(java.util.Map sym_to_vars)
throws SemanticException
Regex
SemanticExceptionpublic java.util.Collection finalSymbols()
Regex
public java.util.Collection nonFinalSymbols()
Regex
public boolean matchesEmptyString()
Regex
public void makeSM(StateMachine sm,
State start,
State finish,
boolean own_start)
start - the start nodefinish - the finish nodeown_start - true if, and only if, the current
regular expression is the only one
to create outgoing transitions from
the start nodeRegex.makeSM()
public void makeNecessarySymbolsSM(StateMachine sm,
State start,
State finish,
boolean own_start)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||