clarity-pattern-parser 10.1.5 → 10.1.7

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.
@@ -855,7 +855,7 @@
855
855
  }
856
856
  const root = this._getRoot();
857
857
  return findPattern(root, (pattern) => {
858
- return pattern.name === this._name && pattern.type !== "reference" && pattern.type !== "context";
858
+ return pattern.name === this._name && pattern.type !== "reference";
859
859
  });
860
860
  }
861
861
  _getRoot() {
@@ -2626,12 +2626,6 @@
2626
2626
  this._parseContext = new ParseContext(this._params);
2627
2627
  this._autoComplete = new AutoComplete(grammar, {
2628
2628
  greedyPatternNames: ["spaces", "optional-spaces", "whitespace", "new-line"],
2629
- customTokens: {
2630
- "regex-literal": ["[Regular Expression]"],
2631
- "literal": ["[String]"],
2632
- "name": ["[Pattern Name]"],
2633
- "pattern-name": ["[Pattern Name]"]
2634
- }
2635
2629
  });
2636
2630
  }
2637
2631
  import(path) {