Learn R Programming

campsismod (version 1.4.0)

parse_if_statement: Parse IF-statement. Assumption: is_if_statement method already called and returned TRUE.

Description

Parse IF-statement. Assumption: is_if_statement method already called and returned TRUE.

Usage

parse_if_statement(line, comment = as.character(NA))

Value

an IF statement object

Arguments

line

IF-statement as single character string value, comment omitted

comment

any comment, NA by default