vba-interpreter 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +96 -2
- package/dist/contract-CBGNXslV.d.ts +226 -0
- package/dist/exec/index.d.ts +12 -0
- package/dist/exec/index.js +1 -0
- package/dist/exec-DYWJe-eU.js +306 -0
- package/dist/exec-DYWJe-eU.js.map +1 -0
- package/dist/index-DnrotnmB.d.ts +2015 -0
- package/dist/index-DtaSNo0V.d.ts +111 -0
- package/dist/index-DyoT9JOJ.d.ts +4 -0
- package/dist/index-gM7FYTaq.d.ts +1353 -0
- package/dist/index-zKYgEJdV.d.ts +900 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +3 -0
- package/dist/interp/index.d.ts +10 -0
- package/dist/interp/index.js +1 -0
- package/dist/interp-ChrsgBCf.js +3433 -0
- package/dist/interp-ChrsgBCf.js.map +1 -0
- package/dist/lang/index.d.ts +10 -0
- package/dist/lang/index.js +1 -0
- package/dist/lang-Bo63dJb9.js +4740 -0
- package/dist/lang-Bo63dJb9.js.map +1 -0
- package/dist/runtime/index.d.ts +33 -0
- package/dist/runtime/index.js +1 -0
- package/dist/runtime-C8-PPxmH.js +8284 -0
- package/dist/runtime-C8-PPxmH.js.map +1 -0
- package/dist/semantic/index.d.ts +12 -0
- package/dist/semantic/index.js +1 -0
- package/dist/semantic-CAVxm72C.js +2877 -0
- package/dist/semantic-CAVxm72C.js.map +1 -0
- package/package.json +91 -5
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `import { ... } from 'vba-interpreter/semantic'`
|
|
3
|
+
*
|
|
4
|
+
* The semantic layer ([MS-VBAL] 5): binds a parsed project into one model both executors use.
|
|
5
|
+
* `bindProgram` resolves every name, call, index and `With` member, types every expression,
|
|
6
|
+
* matches call arguments to parameters and reports compile errors in VBA's wording. It depends
|
|
7
|
+
* only on `lang`; the runtime and the executors build on it.
|
|
8
|
+
*
|
|
9
|
+
* @module semantic
|
|
10
|
+
*/
|
|
11
|
+
import { $ as DeclareSymbol, A as LIBRARY_CONSTANTS, B as OBJECT, C as ModuleOptions, D as libraryEntries, E as PropertyGroup, F as LibraryFunction, G as UdtType, H as ScalarType, I as LibraryObject, J as isVariant, K as VARIANT, L as fn, M as LibraryConstant, N as LibraryConvention, O as libraryEntry, P as LibraryEntry, Q as ConstSymbol, R as twin, S as ModuleMemberSymbol, T as ProcedureFacts, U as ScalarTypeName, V as ObjectType, W as StaticType, X as storageVt, Y as scalarType, Z as vtOfScalar, _ as BoundArgument, a as typedLengthVt, at as UdtSymbol, b as WithBlock, c as bindProgram, ct as VariableSymbol, d as BoundDiagnostic, et as EnumMemberSymbol, f as SEMANTIC_ERROR_NUMBERS, g as Binding, h as ArgumentPassing, i as isTypedOperand, it as UdtFieldSymbol, j as FunctionOptions, k as LIBRARY_FUNCTIONS, l as BindingTable, m as SemanticDiagnosticCode, n as nestedBodies, nt as EventSymbol, o as BindOptions, ot as UsageFacts, p as SEMANTIC_MESSAGES, q as VariantType, r as BoundLookup, rt as ParamSymbol, s as SourceModuleInput, st as VariableScope, t as forEachStatement, tt as EnumSymbol, u as BoundProgram, v as CallSite, w as BoundProcedure, x as BoundModule, y as Invocation, z as ArrayType } from "../index-zKYgEJdV.js";
|
|
12
|
+
export { type ArgumentPassing, type ArrayType, type BindOptions, type Binding, BindingTable, type BoundArgument, type BoundDiagnostic, type BoundLookup, BoundModule, BoundProcedure, BoundProgram, type CallSite, type ConstSymbol, type DeclareSymbol, type EnumMemberSymbol, type EnumSymbol, type EventSymbol, FunctionOptions, type Invocation, LIBRARY_CONSTANTS, LIBRARY_FUNCTIONS, LibraryConstant, LibraryConvention, LibraryEntry, LibraryFunction, LibraryObject, type ModuleMemberSymbol, type ModuleOptions, OBJECT, type ObjectType, type ParamSymbol, ProcedureFacts, PropertyGroup, SEMANTIC_ERROR_NUMBERS, SEMANTIC_MESSAGES, type ScalarType, type ScalarTypeName, type SemanticDiagnosticCode, type SourceModuleInput, type StaticType, type UdtFieldSymbol, type UdtSymbol, type UdtType, UsageFacts, VARIANT, type VariableScope, type VariableSymbol, type VariantType, type WithBlock, bindProgram, fn, forEachStatement, isTypedOperand, isVariant, libraryEntries, libraryEntry, nestedBodies, scalarType, storageVt, twin, typedLengthVt, vtOfScalar };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { u as BindingTable, m as BoundModule, w as BoundProcedure, d as BoundProgram, l as LIBRARY_CONSTANTS, o as LIBRARY_FUNCTIONS, _ as OBJECT, T as ProcedureFacts, E as PropertyGroup, h as SEMANTIC_ERROR_NUMBERS, g as SEMANTIC_MESSAGES, C as UsageFacts, v as VARIANT, t as bindProgram, s as fn, n as forEachStatement, f as isTypedOperand, y as isVariant, i as libraryEntries, a as libraryEntry, r as nestedBodies, b as scalarType, x as storageVt, c as twin, p as typedLengthVt, S as vtOfScalar } from "../semantic-CAVxm72C.js";
|