parseDocument.RspParser.Rd
Parse an RSP string into and RSP document with RSP comments dropped.
# S3 method for RspParser
parseDocument(parser, object, envir=parent.frame(), ...,
until=c("*", "end", "expressions", "directives", "comments"),
as=c("RspDocument", "RspString"), verbose=FALSE)
An RspString
to be parsed.
The environment
where the RSP document is preprocessed.
Passed to the processor in each step.
Specifies how far the parse should proceed, which is useful for troubleshooting and debugging.
Specifies in what format the parsed RSP document should be returned.
See Verbose
.
Returns a RspDocument
(when as = "RspDocument"
; default)
or RspString
(when as = "RspString"
).
For more information see RspParser
.