Module: Oxc::Backend

Extended by:
Unavailable
Defined in:
lib/oxc/backend.rb,
sig/oxc/backend.rbs,
ext/oxc/oxc.c

Defined Under Namespace

Modules: Unavailable

Class Method Summary collapse

Methods included from Unavailable

minify, oxc_version, parse, transform, unavailable, version

Class Method Details

.minify(source, options) ⇒ Object



90
91
92
93
94
# File 'ext/oxc/oxc.c', line 90

static VALUE rb_minify(VALUE self, VALUE source, VALUE options) {
  (void) self;

  return call(oxc_minify, source, options);
}

.oxc_versionObject



114
115
116
117
118
# File 'ext/oxc/oxc.c', line 114

static VALUE rb_oxc_version(VALUE self) {
  (void) self;

  return take_utf8_string(oxc_oxc_version());
}

.parse(source, options) ⇒ Object



102
103
104
105
106
# File 'ext/oxc/oxc.c', line 102

static VALUE rb_parse(VALUE self, VALUE source, VALUE options) {
  (void) self;

  return call(oxc_parse, source, options);
}

.transform(source, options) ⇒ Object



96
97
98
99
100
# File 'ext/oxc/oxc.c', line 96

static VALUE rb_transform(VALUE self, VALUE source, VALUE options) {
  (void) self;

  return call(oxc_transform, source, options);
}

.versionObject



108
109
110
111
112
# File 'ext/oxc/oxc.c', line 108

static VALUE rb_native_version(VALUE self) {
  (void) self;

  return take_utf8_string(oxc_version());
}