|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.singularsys.jep.parser.StandardParser
public class StandardParser
Constructor Summary | |
---|---|
StandardParser()
|
Method Summary | |
---|---|
Node |
continueParse()
Parse the next expressions from existing 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)
Parses the input from the reader 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 StandardParser()
Method Detail |
---|
public void init(Jep jep)
JepComponent
init
in interface JepComponent
jep
- the current Jep instancepublic Node parse(java.io.Reader stream) throws ParseException
stream
. The JavaCC parser
is employed to complete this task. Errors are listed in errorList or
trapped by catching ParseException
s.
parse
in interface Parser
ParseException
public void restart(java.io.Reader stream)
Parser
restart
in interface Parser
public Node continueParse() throws ParseException
continueParse
in interface Parser
ParseException
restart(java.io.Reader)
public JepComponent getLightWeightInstance()
JepComponent
getLightWeightInstance
in interface JepComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |