|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.singularsys.jep.misc.NullParser
public class NullParser
A Parser which cannot actually parse expressions. Used in situations where a small footprint Jep instance is needed which does not require parsing facilities.
Constructor Summary | |
---|---|
NullParser()
|
Method Summary | |
---|---|
Node |
continueParse()
Read the next equation from the stream. |
JepComponent |
getLightWeightInstance()
Gets a light-weight instance suitable for using in multiple threads. |
void |
init(Jep jep)
Initialize the component. |
Node |
parse(java.io.Reader stream)
Parse a single equation from a stream |
void |
restart(java.io.Reader stream)
Restart the parser for reentrant parsing of multiple equations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullParser()
Method Detail |
---|
public void init(Jep jep)
JepComponent
init
in interface JepComponent
jep
- the current Jep instancepublic Node continueParse() throws ParseException
Parser
continueParse
in interface Parser
ParseException
- alwayspublic Node parse(java.io.Reader stream) throws ParseException
Parser
parse
in interface Parser
ParseException
- alwayspublic void restart(java.io.Reader stream)
Parser
restart
in interface Parser
public JepComponent getLightWeightInstance()
JepComponent
getLightWeightInstance
in interface JepComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |