@oseo/compiler 0.0.0-stage → 0.1.0-canary.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 +674 -0
- package/README.md +172 -2
- package/dist/agent-programs.d.ts +28 -0
- package/dist/agent-programs.d.ts.map +1 -0
- package/dist/agent-programs.js +134 -0
- package/dist/agent-programs.js.map +1 -0
- package/dist/agent-templates.d.ts +33 -0
- package/dist/agent-templates.d.ts.map +1 -0
- package/dist/agent-templates.js +45 -0
- package/dist/agent-templates.js.map +1 -0
- package/dist/compile.d.ts +20 -0
- package/dist/compile.d.ts.map +1 -0
- package/dist/compile.js +75 -0
- package/dist/compile.js.map +1 -0
- package/dist/fragments.d.ts +72 -0
- package/dist/fragments.d.ts.map +1 -0
- package/dist/fragments.js +158 -0
- package/dist/fragments.js.map +1 -0
- package/dist/hir-build.d.ts +80 -0
- package/dist/hir-build.d.ts.map +1 -0
- package/dist/hir-build.js +3077 -0
- package/dist/hir-build.js.map +1 -0
- package/dist/hir-print.d.ts +10 -0
- package/dist/hir-print.d.ts.map +1 -0
- package/dist/hir-print.js +271 -0
- package/dist/hir-print.js.map +1 -0
- package/dist/hir.d.ts +1246 -0
- package/dist/hir.d.ts.map +1 -0
- package/dist/hir.js +147 -0
- package/dist/hir.js.map +1 -0
- package/dist/host-scripts.d.ts +14 -0
- package/dist/host-scripts.d.ts.map +1 -0
- package/dist/host-scripts.js +204 -0
- package/dist/host-scripts.js.map +1 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -0
- package/dist/mir-build.d.ts +8 -0
- package/dist/mir-build.d.ts.map +1 -0
- package/dist/mir-build.js +5113 -0
- package/dist/mir-build.js.map +1 -0
- package/dist/mir-print.d.ts +7 -0
- package/dist/mir-print.d.ts.map +1 -0
- package/dist/mir-print.js +65 -0
- package/dist/mir-print.js.map +1 -0
- package/dist/mir-specialize.d.ts +7 -0
- package/dist/mir-specialize.d.ts.map +1 -0
- package/dist/mir-specialize.js +182 -0
- package/dist/mir-specialize.js.map +1 -0
- package/dist/mir.d.ts +571 -0
- package/dist/mir.d.ts.map +1 -0
- package/dist/mir.js +1 -0
- package/dist/module-builtin.d.ts +20 -0
- package/dist/module-builtin.d.ts.map +1 -0
- package/dist/module-builtin.js +57 -0
- package/dist/module-builtin.js.map +1 -0
- package/dist/module-compile.d.ts +64 -0
- package/dist/module-compile.d.ts.map +1 -0
- package/dist/module-compile.js +690 -0
- package/dist/module-compile.js.map +1 -0
- package/dist/module-json.d.ts +7 -0
- package/dist/module-json.d.ts.map +1 -0
- package/dist/module-json.js +88 -0
- package/dist/module-json.js.map +1 -0
- package/dist/modules.d.ts +87 -0
- package/dist/modules.d.ts.map +1 -0
- package/dist/modules.js +734 -0
- package/dist/modules.js.map +1 -0
- package/dist/native-fragments.d.ts +36 -0
- package/dist/native-fragments.d.ts.map +1 -0
- package/dist/native-fragments.js +110 -0
- package/dist/native-fragments.js.map +1 -0
- package/dist/native.d.ts +282 -0
- package/dist/native.d.ts.map +1 -0
- package/dist/native.js +47 -0
- package/dist/native.js.map +1 -0
- package/dist/regexp-execute.d.ts +74 -0
- package/dist/regexp-execute.d.ts.map +1 -0
- package/dist/regexp-execute.js +480 -0
- package/dist/regexp-execute.js.map +1 -0
- package/dist/regexp-matcher.d.ts +279 -0
- package/dist/regexp-matcher.d.ts.map +1 -0
- package/dist/regexp-matcher.js +1098 -0
- package/dist/regexp-matcher.js.map +1 -0
- package/dist/regexp-parse.d.ts +22 -0
- package/dist/regexp-parse.d.ts.map +1 -0
- package/dist/regexp-parse.js +1440 -0
- package/dist/regexp-parse.js.map +1 -0
- package/dist/regexp-print.d.ts +24 -0
- package/dist/regexp-print.d.ts.map +1 -0
- package/dist/regexp-print.js +147 -0
- package/dist/regexp-print.js.map +1 -0
- package/dist/regexp.d.ts +324 -0
- package/dist/regexp.d.ts.map +1 -0
- package/dist/regexp.js +22 -0
- package/dist/regexp.js.map +1 -0
- package/dist/source.d.ts +38 -0
- package/dist/source.d.ts.map +1 -0
- package/dist/source.js +10 -0
- package/dist/source.js.map +1 -0
- package/dist/syntax.d.ts +1232 -0
- package/dist/syntax.d.ts.map +1 -0
- package/dist/syntax.js +1 -0
- package/package.json +32 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["renderSourceDiagnostic"],"sources":["../src/index.ts"],"sourcesContent":["import {\n renderDiagnostic as renderSourceDiagnostic,\n type Diagnostic,\n} from \"./source.ts\";\n\nexport type { DiagnosticCode } from \"./source.ts\";\nexport type { ByteRange } from \"./source.ts\";\nexport type { Position } from \"./source.ts\";\nexport type { SourceRange } from \"./source.ts\";\nexport type { Diagnostic } from \"./source.ts\";\nexport type { SourceInput } from \"./source.ts\";\nexport type { HintProvenance } from \"./syntax.ts\";\nexport type { HintName } from \"./syntax.ts\";\nexport type { Hint } from \"./syntax.ts\";\nexport type { SyntaxCallTarget } from \"./syntax.ts\";\nexport type { BinaryOperator } from \"./syntax.ts\";\nexport type { UnaryOperator } from \"./syntax.ts\";\nexport type { LogicalOperator } from \"./syntax.ts\";\nexport type { AssignmentOperator } from \"./syntax.ts\";\nexport type { UpdateOperator } from \"./syntax.ts\";\nexport type { SyntaxArraySpreadElement } from \"./syntax.ts\";\nexport type { SyntaxArrayElement } from \"./syntax.ts\";\nexport type { SyntaxSpreadArgument } from \"./syntax.ts\";\nexport type { SyntaxCallArgument } from \"./syntax.ts\";\nexport type { SyntaxOptionalChainLink } from \"./syntax.ts\";\nexport type { SyntaxObjectDefinition } from \"./syntax.ts\";\nexport type { SyntaxObjectSpreadProperty } from \"./syntax.ts\";\nexport type { SyntaxObjectProperty } from \"./syntax.ts\";\nexport type { SyntaxPrivateName } from \"./syntax.ts\";\nexport type { SyntaxClassMethod } from \"./syntax.ts\";\nexport type { SyntaxClassField } from \"./syntax.ts\";\nexport type { SyntaxClassStaticBlock } from \"./syntax.ts\";\nexport type { SyntaxClassElement } from \"./syntax.ts\";\nexport type { SyntaxRegExpLiteralExpression } from \"./syntax.ts\";\nexport type { SyntaxExpression } from \"./syntax.ts\";\nexport type { SyntaxThisMode } from \"./syntax.ts\";\nexport type { SyntaxParameter } from \"./syntax.ts\";\nexport type { SyntaxBindingIdentifier } from \"./syntax.ts\";\nexport type { SyntaxAssignmentMemberTarget } from \"./syntax.ts\";\nexport type { SyntaxBindingElement } from \"./syntax.ts\";\nexport type { SyntaxArrayBindingPattern } from \"./syntax.ts\";\nexport type { SyntaxObjectBindingProperty } from \"./syntax.ts\";\nexport type { SyntaxObjectBindingPattern } from \"./syntax.ts\";\nexport type { SyntaxBindingTarget } from \"./syntax.ts\";\nexport type { SyntaxAssignmentTarget } from \"./syntax.ts\";\nexport type { SyntaxBindingPattern } from \"./syntax.ts\";\nexport type { SyntaxAssignmentPattern } from \"./syntax.ts\";\nexport type { HirBindingIdentifier } from \"./hir.ts\";\nexport type { HirAssignmentMemberTarget } from \"./hir.ts\";\nexport type { HirBindingElement } from \"./hir.ts\";\nexport type { HirArrayBindingPattern } from \"./hir.ts\";\nexport type { HirObjectBindingProperty } from \"./hir.ts\";\nexport type { HirObjectBindingPattern } from \"./hir.ts\";\nexport type { HirBindingTarget } from \"./hir.ts\";\nexport type { HirBindingPattern } from \"./hir.ts\";\nexport type { BindingPatternMode } from \"./syntax.ts\";\nexport type { SyntaxSwitchCase } from \"./syntax.ts\";\nexport type { HirSwitchCase } from \"./hir.ts\";\nexport type { SyntaxForDeclaration } from \"./syntax.ts\";\nexport type { HirForDeclaration } from \"./hir.ts\";\nexport type { SyntaxForOfTarget } from \"./syntax.ts\";\nexport type { HirForOfTarget } from \"./hir.ts\";\nexport type { SyntaxForInTarget } from \"./syntax.ts\";\nexport type { HirForInTarget } from \"./hir.ts\";\nexport type { FunctionKind } from \"./syntax.ts\";\nexport type { SyntaxLexicalDeclarator } from \"./syntax.ts\";\nexport type { SyntaxStatement } from \"./syntax.ts\";\nexport type { SyntaxFunction } from \"./syntax.ts\";\nexport type { SyntaxGlobalObjectName } from \"./syntax.ts\";\nexport type { SyntaxGlobalLexicalName } from \"./syntax.ts\";\nexport type { SyntaxProgram } from \"./syntax.ts\";\nexport type { FrontendResult } from \"./syntax.ts\";\nexport type { SourceFrontend } from \"./syntax.ts\";\nexport type { SyntaxModuleSpecifier } from \"./syntax.ts\";\nexport type { SyntaxImportAttribute } from \"./syntax.ts\";\nexport type { SyntaxImportEntry } from \"./syntax.ts\";\nexport type { SyntaxExportEntry } from \"./syntax.ts\";\nexport type { SyntaxModule } from \"./syntax.ts\";\nexport type { ModuleFrontendResult } from \"./syntax.ts\";\nexport type { ModuleSourceFrontend } from \"./syntax.ts\";\nexport type { LoadedModuleSource } from \"./syntax.ts\";\nexport type { LoadedJsonModule } from \"./syntax.ts\";\nexport type { ModuleLoadResult } from \"./syntax.ts\";\nexport type { ModuleLoadReferrer } from \"./syntax.ts\";\nexport type { ModuleLoader } from \"./syntax.ts\";\nexport type { ModuleResolutionResult } from \"./syntax.ts\";\nexport type { ModuleResolver } from \"./syntax.ts\";\nexport type { ModuleDependency } from \"./syntax.ts\";\nexport type { ModuleResolution } from \"./syntax.ts\";\nexport type { ModuleGraphNode } from \"./syntax.ts\";\nexport type { ModuleGraph } from \"./syntax.ts\";\nexport type { ModuleGraphResult } from \"./syntax.ts\";\nexport type { ModuleGraphOptions } from \"./syntax.ts\";\nexport type { ModuleRequestRecord } from \"./syntax.ts\";\nexport type { ModuleRequestReferrer } from \"./syntax.ts\";\nexport type { ScriptRequestClosure } from \"./syntax.ts\";\nexport type { ScriptRequestReferrer } from \"./syntax.ts\";\nexport type { ScriptRequestResult } from \"./syntax.ts\";\nexport type { SyntaxImportCall } from \"./syntax.ts\";\nexport { buildModuleGraph } from \"./modules.ts\";\nexport { buildScriptRequests } from \"./modules.ts\";\nexport { importCallProfileMessage } from \"./hir-build.ts\";\nexport type { LinkedModuleCell } from \"./modules.ts\";\nexport type { LinkedModuleImport } from \"./modules.ts\";\nexport type { LinkedModuleExport } from \"./modules.ts\";\nexport type { LinkedModule } from \"./modules.ts\";\nexport type { ModuleComponent } from \"./modules.ts\";\nexport type { LinkedModuleGraph } from \"./modules.ts\";\nexport type { ModuleLinkResult } from \"./modules.ts\";\nexport { linkModuleGraph } from \"./modules.ts\";\nexport type { ErrorIntrinsicName } from \"./hir.ts\";\nexport type { HirCallTarget } from \"./hir.ts\";\nexport type { HirArraySpreadElement } from \"./hir.ts\";\nexport type { HirArrayElement } from \"./hir.ts\";\nexport type { HirSpreadArgument } from \"./hir.ts\";\nexport type { HirCallArgument } from \"./hir.ts\";\nexport type { HirOptionalChainLink } from \"./hir.ts\";\nexport type { HirObjectDefinition } from \"./hir.ts\";\nexport type { HirObjectSpreadProperty } from \"./hir.ts\";\nexport type { HirObjectProperty } from \"./hir.ts\";\nexport type { HirClassMethod } from \"./hir.ts\";\nexport type { HirClassStaticBlock } from \"./hir.ts\";\nexport type { HirClassElement } from \"./hir.ts\";\nexport type { HirClassNameBinding } from \"./hir.ts\";\nexport type { HirExpression } from \"./hir.ts\";\nexport type { HirStatement } from \"./hir.ts\";\nexport type { HirParameter } from \"./hir.ts\";\nexport type { HirFunction } from \"./hir.ts\";\nexport type { HirGlobalBinding } from \"./hir.ts\";\nexport type { HirGlobalLexicalName } from \"./hir.ts\";\nexport type { HirProgram } from \"./hir.ts\";\nexport type { HirResult } from \"./hir.ts\";\nexport { buildHir } from \"./hir-build.ts\";\nexport { printHir } from \"./hir-print.ts\";\nexport type { MirConstant } from \"./mir.ts\";\nexport type { MirCallTarget } from \"./mir.ts\";\nexport type { MirHint } from \"./mir.ts\";\nexport type { SpecializationMode } from \"./mir.ts\";\nexport type { UnhandledRejectionPolicy } from \"./mir.ts\";\nexport type { CompilerOptions } from \"./mir.ts\";\nexport type { MirParameter } from \"./mir.ts\";\nexport type { MirGlobalBinding } from \"./mir.ts\";\nexport type { MirGlobalLexicalName } from \"./mir.ts\";\nexport type { MirGlobalObjectBinding } from \"./mir.ts\";\nexport type { MirControlTarget } from \"./mir.ts\";\nexport type { MirOperation } from \"./mir.ts\";\nexport type { MirTerminator } from \"./mir.ts\";\nexport type { MirBlock } from \"./mir.ts\";\nexport type { MirSpecialization } from \"./mir.ts\";\nexport type { MirFunction } from \"./mir.ts\";\nexport type { MirProgram } from \"./mir.ts\";\nexport type { MirAgentTemplate } from \"./mir.ts\";\nexport type { MirHostScript } from \"./mir.ts\";\nexport type { MirTest262Host } from \"./mir.ts\";\nexport { buildMir } from \"./mir-build.ts\";\nexport { printMir } from \"./mir-print.ts\";\nexport type { CompilationResult } from \"./module-compile.ts\";\nexport type { ModuleCompilationResult } from \"./module-compile.ts\";\nexport { compileModuleGraph } from \"./module-compile.ts\";\nexport type { ScriptModuleRequests } from \"./module-compile.ts\";\nexport { compileSource } from \"./compile.ts\";\nexport type { NativeArchitecture } from \"./native.ts\";\nexport type { NativeOperatingSystem } from \"./native.ts\";\nexport type { NativeAbi } from \"./native.ts\";\nexport type { TargetName } from \"./native.ts\";\nexport type { ExecutionHostDescription } from \"./native.ts\";\nexport type { TargetDescription } from \"./native.ts\";\nexport type { EmittedNativeSource } from \"./native.ts\";\nexport type { NativeSourceFile } from \"./native.ts\";\nexport type { NativeBackend } from \"./native.ts\";\nexport type { RuntimeAsset } from \"./native.ts\";\nexport type { RuntimeArchiveAsset } from \"./native.ts\";\nexport type { RuntimeArchiveKeyInput } from \"./native.ts\";\nexport type { FileFingerprint } from \"./native.ts\";\nexport type { HarnessObjectPin } from \"./native-fragments.ts\";\nexport type { PinnedToolchain } from \"./native.ts\";\nexport type { RuntimeArchiveReuse } from \"./native.ts\";\nexport type { RuntimeInput } from \"./native.ts\";\nexport type { RuntimeInputProvider } from \"./native.ts\";\nexport type { CompilerCache } from \"./native.ts\";\nexport type { CompilerCacheLock } from \"./native.ts\";\nexport type { ProcessEnvironment } from \"./native.ts\";\nexport type { ProcessEnvironmentPolicy } from \"./native.ts\";\nexport type { ProcessRequest } from \"./native.ts\";\nexport type { ProcessObservation } from \"./native.ts\";\nexport type { NativeBuildPlan } from \"./native.ts\";\nexport type { NativeBuildConfiguration } from \"./native.ts\";\nexport type { NativeBuildInput } from \"./native.ts\";\nexport type { NativeToolchain } from \"./native.ts\";\nexport type { CompilerHost } from \"./native.ts\";\nexport type { RegExpSpan } from \"./regexp.ts\";\nexport type { RegExpFlag } from \"./regexp.ts\";\nexport type { RegExpFlags } from \"./regexp.ts\";\nexport { regExpUnicodeMode } from \"./regexp.ts\";\nexport type { RegExpAssertionKind } from \"./regexp.ts\";\nexport type { RegExpEdgeAssertion } from \"./regexp.ts\";\nexport type { RegExpLookaroundDirection } from \"./regexp.ts\";\nexport type { RegExpLookaround } from \"./regexp.ts\";\nexport type { RegExpQuantifier } from \"./regexp.ts\";\nexport type { RegExpQuantified } from \"./regexp.ts\";\nexport type { RegExpCharacter } from \"./regexp.ts\";\nexport type { RegExpDot } from \"./regexp.ts\";\nexport type { RegExpClassEscapeSet } from \"./regexp.ts\";\nexport type { RegExpClassEscape } from \"./regexp.ts\";\nexport type { RegExpUnicodePropertyEscape } from \"./regexp.ts\";\nexport type { RegExpCharacterRange } from \"./regexp.ts\";\nexport type { RegExpClassItem } from \"./regexp.ts\";\nexport type { RegExpCharacterClass } from \"./regexp.ts\";\nexport type { RegExpClassStringDisjunction } from \"./regexp.ts\";\nexport type { RegExpClassSetOperand } from \"./regexp.ts\";\nexport type { RegExpClassSetOperation } from \"./regexp.ts\";\nexport type { RegExpUnicodeClassSet } from \"./regexp.ts\";\nexport type { RegExpCapturingGroup } from \"./regexp.ts\";\nexport type { RegExpGroup } from \"./regexp.ts\";\nexport type { RegExpModifierFlag } from \"./regexp.ts\";\nexport type { RegExpModifierGroup } from \"./regexp.ts\";\nexport type { RegExpBackreference } from \"./regexp.ts\";\nexport type { RegExpNamedBackreference } from \"./regexp.ts\";\nexport type { RegExpAtom } from \"./regexp.ts\";\nexport type { RegExpTerm } from \"./regexp.ts\";\nexport type { RegExpAlternative } from \"./regexp.ts\";\nexport type { RegExpDisjunction } from \"./regexp.ts\";\nexport type { RegExpCapture } from \"./regexp.ts\";\nexport type { RegExpPattern } from \"./regexp.ts\";\nexport type { RegExpErrorKind } from \"./regexp.ts\";\nexport type { RegExpErrorSection } from \"./regexp.ts\";\nexport type { RegExpPatternError } from \"./regexp.ts\";\nexport type { RegExpExtensionPoint } from \"./regexp.ts\";\nexport type { RegExpPatternExtensions } from \"./regexp.ts\";\nexport type { RegExpPatternLimits } from \"./regexp.ts\";\nexport { defaultRegExpPatternLimits } from \"./regexp.ts\";\nexport type { RegExpPatternOptions } from \"./regexp.ts\";\nexport type { RegExpPatternInput } from \"./regexp.ts\";\nexport type { RegExpPatternResult } from \"./regexp.ts\";\nexport type { RegExpLiteralSyntax } from \"./syntax.ts\";\nexport { parseRegExpPattern } from \"./regexp-parse.ts\";\nexport { parseRegExpLiteral } from \"./regexp-parse.ts\";\nexport type { RegExpMatcherSet } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherCanonicalization } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherConsume } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherEdge } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherBoundary } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherSave } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherClear } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherFork } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherJump } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherRepeat } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherRepeatEnter } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherRepeatInit } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherRepeatEnd } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherLookStart } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherLookEnd } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherBackreference } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherAccept } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherFail } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherInstruction } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherProgram } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherUnicodeData } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherLimits } from \"./regexp-matcher.ts\";\nexport { defaultRegExpMatcherLimits } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherOptions } from \"./regexp-matcher.ts\";\nexport type { RegExpMatcherResult } from \"./regexp-matcher.ts\";\nexport { buildRegExpMatcher } from \"./regexp-matcher.ts\";\nexport type { RegExpExecutionLimit } from \"./regexp-execute.ts\";\nexport type { RegExpExecutionLimits } from \"./regexp-execute.ts\";\nexport { defaultRegExpExecutionLimits } from \"./regexp-execute.ts\";\nexport type { RegExpExecutionInput } from \"./regexp-execute.ts\";\nexport type { RegExpMatchedExecution } from \"./regexp-execute.ts\";\nexport type { RegExpUnmatchedExecution } from \"./regexp-execute.ts\";\nexport type { RegExpLimitedExecution } from \"./regexp-execute.ts\";\nexport type { RegExpExecution } from \"./regexp-execute.ts\";\nexport { matchRegExpMatcher } from \"./regexp-execute.ts\";\nexport { searchRegExpMatcher } from \"./regexp-execute.ts\";\nexport { printRegExpPattern } from \"./regexp-print.ts\";\nexport { printRegExpMatcher } from \"./regexp-print.ts\";\n/** Render the stable first line of an Oseo diagnostic. */\nexport function renderDiagnostic(diagnostic: Diagnostic): string {\n return renderSourceDiagnostic(diagnostic);\n}\nexport { describeTarget } from \"./native.ts\";\nexport { canExecuteTarget } from \"./native.ts\";\nexport { targetForExecutionHost } from \"./native.ts\";\nexport { scriptFragmentAbi } from \"./fragments.ts\";\nexport { compileHarnessFragment } from \"./fragments.ts\";\nexport { compileBodyFragment } from \"./fragments.ts\";\nexport type { FragmentBinding } from \"./fragments.ts\";\nexport type { ScriptFragment } from \"./fragments.ts\";\nexport type { HarnessFragment } from \"./fragments.ts\";\nexport type { HarnessFragmentResult } from \"./fragments.ts\";\nexport type { BodyFragmentResult } from \"./fragments.ts\";\n\nexport type {\n HarnessObjectBuildInput,\n HarnessObjectKeyInput,\n HarnessObjectReuse,\n} from \"./native.ts\";\nexport { prepareHarnessObject } from \"./native-fragments.ts\";\nexport type { PreparedHarnessObject } from \"./native-fragments.ts\";\n\nexport { lowerFragmentPhases } from \"./fragments.ts\";\n\nexport { createHarnessObjectKey } from \"./native-fragments.ts\";\nexport type { HarnessToolchainPolicy } from \"./native-fragments.ts\";\n\nexport {\n builtinModuleExports,\n isBuiltinModuleSpecifier,\n} from \"./module-builtin.ts\";\nexport type { BuiltinModuleSpecifier, LoadedBuiltinModule } from \"./syntax.ts\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAoRA,SAAgB,iBAAiB,YAAgC;CAC/D,OAAOA,mBAAuB,UAAU;AAC1C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HirProgram } from "./hir.js";
|
|
2
|
+
import { CompilerOptions, MirProgram } from "./mir.js";
|
|
3
|
+
//#region src/mir-build.d.ts
|
|
4
|
+
/** Lower HIR to inspectable MIR under an explicit specialization policy. */
|
|
5
|
+
declare function buildMir(program: HirProgram, options?: CompilerOptions): MirProgram;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { buildMir };
|
|
8
|
+
//# sourceMappingURL=mir-build.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mir-build.d.ts","names":[],"sources":["../src/mir-build.ts"],"mappings":";;;;iBAm/QgB,SACd,SAAS,YACT,UAAS,kBACR"}
|