R.rsp (version 0.19.0)

parseRaw.RspParser: Parses the string into blocks of text and RSP

Description

Parses the string into blocks of text and RSP.

Usage

## S3 method for class 'RspParser':
parseRaw(parser, object, what=c("comment", "directive", "expression"), commentLength=-1L,
  ..., verbose=FALSE)

Arguments

object
An RspString to be parsed.
what
A character string specifying what type of RSP construct to parse for.
commentLength
Specify the number of hypens in RSP comments to parse for.
...
Not used.
verbose
See Verbose.

Value

  • Returns a named list with elements named "text" and "rsp".

See Also

For more information see RspParser.