|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.singularsys.jep.configurableparser.matchers.RegExpTokenMatcher
com.singularsys.jep.configurableparser.matchers.TerminatorTokenMatcher
public class TerminatorTokenMatcher
A token matcher which matches the end of an expression
| Constructor Summary | |
|---|---|
TerminatorTokenMatcher(java.util.regex.Pattern pattern)
|
|
TerminatorTokenMatcher(java.lang.String regex)
|
|
| Method Summary | |
|---|---|
Token |
buildToken(java.lang.String s)
Builds a token following a successful match. |
void |
init(Jep j)
Initialize the matcher when the Jep instance is known. |
static TerminatorTokenMatcher |
semiColonTerminatorMatcher()
Factory creating a TerminalTokenMatcher which matches a semi-colon. |
| Methods inherited from class com.singularsys.jep.configurableparser.matchers.RegExpTokenMatcher |
|---|
match |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TerminatorTokenMatcher(java.util.regex.Pattern pattern)
public TerminatorTokenMatcher(java.lang.String regex)
| Method Detail |
|---|
public Token buildToken(java.lang.String s)
RegExpTokenMatcher
buildToken in interface TokenBuilderbuildToken in class RegExpTokenMatchers - String representing the completed matched token
public static TerminatorTokenMatcher semiColonTerminatorMatcher()
public void init(Jep j)
TokenMatcher
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||