@unified-latex/unified-latex-util-scan
Advanced tools
Comparing version 1.7.1 to 1.8.0
import * as Ast from '@unified-latex/unified-latex-types'; | ||
import Trie from 'trie-prefix-tree'; | ||
import { default as Trie } from 'trie-prefix-tree'; | ||
@@ -4,0 +4,0 @@ /** |
{ | ||
"name": "@unified-latex/unified-latex-util-scan", | ||
"version": "1.7.1", | ||
"version": "1.8.0", | ||
"description": "Functions for modifying a unified-latex AST", | ||
@@ -8,5 +8,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@unified-latex/unified-latex-types": "^1.7.1", | ||
"@unified-latex/unified-latex-util-match": "^1.7.1", | ||
"@unified-latex/unified-latex-util-print-raw": "^1.7.1", | ||
"@unified-latex/unified-latex-types": "^1.8.0", | ||
"@unified-latex/unified-latex-util-match": "^1.8.0", | ||
"@unified-latex/unified-latex-util-print-raw": "^1.8.0", | ||
"trie-prefix-tree": "^1.5.1" | ||
@@ -13,0 +13,0 @@ }, |
@@ -32,3 +32,3 @@ <!-- DO NOT MODIFY --> | ||
```typescript | ||
function prefixMatch(nodes: Ast.Node[], prefixes: string | string[] | { dump(spacer?: number): string; tree(): any; addWord(word: string): ...; removeWord(word: string): ...; isPrefix(word: string): boolean; countPrefix(word: string): number; ... 5 more ...; getSubAnagrams(word: string): string[]; }, options: { startIndex?: number; matchSubstrings?: boolean; assumeOneCharStrings?: boolean; }): { match: string; endNodeIndex: number; endNodePartialMatch: string | null; } | ||
function prefixMatch(nodes: Ast.Node[], prefixes: string | string[] | { dump(spacer?: number): string; tree(): any; addWord(word: string): ReturnType<typeof Trie>; removeWord(word: string): ReturnType<typeof Trie>; ... 7 more ...; getSubAnagrams(word: string): string[]; }, options: { startIndex?: number; matchSubstrings?: boolean; assumeOneCharStrings?: boolean; }): { match: string; endNodeIndex: number; endNodePartialMatch: string | null; } | ||
``` | ||
@@ -35,0 +35,0 @@ |
29700