@danielx/civet 0.5.82 → 0.5.84

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
@@ -821,6 +821,7 @@ ${input.slice(result.pos)}
821
821
  ForbidClassImplicitCall,
822
822
  AllowClassImplicitCall,
823
823
  RestoreClassImplicitCall,
824
+ ClassImplicitCallForbidden,
824
825
  ForbidIndentedApplication,
825
826
  AllowIndentedApplication,
826
827
  RestoreIndentedApplication,
@@ -1857,7 +1858,7 @@ ${input.slice(result.pos)}
1857
1858
  }
1858
1859
  var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1859
1860
  var ForbiddenImplicitCalls$1 = $EXPECT($L1, fail, 'ForbiddenImplicitCalls "/ "');
1860
- var ForbiddenImplicitCalls$2 = $S(ForbidClassImplicitCall, Class);
1861
+ var ForbiddenImplicitCalls$2 = $S(ClassImplicitCallForbidden, Class);
1861
1862
  var ForbiddenImplicitCalls$3 = AtAt;
1862
1863
  var ForbiddenImplicitCalls$4 = $S(Identifier, $EXPECT($L2, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
1863
1864
  var ForbiddenImplicitCalls$5 = $TS($S(Identifier, $N($EXPECT($L3, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
@@ -10790,6 +10791,33 @@ ${input.slice(result.pos)}
10790
10791
  return result;
10791
10792
  }
10792
10793
  }
10794
+ var ClassImplicitCallForbidden$0 = $TV($EXPECT($L0, fail, 'ClassImplicitCallForbidden ""'), function($skip, $loc, $0, $1) {
10795
+ if (module.classImplicitCallForbidden)
10796
+ return $skip;
10797
+ return;
10798
+ });
10799
+ function ClassImplicitCallForbidden(state) {
10800
+ let eventData;
10801
+ if (state.events) {
10802
+ const result = state.events.enter?.("ClassImplicitCallForbidden", state);
10803
+ if (result) {
10804
+ if (result.cache)
10805
+ return result.cache;
10806
+ eventData = result.data;
10807
+ }
10808
+ }
10809
+ if (state.tokenize) {
10810
+ const result = $TOKEN("ClassImplicitCallForbidden", state, ClassImplicitCallForbidden$0(state));
10811
+ if (state.events)
10812
+ state.events.exit?.("ClassImplicitCallForbidden", state, result, eventData);
10813
+ return result;
10814
+ } else {
10815
+ const result = ClassImplicitCallForbidden$0(state);
10816
+ if (state.events)
10817
+ state.events.exit?.("ClassImplicitCallForbidden", state, result, eventData);
10818
+ return result;
10819
+ }
10820
+ }
10793
10821
  var ForbidIndentedApplication$0 = $TV($EXPECT($L0, fail, 'ForbidIndentedApplication ""'), function($skip, $loc, $0, $1) {
10794
10822
  module.forbidIndentedApplication.push(true);
10795
10823
  });
@@ -13614,7 +13642,7 @@ ${input.slice(result.pos)}
13614
13642
  return result;
13615
13643
  }
13616
13644
  }
13617
- var TrailingComment$0 = $S($E(_), SingleLineComment);
13645
+ var TrailingComment$0 = $S($E(_), $E(SingleLineComment));
13618
13646
  function TrailingComment(state) {
13619
13647
  let eventData;
13620
13648
  if (state.events) {
@@ -13762,7 +13790,7 @@ ${input.slice(result.pos)}
13762
13790
  return result;
13763
13791
  }
13764
13792
  }
13765
- var ExpressionDelimiter$0 = $TS($S($E(_), Semicolon, InsertComma, $E(TrailingComment)), function($skip, $loc, $0, $1, $2, $3, $4) {
13793
+ var ExpressionDelimiter$0 = $TS($S($E(_), Semicolon, InsertComma, TrailingComment), function($skip, $loc, $0, $1, $2, $3, $4) {
13766
13794
  return [$1, $3, $4];
13767
13795
  });
13768
13796
  var ExpressionDelimiter$1 = $T($S($Y(EOS), InsertComma), function(value) {
@@ -13839,7 +13867,7 @@ ${input.slice(result.pos)}
13839
13867
  return result;
13840
13868
  }
13841
13869
  }
13842
- var SemicolonDelimiter$0 = $TS($S($E(_), Semicolon, $E(TrailingComment)), function($skip, $loc, $0, $1, $2, $3) {
13870
+ var SemicolonDelimiter$0 = $TS($S($E(_), Semicolon, TrailingComment), function($skip, $loc, $0, $1, $2, $3) {
13843
13871
  return {
13844
13872
  type: "SemicolonDelimiter",
13845
13873
  children: $0
@@ -23131,7 +23159,7 @@ ${input.slice(result.pos)}
23131
23159
  var uncacheable;
23132
23160
  ({ parse } = import_parser.default);
23133
23161
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
23134
- uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowIndentedApplication", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidIndentedApplication", "ForbidTrailingMemberProperty", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
23162
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowClassImplicitCall", "AllowIndentedApplication", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "ClassImplicitCallForbidden", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidClassImplicitCall", "ForbidIndentedApplication", "ForbidTrailingMemberProperty", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreClassImplicitCall", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
23135
23163
  var compile = function(src, options) {
23136
23164
  var ast, code, events, filename, ref, result, sm, srcMapJSON;
23137
23165
  if (!options) {
package/dist/main.js CHANGED
@@ -820,6 +820,7 @@ ${input.slice(result.pos)}
820
820
  ForbidClassImplicitCall,
821
821
  AllowClassImplicitCall,
822
822
  RestoreClassImplicitCall,
823
+ ClassImplicitCallForbidden,
823
824
  ForbidIndentedApplication,
824
825
  AllowIndentedApplication,
825
826
  RestoreIndentedApplication,
@@ -1856,7 +1857,7 @@ ${input.slice(result.pos)}
1856
1857
  }
1857
1858
  var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1858
1859
  var ForbiddenImplicitCalls$1 = $EXPECT($L1, fail, 'ForbiddenImplicitCalls "/ "');
1859
- var ForbiddenImplicitCalls$2 = $S(ForbidClassImplicitCall, Class);
1860
+ var ForbiddenImplicitCalls$2 = $S(ClassImplicitCallForbidden, Class);
1860
1861
  var ForbiddenImplicitCalls$3 = AtAt;
1861
1862
  var ForbiddenImplicitCalls$4 = $S(Identifier, $EXPECT($L2, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
1862
1863
  var ForbiddenImplicitCalls$5 = $TS($S(Identifier, $N($EXPECT($L3, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
@@ -10789,6 +10790,33 @@ ${input.slice(result.pos)}
10789
10790
  return result;
10790
10791
  }
10791
10792
  }
10793
+ var ClassImplicitCallForbidden$0 = $TV($EXPECT($L0, fail, 'ClassImplicitCallForbidden ""'), function($skip, $loc, $0, $1) {
10794
+ if (module2.classImplicitCallForbidden)
10795
+ return $skip;
10796
+ return;
10797
+ });
10798
+ function ClassImplicitCallForbidden(state) {
10799
+ let eventData;
10800
+ if (state.events) {
10801
+ const result = state.events.enter?.("ClassImplicitCallForbidden", state);
10802
+ if (result) {
10803
+ if (result.cache)
10804
+ return result.cache;
10805
+ eventData = result.data;
10806
+ }
10807
+ }
10808
+ if (state.tokenize) {
10809
+ const result = $TOKEN("ClassImplicitCallForbidden", state, ClassImplicitCallForbidden$0(state));
10810
+ if (state.events)
10811
+ state.events.exit?.("ClassImplicitCallForbidden", state, result, eventData);
10812
+ return result;
10813
+ } else {
10814
+ const result = ClassImplicitCallForbidden$0(state);
10815
+ if (state.events)
10816
+ state.events.exit?.("ClassImplicitCallForbidden", state, result, eventData);
10817
+ return result;
10818
+ }
10819
+ }
10792
10820
  var ForbidIndentedApplication$0 = $TV($EXPECT($L0, fail, 'ForbidIndentedApplication ""'), function($skip, $loc, $0, $1) {
10793
10821
  module2.forbidIndentedApplication.push(true);
10794
10822
  });
@@ -13613,7 +13641,7 @@ ${input.slice(result.pos)}
13613
13641
  return result;
13614
13642
  }
13615
13643
  }
13616
- var TrailingComment$0 = $S($E(_), SingleLineComment);
13644
+ var TrailingComment$0 = $S($E(_), $E(SingleLineComment));
13617
13645
  function TrailingComment(state) {
13618
13646
  let eventData;
13619
13647
  if (state.events) {
@@ -13761,7 +13789,7 @@ ${input.slice(result.pos)}
13761
13789
  return result;
13762
13790
  }
13763
13791
  }
13764
- var ExpressionDelimiter$0 = $TS($S($E(_), Semicolon, InsertComma, $E(TrailingComment)), function($skip, $loc, $0, $1, $2, $3, $4) {
13792
+ var ExpressionDelimiter$0 = $TS($S($E(_), Semicolon, InsertComma, TrailingComment), function($skip, $loc, $0, $1, $2, $3, $4) {
13765
13793
  return [$1, $3, $4];
13766
13794
  });
13767
13795
  var ExpressionDelimiter$1 = $T($S($Y(EOS), InsertComma), function(value) {
@@ -13838,7 +13866,7 @@ ${input.slice(result.pos)}
13838
13866
  return result;
13839
13867
  }
13840
13868
  }
13841
- var SemicolonDelimiter$0 = $TS($S($E(_), Semicolon, $E(TrailingComment)), function($skip, $loc, $0, $1, $2, $3) {
13869
+ var SemicolonDelimiter$0 = $TS($S($E(_), Semicolon, TrailingComment), function($skip, $loc, $0, $1, $2, $3) {
13842
13870
  return {
13843
13871
  type: "SemicolonDelimiter",
13844
13872
  children: $0
@@ -23131,7 +23159,7 @@ var parse;
23131
23159
  var uncacheable;
23132
23160
  ({ parse } = import_parser.default);
23133
23161
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
23134
- uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowIndentedApplication", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidIndentedApplication", "ForbidTrailingMemberProperty", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
23162
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowClassImplicitCall", "AllowIndentedApplication", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "ClassImplicitCallForbidden", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidClassImplicitCall", "ForbidIndentedApplication", "ForbidTrailingMemberProperty", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreClassImplicitCall", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
23135
23163
  var compile = function(src, options) {
23136
23164
  var ast, code, events, filename, ref, result, sm, srcMapJSON;
23137
23165
  if (!options) {
package/dist/main.mjs CHANGED
@@ -818,6 +818,7 @@ ${input.slice(result.pos)}
818
818
  ForbidClassImplicitCall,
819
819
  AllowClassImplicitCall,
820
820
  RestoreClassImplicitCall,
821
+ ClassImplicitCallForbidden,
821
822
  ForbidIndentedApplication,
822
823
  AllowIndentedApplication,
823
824
  RestoreIndentedApplication,
@@ -1854,7 +1855,7 @@ ${input.slice(result.pos)}
1854
1855
  }
1855
1856
  var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1856
1857
  var ForbiddenImplicitCalls$1 = $EXPECT($L1, fail, 'ForbiddenImplicitCalls "/ "');
1857
- var ForbiddenImplicitCalls$2 = $S(ForbidClassImplicitCall, Class);
1858
+ var ForbiddenImplicitCalls$2 = $S(ClassImplicitCallForbidden, Class);
1858
1859
  var ForbiddenImplicitCalls$3 = AtAt;
1859
1860
  var ForbiddenImplicitCalls$4 = $S(Identifier, $EXPECT($L2, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
1860
1861
  var ForbiddenImplicitCalls$5 = $TS($S(Identifier, $N($EXPECT($L3, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
@@ -10787,6 +10788,33 @@ ${input.slice(result.pos)}
10787
10788
  return result;
10788
10789
  }
10789
10790
  }
10791
+ var ClassImplicitCallForbidden$0 = $TV($EXPECT($L0, fail, 'ClassImplicitCallForbidden ""'), function($skip, $loc, $0, $1) {
10792
+ if (module.classImplicitCallForbidden)
10793
+ return $skip;
10794
+ return;
10795
+ });
10796
+ function ClassImplicitCallForbidden(state) {
10797
+ let eventData;
10798
+ if (state.events) {
10799
+ const result = state.events.enter?.("ClassImplicitCallForbidden", state);
10800
+ if (result) {
10801
+ if (result.cache)
10802
+ return result.cache;
10803
+ eventData = result.data;
10804
+ }
10805
+ }
10806
+ if (state.tokenize) {
10807
+ const result = $TOKEN("ClassImplicitCallForbidden", state, ClassImplicitCallForbidden$0(state));
10808
+ if (state.events)
10809
+ state.events.exit?.("ClassImplicitCallForbidden", state, result, eventData);
10810
+ return result;
10811
+ } else {
10812
+ const result = ClassImplicitCallForbidden$0(state);
10813
+ if (state.events)
10814
+ state.events.exit?.("ClassImplicitCallForbidden", state, result, eventData);
10815
+ return result;
10816
+ }
10817
+ }
10790
10818
  var ForbidIndentedApplication$0 = $TV($EXPECT($L0, fail, 'ForbidIndentedApplication ""'), function($skip, $loc, $0, $1) {
10791
10819
  module.forbidIndentedApplication.push(true);
10792
10820
  });
@@ -13611,7 +13639,7 @@ ${input.slice(result.pos)}
13611
13639
  return result;
13612
13640
  }
13613
13641
  }
13614
- var TrailingComment$0 = $S($E(_), SingleLineComment);
13642
+ var TrailingComment$0 = $S($E(_), $E(SingleLineComment));
13615
13643
  function TrailingComment(state) {
13616
13644
  let eventData;
13617
13645
  if (state.events) {
@@ -13759,7 +13787,7 @@ ${input.slice(result.pos)}
13759
13787
  return result;
13760
13788
  }
13761
13789
  }
13762
- var ExpressionDelimiter$0 = $TS($S($E(_), Semicolon, InsertComma, $E(TrailingComment)), function($skip, $loc, $0, $1, $2, $3, $4) {
13790
+ var ExpressionDelimiter$0 = $TS($S($E(_), Semicolon, InsertComma, TrailingComment), function($skip, $loc, $0, $1, $2, $3, $4) {
13763
13791
  return [$1, $3, $4];
13764
13792
  });
13765
13793
  var ExpressionDelimiter$1 = $T($S($Y(EOS), InsertComma), function(value) {
@@ -13836,7 +13864,7 @@ ${input.slice(result.pos)}
13836
13864
  return result;
13837
13865
  }
13838
13866
  }
13839
- var SemicolonDelimiter$0 = $TS($S($E(_), Semicolon, $E(TrailingComment)), function($skip, $loc, $0, $1, $2, $3) {
13867
+ var SemicolonDelimiter$0 = $TS($S($E(_), Semicolon, TrailingComment), function($skip, $loc, $0, $1, $2, $3) {
13840
13868
  return {
13841
13869
  type: "SemicolonDelimiter",
13842
13870
  children: $0
@@ -23119,7 +23147,7 @@ var parse;
23119
23147
  var uncacheable;
23120
23148
  ({ parse } = import_parser.default);
23121
23149
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
23122
- uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowIndentedApplication", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidIndentedApplication", "ForbidTrailingMemberProperty", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
23150
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowClassImplicitCall", "AllowIndentedApplication", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "ClassImplicitCallForbidden", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidClassImplicitCall", "ForbidIndentedApplication", "ForbidTrailingMemberProperty", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreClassImplicitCall", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
23123
23151
  var compile = function(src, options) {
23124
23152
  var ast, code, events, filename, ref, result, sm, srcMapJSON;
23125
23153
  if (!options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielx/civet",
3
- "version": "0.5.82",
3
+ "version": "0.5.84",
4
4
  "description": "CoffeeScript style syntax for TypeScript",
5
5
  "main": "dist/main.js",
6
6
  "module": "dist/main.mjs",