mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
moved node types for specific dir
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ import * as estraverse from 'estraverse';
|
||||
import { INode } from './interfaces/nodes/INode';
|
||||
|
||||
import { TNodeWithBlockStatement } from "./types/TNodeWithBlockStatement";
|
||||
import { TStatement } from "./types/TStatement";
|
||||
import { TStatement } from "./types/nodes/TStatement";
|
||||
|
||||
import { NodeType } from "./enums/NodeType";
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import { IProgramNode } from "./interfaces/nodes/IProgramNode";
|
||||
import { IPropertyNode } from "./interfaces/nodes/IPropertyNode";
|
||||
import { IVariableDeclaratorNode } from "./interfaces/nodes/IVariableDeclaratorNode";
|
||||
|
||||
import { TStatement } from "./types/TStatement";
|
||||
import { TStatement } from "./types/nodes/TStatement";
|
||||
|
||||
import { TNodeWithBlockStatement } from "./types/TNodeWithBlockStatement";
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { TStatement } from "../../types/TStatement";
|
||||
import { TStatement } from "../../types/nodes/TStatement";
|
||||
|
||||
import { INode } from "./INode";
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { TExpression } from "../../types/TExpression";
|
||||
import { TExpression } from "../../types/nodes/TExpression";
|
||||
|
||||
import { INode } from "./INode";
|
||||
import { ISpreadElementNode } from "./ISpreadElementNode";
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { TExpression } from "../../types/TExpression";
|
||||
import { TExpression } from "../../types/nodes/TExpression";
|
||||
|
||||
import { INode } from "./INode";
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { TExpression } from "../../types/TExpression";
|
||||
import { TExpression } from "../../types/nodes/TExpression";
|
||||
|
||||
import { IBlockStatementNode } from "./IBlockStatementNode";
|
||||
import { IIdentifierNode } from "./IIdentifierNode";
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { TStatement } from "../../types/TStatement";
|
||||
import { TStatement } from "../../types/nodes/TStatement";
|
||||
|
||||
import { INode } from "./INode";
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { TExpression } from "../../types/TExpression";
|
||||
import { TExpression } from "../../types/nodes/TExpression";
|
||||
|
||||
import { INode } from "./INode";
|
||||
|
||||
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
import { IArrowFunctionExpressionNode } from "../interfaces/nodes/IArrowFunctionExpressionNode";
|
||||
import { ICallExpressionNode } from "../interfaces/nodes/ICallExpressionNode";
|
||||
import { IFunctionExpressionNode } from "../interfaces/nodes/IFunctionExpressionNode";
|
||||
import { IIdentifierNode } from "../interfaces/nodes/IIdentifierNode";
|
||||
import { ILiteralNode } from "../interfaces/nodes/ILiteralNode";
|
||||
import { IMemberExpressionNode } from "../interfaces/nodes/IMemberExpressionNode";
|
||||
import { INode } from "../interfaces/nodes/INode";
|
||||
|
||||
export type TExpression = INode & (IArrowFunctionExpressionNode | ICallExpressionNode | IFunctionExpressionNode |
|
||||
IIdentifierNode | ILiteralNode | IMemberExpressionNode);
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
import { IExpressionStatementNode } from "../interfaces/nodes/IExpressionStatementNode";
|
||||
import { IFunctionDeclarationNode } from "../interfaces/nodes/IFunctionDeclarationNode";
|
||||
import { IIfStatementNode } from "../interfaces/nodes/IIfStatementNode";
|
||||
import { INode } from "../interfaces/nodes/INode";
|
||||
import { IVariableDeclarationNode } from "../interfaces/nodes/IVariableDeclarationNode";
|
||||
|
||||
export type TStatement = INode & (IExpressionStatementNode | IFunctionDeclarationNode | IIfStatementNode |
|
||||
IVariableDeclarationNode);
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
import { IArrowFunctionExpressionNode } from "../../interfaces/nodes/IArrowFunctionExpressionNode";
|
||||
import { ICallExpressionNode } from "../../interfaces/nodes/ICallExpressionNode";
|
||||
import { IFunctionExpressionNode } from "../../interfaces/nodes/IFunctionExpressionNode";
|
||||
import { IIdentifierNode } from "../../interfaces/nodes/IIdentifierNode";
|
||||
import { ILiteralNode } from "../../interfaces/nodes/ILiteralNode";
|
||||
import { IMemberExpressionNode } from "../../interfaces/nodes/IMemberExpressionNode";
|
||||
import { INode } from "../../interfaces/nodes/INode";
|
||||
|
||||
export type TExpression = INode & (IArrowFunctionExpressionNode | ICallExpressionNode | IFunctionExpressionNode |
|
||||
IIdentifierNode | ILiteralNode | IMemberExpressionNode);
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
import { IExpressionStatementNode } from "../../interfaces/nodes/IExpressionStatementNode";
|
||||
import { IFunctionDeclarationNode } from "../../interfaces/nodes/IFunctionDeclarationNode";
|
||||
import { IIfStatementNode } from "../../interfaces/nodes/IIfStatementNode";
|
||||
import { INode } from "../../interfaces/nodes/INode";
|
||||
import { IVariableDeclarationNode } from "../../interfaces/nodes/IVariableDeclarationNode";
|
||||
|
||||
export type TStatement = INode & (IExpressionStatementNode | IFunctionDeclarationNode | IIfStatementNode |
|
||||
IVariableDeclarationNode);
|
||||
@@ -1,4 +1,4 @@
|
||||
import { TStatement } from "../../src/types/TStatement";
|
||||
import { TStatement } from "../../src/types/nodes/TStatement";
|
||||
|
||||
import { IBlockStatementNode } from "../../src/interfaces/nodes/IBlockStatementNode";
|
||||
import { ICatchClauseNode } from "../../src/interfaces/nodes/ICatchClauseNode";
|
||||
|
||||
Reference in New Issue
Block a user