|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 JepComponentinit in interface Parserjep - the current Jep instance
public Node continueParse()
throws ParseException
Parser
continueParse in interface ParserParseException - always
public Node parse(java.io.Reader stream)
throws ParseException
Parser
parse in interface ParserParseException - alwayspublic void restart(java.io.Reader stream)
Parser
restart in interface Parserpublic JepComponent getLightWeightInstance()
JepComponent
getLightWeightInstance in interface JepComponent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||