@danielx/civet 0.4.24 → 0.4.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -11041,6 +11041,7 @@ ${input.slice(result.pos)}
11041
11041
  var TypeUnaryOp$0 = $EXPECT($L153, fail, 'TypeUnaryOp "keyof"');
11042
11042
  var TypeUnaryOp$1 = $EXPECT($L135, fail, 'TypeUnaryOp "typeof"');
11043
11043
  var TypeUnaryOp$2 = $EXPECT($L154, fail, 'TypeUnaryOp "infer"');
11044
+ var TypeUnaryOp$3 = $EXPECT($L151, fail, 'TypeUnaryOp "readonly"');
11044
11045
  function TypeUnaryOp(state) {
11045
11046
  if (state.events) {
11046
11047
  const result = state.events.enter?.("TypeUnaryOp", state);
@@ -11048,12 +11049,12 @@ ${input.slice(result.pos)}
11048
11049
  return result.cache;
11049
11050
  }
11050
11051
  if (state.tokenize) {
11051
- const result = $TOKEN("TypeUnaryOp", state, TypeUnaryOp$0(state) || TypeUnaryOp$1(state) || TypeUnaryOp$2(state));
11052
+ const result = $TOKEN("TypeUnaryOp", state, TypeUnaryOp$0(state) || TypeUnaryOp$1(state) || TypeUnaryOp$2(state) || TypeUnaryOp$3(state));
11052
11053
  if (state.events)
11053
11054
  state.events.exit?.("TypeUnaryOp", state, result);
11054
11055
  return result;
11055
11056
  } else {
11056
- const result = TypeUnaryOp$0(state) || TypeUnaryOp$1(state) || TypeUnaryOp$2(state);
11057
+ const result = TypeUnaryOp$0(state) || TypeUnaryOp$1(state) || TypeUnaryOp$2(state) || TypeUnaryOp$3(state);
11057
11058
  if (state.events)
11058
11059
  state.events.exit?.("TypeUnaryOp", state, result);
11059
11060
  return result;
@@ -11208,10 +11209,11 @@ ${input.slice(result.pos)}
11208
11209
  }
11209
11210
  }
11210
11211
  var TypeLiteral$0 = Literal;
11211
- var TypeLiteral$1 = $TV($EXPECT($L139, fail, 'TypeLiteral "void"'), function($skip, $loc, $0, $1) {
11212
+ var TypeLiteral$1 = TemplateLiteral;
11213
+ var TypeLiteral$2 = $TV($EXPECT($L139, fail, 'TypeLiteral "void"'), function($skip, $loc, $0, $1) {
11212
11214
  return { $loc, token: "void" };
11213
11215
  });
11214
- var TypeLiteral$2 = $TV($EXPECT($L155, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
11216
+ var TypeLiteral$3 = $TV($EXPECT($L155, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
11215
11217
  return { $loc, token: "[]" };
11216
11218
  });
11217
11219
  function TypeLiteral(state) {
@@ -11221,12 +11223,12 @@ ${input.slice(result.pos)}
11221
11223
  return result.cache;
11222
11224
  }
11223
11225
  if (state.tokenize) {
11224
- const result = $TOKEN("TypeLiteral", state, TypeLiteral$0(state) || TypeLiteral$1(state) || TypeLiteral$2(state));
11226
+ const result = $TOKEN("TypeLiteral", state, TypeLiteral$0(state) || TypeLiteral$1(state) || TypeLiteral$2(state) || TypeLiteral$3(state));
11225
11227
  if (state.events)
11226
11228
  state.events.exit?.("TypeLiteral", state, result);
11227
11229
  return result;
11228
11230
  } else {
11229
- const result = TypeLiteral$0(state) || TypeLiteral$1(state) || TypeLiteral$2(state);
11231
+ const result = TypeLiteral$0(state) || TypeLiteral$1(state) || TypeLiteral$2(state) || TypeLiteral$3(state);
11230
11232
  if (state.events)
11231
11233
  state.events.exit?.("TypeLiteral", state, result);
11232
11234
  return result;
package/dist/main.js CHANGED
@@ -11040,6 +11040,7 @@ ${input.slice(result.pos)}
11040
11040
  var TypeUnaryOp$0 = $EXPECT($L153, fail, 'TypeUnaryOp "keyof"');
11041
11041
  var TypeUnaryOp$1 = $EXPECT($L135, fail, 'TypeUnaryOp "typeof"');
11042
11042
  var TypeUnaryOp$2 = $EXPECT($L154, fail, 'TypeUnaryOp "infer"');
11043
+ var TypeUnaryOp$3 = $EXPECT($L151, fail, 'TypeUnaryOp "readonly"');
11043
11044
  function TypeUnaryOp(state) {
11044
11045
  if (state.events) {
11045
11046
  const result = state.events.enter?.("TypeUnaryOp", state);
@@ -11047,12 +11048,12 @@ ${input.slice(result.pos)}
11047
11048
  return result.cache;
11048
11049
  }
11049
11050
  if (state.tokenize) {
11050
- const result = $TOKEN("TypeUnaryOp", state, TypeUnaryOp$0(state) || TypeUnaryOp$1(state) || TypeUnaryOp$2(state));
11051
+ const result = $TOKEN("TypeUnaryOp", state, TypeUnaryOp$0(state) || TypeUnaryOp$1(state) || TypeUnaryOp$2(state) || TypeUnaryOp$3(state));
11051
11052
  if (state.events)
11052
11053
  state.events.exit?.("TypeUnaryOp", state, result);
11053
11054
  return result;
11054
11055
  } else {
11055
- const result = TypeUnaryOp$0(state) || TypeUnaryOp$1(state) || TypeUnaryOp$2(state);
11056
+ const result = TypeUnaryOp$0(state) || TypeUnaryOp$1(state) || TypeUnaryOp$2(state) || TypeUnaryOp$3(state);
11056
11057
  if (state.events)
11057
11058
  state.events.exit?.("TypeUnaryOp", state, result);
11058
11059
  return result;
@@ -11207,10 +11208,11 @@ ${input.slice(result.pos)}
11207
11208
  }
11208
11209
  }
11209
11210
  var TypeLiteral$0 = Literal;
11210
- var TypeLiteral$1 = $TV($EXPECT($L139, fail, 'TypeLiteral "void"'), function($skip, $loc, $0, $1) {
11211
+ var TypeLiteral$1 = TemplateLiteral;
11212
+ var TypeLiteral$2 = $TV($EXPECT($L139, fail, 'TypeLiteral "void"'), function($skip, $loc, $0, $1) {
11211
11213
  return { $loc, token: "void" };
11212
11214
  });
11213
- var TypeLiteral$2 = $TV($EXPECT($L155, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
11215
+ var TypeLiteral$3 = $TV($EXPECT($L155, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
11214
11216
  return { $loc, token: "[]" };
11215
11217
  });
11216
11218
  function TypeLiteral(state) {
@@ -11220,12 +11222,12 @@ ${input.slice(result.pos)}
11220
11222
  return result.cache;
11221
11223
  }
11222
11224
  if (state.tokenize) {
11223
- const result = $TOKEN("TypeLiteral", state, TypeLiteral$0(state) || TypeLiteral$1(state) || TypeLiteral$2(state));
11225
+ const result = $TOKEN("TypeLiteral", state, TypeLiteral$0(state) || TypeLiteral$1(state) || TypeLiteral$2(state) || TypeLiteral$3(state));
11224
11226
  if (state.events)
11225
11227
  state.events.exit?.("TypeLiteral", state, result);
11226
11228
  return result;
11227
11229
  } else {
11228
- const result = TypeLiteral$0(state) || TypeLiteral$1(state) || TypeLiteral$2(state);
11230
+ const result = TypeLiteral$0(state) || TypeLiteral$1(state) || TypeLiteral$2(state) || TypeLiteral$3(state);
11229
11231
  if (state.events)
11230
11232
  state.events.exit?.("TypeLiteral", state, result);
11231
11233
  return result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielx/civet",
3
- "version": "0.4.24",
3
+ "version": "0.4.26",
4
4
  "description": "CoffeeScript style syntax for TypeScript",
5
5
  "main": "dist/main.js",
6
6
  "exports": {