Skip to contents

R6 Class representing a qualchemy source

R6 Class representing a qualchemy source

Details

A qualchemy source: usually a text file that can be (or is) coded.

Public fields

identifier

identifier

name

name

metadata

metadata

contents

The source's contents

Methods


Method new()

Create a new Qualchemy source

Usage

Qualchemy_source$new(
  identifier,
  name,
  metadata,
  contents,
  error_call = quote(Qualchemy_source$new())
)

Arguments

identifier

identifier

name

name

metadata

metadata

contents

contents of the file

error_call

error context

Returns

A new Qualchemy_source object.


Method to_qdpx()

qdpx nodes

Usage

Qualchemy_source$to_qdpx(codings = NULL)

Arguments

codings

codings


Method clone()

The objects of this class are cloneable with this method.

Usage

Qualchemy_source$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.