ParseResult

Result of a parsing step. use fResults to get to the results. use fRest to get to the not consumed part of the input.

Members

Properties

message
string message [@property getter]

errormessage

rest
T[] rest [@property getter]

unconsumed input

rest
T[] rest [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
results
Variant[] results [@property getter]

the results

success
bool success [@property getter]

true if parsing was successfull

Static functions

error
ParseResult!(T) error(string message)
Undocumented in source. Be warned that the author may not have intended to support it.
ok
ParseResult!(T) ok(T[] rest, Variant[] results)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

fMessage
string fMessage;
Undocumented in source.
fRest
T[] fRest;
Undocumented in source.
fResults
Variant[] fResults;
Undocumented in source.
fSuccess
bool fSuccess;
Undocumented in source.

Meta