|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Regex
| 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. |
StateMachine |
makeSM()
Creates a finite state machine, equivalent to the regular expression, which is used by the weaver. |
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. |
| Method Detail |
|---|
java.util.Collection mustBind(java.util.Map sym_to_vars)
throws SemanticException
SemanticExceptionjava.util.Collection finalSymbols()
java.util.Collection nonFinalSymbols()
boolean matchesEmptyString()
StateMachine makeSM()
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 nodemakeSM()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||