Comparing version 0.15.0 to 0.15.1
@@ -1484,2 +1484,4 @@ import { Parser, NodeSet, NodeType, DefaultBufferLength, NodeProp, Tree } from '@lezer/common'; | ||
}); | ||
if (config.contextTracker) | ||
copy.context = config.contextTracker; | ||
if (config.dialect) | ||
@@ -1486,0 +1488,0 @@ copy.dialect = this.parseDialect(config.dialect); |
@@ -85,2 +85,3 @@ import { Tree, TreeFragment, NodeSet, NodeType, NodePropSource, Input, PartialParse, Parser, ParseWrapper } from "@lezer/common"; | ||
}[]; | ||
contextTracker?: ContextTracker<any>; | ||
strict?: boolean; | ||
@@ -87,0 +88,0 @@ wrap?: ParseWrapper; |
@@ -27,6 +27,2 @@ import { Stack } from "./stack"; | ||
export interface Tokenizer { | ||
token(input: InputStream, stack: Stack): void; | ||
contextual: boolean; | ||
fallback: boolean; | ||
extend: boolean; | ||
} | ||
@@ -33,0 +29,0 @@ interface ExternalOptions { |
{ | ||
"name": "@lezer/lr", | ||
"version": "0.15.0", | ||
"version": "0.15.1", | ||
"description": "Incremental parser", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
133384
3327