Skip to content

Commit

Permalink
fix: migrate to deno.json for dependency management (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
vectronic authored Jan 23, 2025
1 parent ce9e7c4 commit d91bbdb
Show file tree
Hide file tree
Showing 79 changed files with 120 additions and 91 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/check-deno-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ jobs:
deno-version: v2.x
- name: Update dependencies
run: |
deno install -A -f -n udd https://deno.land/x/udd/main.ts
udd deps.ts --test="deno test -A --unstable"
udd tests/test_deps.ts --test="deno test -A --unstable"
deno outdated --update --latest
deno test -A
- name: Create PR
id: create-pr
uses: peter-evans/create-pull-request@v7
Expand Down
9 changes: 8 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"name": "@flowscripter/mpeg-sdl-parser",
"version": "1.0.0",
"exports": "./mod.ts"
"exports": "./mod.ts",
"imports": {
"@std/assert": "jsr:@std/assert@^1.0.11",
"@std/fmt": "jsr:@std/fmt@^1.0.4",
"@std/log": "jsr:@std/log@^0.224.13",
"@std/path": "jsr:@std/path@^1.0.8",
"typescript-parsec": "npm:typescript-parsec@^0.3.4"
}
}
31 changes: 27 additions & 4 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions deps.ts

This file was deleted.

6 changes: 5 additions & 1 deletion src/parser/Parser.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { expectEOF, expectSingleResult, type TokenError } from "../../deps.ts";
import {
expectEOF,
expectSingleResult,
type TokenError,
} from "typescript-parsec";
import type { Specification } from "../abstract_syntax_tree/node/Specification.ts";
import { Tokenizer } from "../tokenizer/Tokenizer.ts";
import {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/additive_expression_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, lrec_sc, seq } from "../../../deps.ts";
import { alt_sc, lrec_sc, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { BinaryExpression } from "../../abstract_syntax_tree/node/BinaryExpression.ts";
import { BinaryOperatorKind } from "../../abstract_syntax_tree/node/enum/binary_operator_kind.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, opt_sc, rep_sc, seq } from "../../../deps.ts";
import { alt_sc, apply, opt_sc, rep_sc, seq } from "typescript-parsec";
import type { AbstractMapOutputValue } from "../../abstract_syntax_tree/node/AbstractMapOutputValue.ts";
import { AggregateMapOutputValue } from "../../abstract_syntax_tree/node/AggregateMapOutputValue.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/aligned_modifier_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, opt_sc, seq } from "../../../deps.ts";
import { apply, opt_sc, seq } from "typescript-parsec";
import { AlignedModifier } from "../../abstract_syntax_tree/node/AlignedModifier.ts";
import { NumberLiteralKind } from "../../abstract_syntax_tree/node/enum/number_literal_kind.ts";
import type { NumberLiteral } from "../../abstract_syntax_tree/node/NumberLiteral.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/array_definition_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, opt_sc, rep_sc, seq } from "../../../deps.ts";
import { alt_sc, apply, opt_sc, rep_sc, seq } from "typescript-parsec";
import type { AlignedModifier } from "../../abstract_syntax_tree/node/AlignedModifier.ts";
import { ArrayDefinition } from "../../abstract_syntax_tree/node/ArrayDefinition.ts";
import type { ArrayElementType } from "../../abstract_syntax_tree/node/ArrayElementType.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/array_element_access_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { ArrayElementAccess } from "../../abstract_syntax_tree/node/ArrayElementAccess.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/array_element_type_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, seq } from "../../../deps.ts";
import { alt_sc, apply, seq } from "typescript-parsec";
import { ArrayElementType } from "../../abstract_syntax_tree/node/ArrayElementType.ts";
import type { ElementaryType } from "../../abstract_syntax_tree/node/ElementaryType.ts";
import type { Identifier } from "../../abstract_syntax_tree/node/Identifier.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { BinaryExpression } from "../../abstract_syntax_tree/node/BinaryExpression.ts";
import { BinaryOperatorKind } from "../../abstract_syntax_tree/node/enum/binary_operator_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/bit_modifier_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, opt_sc, seq } from "../../../deps.ts";
import { alt_sc, apply, opt_sc, seq } from "typescript-parsec";
import type { AbstractClassId } from "../../abstract_syntax_tree/node/AbstractClassId.ts";
import { BitModifier } from "../../abstract_syntax_tree/node/BitModifier.ts";
import type { Identifier } from "../../abstract_syntax_tree/node/Identifier.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/bitwise_expression_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, lrec_sc, seq } from "../../../deps.ts";
import { alt_sc, lrec_sc, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { BinaryExpression } from "../../abstract_syntax_tree/node/BinaryExpression.ts";
import { BinaryOperatorKind } from "../../abstract_syntax_tree/node/enum/binary_operator_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/class_declaration_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, opt_sc, rep_sc, seq } from "../../../deps.ts";
import { apply, opt_sc, rep_sc, seq } from "typescript-parsec";
import type { AbstractStatement } from "../../abstract_syntax_tree/node/AbstractStatement.ts";
import type { AlignedModifier } from "../../abstract_syntax_tree/node/AlignedModifier.ts";
import type { BitModifier } from "../../abstract_syntax_tree/node/BitModifier.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/class_definition_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, opt_sc, seq } from "../../../deps.ts";
import { apply, opt_sc, seq } from "typescript-parsec";
import { ClassDefinition } from "../../abstract_syntax_tree/node/ClassDefinition.ts";
import type { Identifier } from "../../abstract_syntax_tree/node/Identifier.ts";
import type { ParameterValueList } from "../../abstract_syntax_tree/node/ParameterValueList.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/class_id_range_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import { ClassIdRange } from "../../abstract_syntax_tree/node/ClassIdRange.ts";
import type { SingleClassId } from "../../abstract_syntax_tree/node/SingleClassId.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/class_member_access_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { ClassMemberAccess } from "../../abstract_syntax_tree/node/ClassMemberAccess.ts";
import type { Identifier } from "../../abstract_syntax_tree/node/Identifier.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/compound_statement_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, rep_sc, seq } from "../../../deps.ts";
import { apply, rep_sc, seq } from "typescript-parsec";
import type { AbstractStatement } from "../../abstract_syntax_tree/node/AbstractStatement.ts";
import { CompoundStatement } from "../../abstract_syntax_tree/node/CompoundStatement.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, rep_sc, seq } from "../../../deps.ts";
import { apply, rep_sc, seq } from "typescript-parsec";
import { ComputedArrayDefinition } from "../../abstract_syntax_tree/node/ComputedArrayDefinition.ts";
import type { ElementaryType } from "../../abstract_syntax_tree/node/ElementaryType.ts";
import type { ExplicitArrayDimension } from "../../abstract_syntax_tree/node/ExplicitArrayDimension.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, opt_sc, seq } from "../../../deps.ts";
import { apply, opt_sc, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { ComputedElementaryTypeDefinition } from "../../abstract_syntax_tree/node/ComputedElementaryTypeDefinition.ts";
import type { ElementaryType } from "../../abstract_syntax_tree/node/ElementaryType.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/do_statement_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import type { CompoundStatement } from "../../abstract_syntax_tree/node/CompoundStatement.ts";
import { DoStatement } from "../../abstract_syntax_tree/node/DoStatement.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, opt_sc, seq } from "../../../deps.ts";
import { apply, opt_sc, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import type { AlignedModifier } from "../../abstract_syntax_tree/node/AlignedModifier.ts";
import type { ElementaryType } from "../../abstract_syntax_tree/node/ElementaryType.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/elementary_type_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, seq } from "../../../deps.ts";
import { alt_sc, apply, seq } from "typescript-parsec";
import { ElementaryType } from "../../abstract_syntax_tree/node/ElementaryType.ts";
import { ElementaryTypeKind } from "../../abstract_syntax_tree/node/enum/elementary_type_kind.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/else_clause_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import type { AbstractStatement } from "../../abstract_syntax_tree/node/AbstractStatement.ts";
import { IfClause } from "../../abstract_syntax_tree/node/IfClause.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/else_if_clause_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import type { AbstractStatement } from "../../abstract_syntax_tree/node/AbstractStatement.ts";
import { IfClause } from "../../abstract_syntax_tree/node/IfClause.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/equality_expression_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, lrec_sc, seq } from "../../../deps.ts";
import { alt_sc, lrec_sc, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { BinaryExpression } from "../../abstract_syntax_tree/node/BinaryExpression.ts";
import { BinaryOperatorKind } from "../../abstract_syntax_tree/node/enum/binary_operator_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/expandable_modifier_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, opt_sc, seq } from "../../../deps.ts";
import { apply, opt_sc, seq } from "typescript-parsec";
import { ExpandableModifier } from "../../abstract_syntax_tree/node/ExpandableModifier.ts";
import type { NumberLiteral } from "../../abstract_syntax_tree/node/NumberLiteral.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { ExplicitArrayDimension } from "../../abstract_syntax_tree/node/ExplicitArrayDimension.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/expression_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, lrec_sc, seq } from "../../../deps.ts";
import { alt_sc, lrec_sc, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { BinaryExpression } from "../../abstract_syntax_tree/node/BinaryExpression.ts";
import { BinaryOperatorKind } from "../../abstract_syntax_tree/node/enum/binary_operator_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/expression_statement_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, seq } from "../../../deps.ts";
import { alt_sc, apply, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { ExpressionStatement } from "../../abstract_syntax_tree/node/ExpressionStatement.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, opt_sc, rep_sc, seq } from "../../../deps.ts";
import { alt_sc, apply, opt_sc, rep_sc, seq } from "typescript-parsec";
import type { ClassIdRange } from "../../abstract_syntax_tree/node/ClassIdRange.ts";
import { ExtendedClassIdRange } from "../../abstract_syntax_tree/node/ExtendedClassIdRange.ts";
import type { SingleClassId } from "../../abstract_syntax_tree/node/SingleClassId.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/extends_modifier_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, opt_sc, seq } from "../../../deps.ts";
import { apply, opt_sc, seq } from "typescript-parsec";
import { ExtendsModifier } from "../../abstract_syntax_tree/node/ExtendsModifier.ts";
import type { Identifier } from "../../abstract_syntax_tree/node/Identifier.ts";
import type { ParameterValueList } from "../../abstract_syntax_tree/node/ParameterValueList.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/for_statement_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, seq } from "../../../deps.ts";
import { alt_sc, apply, seq } from "typescript-parsec";
import type { AbstractExpression } from "../../abstract_syntax_tree/node/AbstractExpression.ts";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import type { AbstractStatement } from "../../abstract_syntax_tree/node/AbstractStatement.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/identifier_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply } from "../../../deps.ts";
import { apply } from "typescript-parsec";
import { Identifier } from "../../abstract_syntax_tree/node/Identifier.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
import { getToken } from "../../tokenizer/parsec/ParsecTokenWrapper.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/if_clause_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import type { AbstractStatement } from "../../abstract_syntax_tree/node/AbstractStatement.ts";
import { IfClause } from "../../abstract_syntax_tree/node/IfClause.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/if_statement_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, opt_sc, rep_sc, seq } from "../../../deps.ts";
import { apply, opt_sc, rep_sc, seq } from "typescript-parsec";
import type { IfClause } from "../../abstract_syntax_tree/node/IfClause.ts";
import { IfStatement } from "../../abstract_syntax_tree/node/IfStatement.ts";
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, opt_sc, seq } from "../../../deps.ts";
import { apply, opt_sc, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { ImplicitArrayDimension } from "../../abstract_syntax_tree/node/ImplicitArrayDimension.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/length_attribute_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { LengthAttribute } from "../../abstract_syntax_tree/node/LengthAttribute.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/lengthof_expression_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { LengthOfExpression } from "../../abstract_syntax_tree/node/LengthOfExpression.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/map_declaration_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, seq } from "../../../deps.ts";
import { alt_sc, apply, seq } from "typescript-parsec";
import type { ElementaryType } from "../../abstract_syntax_tree/node/ElementaryType.ts";
import { NodeKind } from "../../abstract_syntax_tree/node/enum/node_kind.ts";
import type { Identifier } from "../../abstract_syntax_tree/node/Identifier.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/map_definition_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, opt_sc, seq } from "../../../deps.ts";
import { alt_sc, apply, opt_sc, seq } from "typescript-parsec";
import type { ElementaryType } from "../../abstract_syntax_tree/node/ElementaryType.ts";
import { NodeKind } from "../../abstract_syntax_tree/node/enum/node_kind.ts";
import type { Identifier } from "../../abstract_syntax_tree/node/Identifier.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/map_entry_list_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, opt_sc, rep_sc, seq } from "../../../deps.ts";
import { apply, opt_sc, rep_sc, seq } from "typescript-parsec";
import type { MapEntry } from "../../abstract_syntax_tree/node/MapEntry.ts";
import { MapEntryList } from "../../abstract_syntax_tree/node/MapEntryList.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/map_entry_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, seq } from "../../../deps.ts";
import { apply, seq } from "typescript-parsec";
import type { AggregateMapOutputValue } from "../../abstract_syntax_tree/node/AggregateMapOutputValue.ts";
import { MapEntry } from "../../abstract_syntax_tree/node/MapEntry.ts";
import type { NumberLiteral } from "../../abstract_syntax_tree/node/NumberLiteral.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, lrec_sc, seq } from "../../../deps.ts";
import { alt_sc, lrec_sc, seq } from "typescript-parsec";
import type { AbstractNode } from "../../abstract_syntax_tree/node/AbstractNode.ts";
import { BinaryExpression } from "../../abstract_syntax_tree/node/BinaryExpression.ts";
import { BinaryOperatorKind } from "../../abstract_syntax_tree/node/enum/binary_operator_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/number_literal_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, rep_sc, seq } from "../../../deps.ts";
import { alt_sc, apply, rep_sc, seq } from "typescript-parsec";
import { NumberLiteralKind } from "../../abstract_syntax_tree/node/enum/number_literal_kind.ts";
import { NumberLiteral } from "../../abstract_syntax_tree/node/NumberLiteral.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/parameter_list_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { apply, opt_sc, rep_sc, seq } from "../../../deps.ts";
import { apply, opt_sc, rep_sc, seq } from "typescript-parsec";
import type { Parameter } from "../../abstract_syntax_tree/node/Parameter.ts";
import { ParameterList } from "../../abstract_syntax_tree/node/ParameterList.ts";
import { TokenKind } from "../../tokenizer/enum/token_kind.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/parser/syntax_patterns/parameter_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alt_sc, apply, seq } from "../../../deps.ts";
import { alt_sc, apply, seq } from "typescript-parsec";
import type { ElementaryType } from "../../abstract_syntax_tree/node/ElementaryType.ts";
import { NodeKind } from "../../abstract_syntax_tree/node/enum/node_kind.ts";
import type { Identifier } from "../../abstract_syntax_tree/node/Identifier.ts";
Expand Down
Loading

0 comments on commit d91bbdb

Please sign in to comment.