Skip to content

Commit

Permalink
Revert "ファイル名変更"
Browse files Browse the repository at this point in the history
This reverts commit f86099c.
  • Loading branch information
takejohn committed Nov 22, 2024
1 parent 40cb909 commit 793fc81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/parser/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Scanner } from './scanner.js';
import { parseTopLevel } from './syntaxes/toplevel.js';

import { validateJumpExpressions } from './plugins/validate-jump-expressions.js';
import { validateJumpStatements } from './plugins/validate-jump-statements.js';
import { validateKeyword } from './plugins/validate-keyword.js';
import { validateType } from './plugins/validate-type.js';

Expand All @@ -22,7 +22,7 @@ export class Parser {
validate: [
validateKeyword,
validateType,
validateJumpExpressions,
validateJumpStatements,
],
transform: [
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function validateNode(node: Ast.Node, ancestors: Ast.Node[]): Ast.Node {
return node;
}

export function validateJumpExpressions(nodes: Ast.Node[]): Ast.Node[] {
export function validateJumpStatements(nodes: Ast.Node[]): Ast.Node[] {
for (const node of nodes) {
visitNode(node, validateNode);
}
Expand Down
File renamed without changes.

0 comments on commit 793fc81

Please sign in to comment.