Skip to content

Commit eb33ace

Browse files
committed
move misc
1 parent b919885 commit eb33ace

38 files changed

Lines changed: 37 additions & 37 deletions

src/compound.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ErrorOption, nullableAsArray } from "./misc/misc.ts";
1+
import { ErrorOption, nullableAsArray } from "./misc.ts";
22

33
export class ResultError extends Error {
44
override name = "ArrayResultError";

src/dictionary/parallel_parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This code is Deno only (it uses the new `using` keyword)
22

33
import { extractResultError, ResultError } from "../compound.ts";
4-
import { mapNullable } from "../misc/misc.ts";
4+
import { mapNullable } from "../misc.ts";
55
import { Position, PositionedError } from "../parser/parser_lib.ts";
66
import { HEADS } from "./parser.ts";
77
import { Dictionary } from "./type.ts";

src/dictionary/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { escape as escapeHtml } from "@std/html/entities";
44
import { escape as escapeRegex } from "@std/regexp/escape";
55
import nlp from "compromise/three";
66
import { ResultError } from "../compound.ts";
7-
import { nullableAsArray, throwError } from "../misc/misc.ts";
7+
import { nullableAsArray, throwError } from "../misc.ts";
88
import {
99
all,
1010
allWithCheck,

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
} from "./dictionary/dictionary.ts";
1212
import { parseDictionary } from "./dictionary/parser.ts";
1313
import { Dictionary } from "./dictionary/type.ts";
14-
import { assertQuotaExceededError, checkLocalStorage } from "./misc/misc.ts";
14+
import { assertQuotaExceededError, checkLocalStorage } from "./misc.ts";
1515
import { hasXAlaX } from "./parser/lexer.ts";
1616
import { Position, PositionedError } from "./parser/parser_lib.ts";
1717
import { settings } from "./settings.ts";
File renamed without changes.

src/parser/composer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { nullableAsArray, repeatWithSpace } from "../misc/misc.ts";
1+
import { nullableAsArray, repeatWithSpace } from "../misc.ts";
22
import {
33
Clause,
44
ContextClause,

src/parser/extract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { nullableAsArray } from "../misc/misc.ts";
1+
import { nullableAsArray } from "../misc.ts";
22
import {
33
Clause,
44
ContextClause,

src/parser/filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { extractResultError } from "../compound.ts";
2-
import { throwError } from "../misc/misc.ts";
2+
import { throwError } from "../misc.ts";
33
import {
44
Clause,
55
ContextClause,

src/parser/lexer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { memoize } from "@std/cache/memoize";
22
import { sumOf } from "@std/collections/sum-of";
3-
import { throwError } from "../misc/misc.ts";
3+
import { throwError } from "../misc.ts";
44
import {
55
all,
66
allAtLeastOnce,

src/parser/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
preverbSet,
88
tokiPonaWordSet,
99
} from "../dictionary/dictionary.ts";
10-
import { lazy as lazyEval, nullableAsArray, throwError } from "../misc/misc.ts";
10+
import { lazy as lazyEval, nullableAsArray, throwError } from "../misc.ts";
1111
import {
1212
Clause,
1313
ContextClause,

0 commit comments

Comments
 (0)