A parser object
A parser object
new()
Create a new parser object
rts_parser$new(language)
language
The language to parse
A new rts_parser
object
print()
rts_parser$print(...)
...
Additional parameters ignored.
parse()
rts_parser$parse(text)
text
The text to parse.
field_id_for_name()
Get the numerical id for the given field name string.
rts_parser$field_id_for_name(name)
name
The name to lookup
An integer double of the ID, or NULL
if no field by that name
exists. The ID can be passed to rts_node$child_by_field_id()
.
clone()
The objects of this class are cloneable with this method.
rts_parser$clone(deep = FALSE)
deep
Whether to make a deep clone.