From fe9f5606d99237f6ca607f9cd711788bdfad065f Mon Sep 17 00:00:00 2001 From: Byakuren Hijiri Date: Sat, 27 Jul 2024 03:29:40 +0000 Subject: [PATCH] chore(irBuilder): Rearrange imports --- src/internals/tactIRBuilder.ts | 47 ++++++++++++++++------------------ 1 file changed, 22 insertions(+), 25 deletions(-) diff --git a/src/internals/tactIRBuilder.ts b/src/internals/tactIRBuilder.ts index da1b4513..e5a94484 100644 --- a/src/internals/tactIRBuilder.ts +++ b/src/internals/tactIRBuilder.ts @@ -1,15 +1,29 @@ +import { + ProjectName, + CompilationUnit, + FunctionKind, + TactASTStore, + NodeIdx, + ContractName, + Edge, + CFGIdx, + ContractIdx, + NodeKind, + Node, + FunctionName, + CFG, + Contract, +} from "./ir"; import { MistiContext } from "./context"; -import { CompilerContext } from "@tact-lang/compiler/dist/context"; -import { getRawAST } from "@tact-lang/compiler/dist/grammar/store"; -import { createNodeFileSystem } from "@tact-lang/compiler/dist/vfs/createNodeFileSystem"; -import { precompile } from "@tact-lang/compiler/dist/pipeline/precompile"; import { TactException, InternalException } from "./exceptions"; import { Config as TactConfig, parseConfig, } from "@tact-lang/compiler/dist/config/parseConfig"; -import path from "path"; -import fs from "fs"; +import { CompilerContext } from "@tact-lang/compiler/dist/context"; +import { getRawAST } from "@tact-lang/compiler/dist/grammar/store"; +import { createNodeFileSystem } from "@tact-lang/compiler/dist/vfs/createNodeFileSystem"; +import { precompile } from "@tact-lang/compiler/dist/pipeline/precompile"; import { AstStatement, SrcInfo, @@ -29,25 +43,8 @@ import { isSelfId, } from "@tact-lang/compiler/dist/grammar/ast"; import { AstStore } from "@tact-lang/compiler/dist/grammar/store"; - -import JSONbig from "json-bigint"; - -import { - ProjectName, - CompilationUnit, - FunctionKind, - TactASTStore, - NodeIdx, - ContractName, - Edge, - CFGIdx, - ContractIdx, - NodeKind, - Node, - FunctionName, - CFG, - Contract, -} from "./ir"; +import path from "path"; +import fs from "fs"; /** * Generates a unique name used to identify receive functions in CFG.