@danielx/civet 0.3.5 → 0.3.6

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/README.md CHANGED
@@ -135,6 +135,10 @@ Things Added that CoffeeScript didn't
135
135
  ---
136
136
 
137
137
  - TypeScript Types
138
+ - Function annotaions
139
+ - `namespace`
140
+ - `interface`
141
+ - TypeParameters
138
142
  - JS Compatability
139
143
  - `var`, `let`, `const`
140
144
  - JS Comment Syntax `//` and `/* */`
package/dist/browser.js CHANGED
@@ -1409,7 +1409,7 @@ var Civet = (() => {
1409
1409
  return MetaProperty$0(state) || MetaProperty$1(state);
1410
1410
  }
1411
1411
  }
1412
- var Parameters$0 = $S($EXPECT($L1, fail, 'Parameters "("'), $Q(ParameterElement), __, $EXPECT($L2, fail, 'Parameters ")"'));
1412
+ var Parameters$0 = $S($E(TypeParameters), $EXPECT($L1, fail, 'Parameters "("'), $Q(ParameterElement), __, $EXPECT($L2, fail, 'Parameters ")"'));
1413
1413
  var Parameters$1 = $T($EXPECT($L32, fail, 'Parameters ""'), function(value) {
1414
1414
  return "()";
1415
1415
  });
@@ -3673,7 +3673,9 @@ var Civet = (() => {
3673
3673
  return TypeArguments$0(state);
3674
3674
  }
3675
3675
  }
3676
- var TypeParameters$0 = $S(__, $EXPECT($L16, fail, 'TypeParameters "<"'), __, Type, $Q($S(__, $EXPECT($L0, fail, 'TypeParameters ","'), __, Type)), $E($S(__, $EXPECT($L0, fail, 'TypeParameters ","'))), __, $EXPECT($L67, fail, 'TypeParameters ">"'));
3676
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L16, fail, 'TypeParameters "<"'), __, Type, $Q($S(__, $EXPECT($L0, fail, 'TypeParameters ","'), __, Type)), $E($S(__, $EXPECT($L0, fail, 'TypeParameters ","'))), __, $EXPECT($L67, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
3677
+ return { ts: true, children: $0 };
3678
+ });
3677
3679
  function TypeParameters(state) {
3678
3680
  if (state.verbose)
3679
3681
  console.log("ENTER:", "TypeParameters");