|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.singularsys.jep.configurableparser.matchers.OperatorTokenMatcher
public class OperatorTokenMatcher
TokenMatcher for matching operators from the operator set.
Constructor Summary | |
---|---|
OperatorTokenMatcher()
Default constructor. |
Method Summary | |
---|---|
void |
init(Jep j)
Initialize the matcher when the Jep instance is known. |
void |
init(OperatorTable os)
|
Token |
match(java.lang.String s)
Attempts to match the start of the string. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OperatorTokenMatcher()
init(com.singularsys.jep.OperatorTable)
method.
Method Detail |
---|
public void init(OperatorTable os)
public Token match(java.lang.String s)
TokenMatcher
match
in interface TokenMatcher
s
- the string to match against
public java.lang.String toString()
toString
in class java.lang.Object
public void init(Jep j)
TokenMatcher
init
in interface TokenMatcher
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |