Skip to content

Commit

Permalink
ast type export hotfix
Browse files Browse the repository at this point in the history
+ exporting aliases bad, braindead imports gud
  • Loading branch information
michal-kapala committed Mar 27, 2024
1 parent bf69a0a commit 75f9471
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jitterbit-script",
"version": "1.0.7",
"version": "1.0.8",
"description": "Static typechecker and interpreter for Jitterbit Script",
"main": "build/index.js",
"scripts": {
Expand Down
44 changes: 42 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,46 @@ import Scope from "./runtime/scope";
import evaluate from "./runtime/interpreter";
import { CodeAnalysis } from "./typechecker/ast";
import Typechecker from "./typechecker/typechecker";
import * as Ast from "./typechecker/ast";
import {
TypedArrayLiteral,
TypedAssignment,
TypedBinaryExpr,
TypedBlockExpr,
TypedBoolLiteral,
TypedCall,
TypedFloatLiteral,
TypedGlobalIdentifier,
TypedIdentifier,
TypedIntegerLiteral,
TypedInvalidExpr,
TypedMemberExpr,
TypedNumericLiteral,
TypedStringLiteral,
TypedUnaryExpr
} from "./typechecker/ast";

export {Api, Func, Parser, Scope, evaluate, Typechecker, Diagnostic, CodeAnalysis, Ast};
export {
Api,
Func,
Parser,
Scope,
evaluate,
Typechecker,
Diagnostic,
CodeAnalysis,
TypedArrayLiteral,
TypedAssignment,
TypedBinaryExpr,
TypedBlockExpr,
TypedBoolLiteral,
TypedCall,
TypedFloatLiteral,
TypedGlobalIdentifier,
TypedIdentifier,
TypedIntegerLiteral,
TypedInvalidExpr,
TypedMemberExpr,
TypedNumericLiteral,
TypedStringLiteral,
TypedUnaryExpr
};

0 comments on commit 75f9471

Please sign in to comment.