Skip to main content

predicate_component

is_FamilyR Documentation

Predicate for symbols, i.e. symbols or syntactic literals#

Description#

Predicate for symbols, i.e. symbols or syntactic literals

Predicate for infix operators

Predicate for brackets

Predicate for the 'for' keyword

Predicate for the 'if' keyword

Predicate for the 'while' keyword

Predicate for the "function" keyword

Predicate for return

Predicate for assignments

Predicate for assignments

Predicate for the "break" keyword

Predicate for the "next" keyword

Predicate for the "try" keyword

Predicate for the "tryCatch" keyword

Predicate for the "throw" keyword

Predicate for the "list" operator

Predicate for the "data.frame" operators

Predicate for the "summarise" operators

Predicate for the "mutate" operators

Predicate for the "R6Class" function

Predicate for the "new" operator

Predicate for the "typeof" operator

Predicate for the "export" operator

Predicate for the "async" and "await" operators

Predicate for the "let" operator

Predicate for the "const" operator

Predicate for the "var" operator

Predicate for the "dataURI" operator

Predicate for the "ifelse" operator

Predicate for the "lambda" operator

Predicate for the "pipe" operator

Predicate for the raw string operator

Predicate for formula

Predicate for the "add" operator

Predicate for the "subtract" operator

Predicate for the "extract" operator

Predicate for the "extractAssign" operator

Predicate for the "extract2" operator

Predicate for the "extract2Assign" operator

Predicate for the HTML tags

Predicate for the d3.js 'attr' function

Predicate for the d3.js 'style' function

Usage#

is_sym(ast)
is_infix(ast)
is_wrap(ast)
is_call_for(ast)
is_call_if(ast)
is_call_while(ast)
is_call_function(ast)
is_call_return(ast)
is_call_assignment(ast)
is_call_assignment_auto(ast)
is_call_break(ast)
is_call_next(ast)
is_call_try(ast)
is_call_tryCatch(ast)
is_call_throw(ast)
is_call_list(ast)
is_call_df(ast)
is_call_df_summarise(ast)
is_call_df_mutate(ast)
is_call_R6Class(ast)
is_call_new(ast)
is_call_typeof(ast)
is_call_export(ast)
is_call_async_await(ast)
is_call_let(ast)
is_call_const(ast)
is_call_var(ast)
is_call_dataURI(ast)
is_call_ifelse(ast)
is_call_lambda(ast)
is_call_pipe(ast)
is_call_raw_string(ast)
is_call_formula(ast)
is_call_add(ast)
is_call_subtract(ast)
is_call_extract(ast)
is_call_extractAssign(ast)
is_call_extract2(ast)
is_call_extract2Assign(ast)
is_html_tags(ast)
is_d3_attr(ast)
is_d3_style(ast)

Arguments#

astA language object.