Rdocumentation
powered by
Learn R Programming
parsetools (version 0.1.3)
Parse Tools
Description
Tools and utilities for dealing with parse data. Parse data represents the parse tree as data with location and type information. This package provides functions for navigating the parse tree as a data frame.
Copy Link
Link to current version
Version
Version
0.1.3
0.1.2
0.1.1
0.1.0
Install
install.packages('parsetools')
Monthly Downloads
41
Version
0.1.3
License
GPL-2
Issues
0
Pull Requests
0
Stars
17
Forks
0
Repository
https://github.com/RDocTaskForce/parsetools
Maintainer
Andrew Redd
Last Published
April 8th, 2020
Functions in parsetools (0.1.3)
Search all functions
all_grouping_ids
get the grouping ids
pd_class_definitions
Test for Class Definitions
pd_all_tagged_iff_block_ids
Find all tagged
if(FALSE)
blocks.
pd_get_closest_call_id
Get the closest call ID.
pd_get_comment_tag_content
Get the content of a tag
get_family_pd
Get family of nodes.
n_children
Count the number of children
pd_get_iff_associated_name_id
Find the name that should be associated with an
if(FALSE)
block.
internal
Make a function operate internal to parsetools
pd_get_relative_comment_associated_ids
Associate relative documentation comments
get_parse_data
Parse Data
if-statements
If Statement Nodes
pd_reconstitute
Reconstitute Expressions
pd_is_grouping
test if an id is a grouping element
pd_make_is_in_call
Create a function to test if an id is contained in a type
root
Root IDs
iff-blocks
IFF Blocks
pd_has_tag
Check if there is a documentation
@
tag.
pd_get_tagged_comment_ids
Get tagged comment ids
pd_is_comment
Is this a comment?
pd_identify
Get the ID for an object
strip_doc_comment_leads
Remove the characters identifying a documentation comment.
strip_tag
Remove a tag that identified a line.
all_root_nodes
Find all root node from parse data
assignments
Assignment Node Navigation.
family-nodes
Family-wise Node Identification and Navigation.
function-nodes
Function Nodes
pd_text
Accessor functions
extract_test_block
Extract testing blocks from the parse-data.
extract_test_blocks
extract tests from a file.
calls
Call nodes
clean_tag_comments
clean tag comments