parseDocument.RspParser

0th

Percentile

Parse an RSP string into and RSP document

Parse an RSP string into and RSP document with RSP comments dropped.

Keywords
methods, internal
Usage
# S3 method for RspParser
parseDocument(parser, object, envir=parent.frame(), ...,
  until=c("*", "end", "expressions", "directives", "comments"),
  as=c("RspDocument", "RspString"), verbose=FALSE)
Arguments
object

An RspString to be parsed.

envir

The environment where the RSP document is preprocessed.

...

Passed to the processor in each step.

until

Specifies how far the parse should proceed, which is useful for troubleshooting and debugging.

as

Specifies in what format the parsed RSP document should be returned.

verbose

See Verbose.

Value

Returns a RspDocument (when as = "RspDocument"; default) or RspString (when as = "RspString").

See Also

For more information see RspParser.

Aliases
  • parseDocument.RspParser
  • RspParser.parseDocument
  • parseDocument,RspParser-method
Documentation reproduced from package R.rsp, version 0.43.1, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.