Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pd_is

Check whether a parse table corresponds to a certain expression


Description

Check whether a parse table corresponds to a certain expression

Usage

is_curly_expr(pd)

is_cond_expr(pd)

is_while_expr(pd)

is_function_call(pd)

is_function_dec(pd)

is_comment(pd)

Arguments

pd

A parse table.

Functions

  • is_curly_expr: Checks whether pd contains an expression wrapped in curly brackets.

  • is_cond_expr: Checks whether pd contains is a conditional expression.

  • is_while_expr: Checks whether pd contains is a while loop.

  • is_function_call: Checks whether pd is a function call.

  • is_function_dec: Checks whether pd is a function declaration.

  • is_comment: Checks for every token whether or not it is a comment.


styler

Non-Invasive Pretty Printing of R Code

v1.4.1
MIT + file LICENSE
Authors
Kirill Müller [aut], Lorenz Walthert [cre, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.