Continue parsing without re-initialising the stream. This requires InitMultiParse to be called first. Allows re-entrance of parser so that strings like "x=1; y=2; z=3;" can be parsed. When a semicolon is encountered parsing finishes leaving the rest of the string unparsed. Parsing can be resumed from the current position by using this method.

Examples

CopyC#
JepInstance j = new JepInstance();
j.InitMultiParse("x=1;y=2; z=3;");
INode node;
try {
  while((node = j.ContinueParsing())!=null) {
    j.Println(node);
  } 
}catch(ParseException e) {}
Empty equations such as "x=1;;y=2" are silently ignored, in this case the second call will return the node representing y=2.

Namespace:  SingularSys.Jep
Assembly:  Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)

Syntax

C#
public INode ContinueParsing()
Visual Basic (Declaration)
Public Function ContinueParsing As INode
Visual C++
public:
INode^ ContinueParsing()

Return Value

top node of equation parsed to date or null at EOF.

Exceptions

See Also