SingleStatementType: Class representing a single Stan statement, not user-facing

SingleStatementTypeR Documentation

Class representing a single Stan statement, not user-facing

Description

Class representing a single Stan statement, not user-facing

Class representing a single Stan statement, not user-facing

Value

class representing the statement

Super class

swr::BareStatementType -> SingleStatementType

Methods

Public methods

Inherited methods

Method new()

Usage
SingleStatementType$new(x, declarations = rlang::env(), indent = 0)
Arguments
x

expression to treat as Stan statement

declarations

environment to use to create declarations

indent

integer indicating indentation level in Stan code...


Method textify_declarations()

Usage
SingleStatementType$textify_declarations()

Method textify_statements()

Usage
SingleStatementType$textify_statements()

Method statements()

Usage
SingleStatementType$statements()

Method declarations()

Usage
SingleStatementType$declarations()

Method clone()

The objects of this class are cloneable with this method.

Usage
SingleStatementType$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


sakrejda/swr documentation built on April 16, 2022, 11:57 a.m.