Team Ai
Datasetpublic

Brunobkr/llama.cpp_AlgMor24_github

ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
index.d.ts313 linesDownload Raw Back to src-js
1/* auto-generated by NAPI-RS */2/* eslint-disable */3 4import type { Program } from "@oxc-project/types";5import type { VisitorObject } from "./generated/visit/visitor.d.ts";6 7export * from "@oxc-project/types";8 9export { VisitorObject };10 11export const visitorKeys: Record<string, string[]>;12 13export class Visitor {14  constructor(visitor: VisitorObject);15  visit(program: Program): void;16}17export interface Comment {18  type: 'Line' | 'Block'19  value: string20  start: number21  end: number22}23 24export interface ErrorLabel {25  message: string | null26  start: number27  end: number28}29 30export interface OxcError {31  severity: Severity32  message: string33  labels: Array<ErrorLabel>34  helpMessage: string | null35  codeframe: string | null36}37 38export declare const enum Severity {39  Error = 'Error',40  Warning = 'Warning',41  Advice = 'Advice'42}43export declare class ParseResult {44  get program(): import("@oxc-project/types").Program45  get module(): EcmaScriptModule46  get comments(): Array<Comment>47  get errors(): Array<OxcError>48}49 50export interface DynamicImport {51  start: number52  end: number53  moduleRequest: Span54}55 56export interface EcmaScriptModule {57  /**58   * Has ESM syntax.59   *60   * i.e. `import` and `export` statements, and `import.meta`.61   *62   * Dynamic imports `import('foo')` are ignored since they can be used in non-ESM files.63   */64  hasModuleSyntax: boolean65  /** Import statements. */66  staticImports: Array<StaticImport>67  /** Export statements. */68  staticExports: Array<StaticExport>69  /** Dynamic import expressions. */70  dynamicImports: Array<DynamicImport>71  /** Span positions` of `import.meta` */72  importMetas: Array<Span>73}74 75export interface ExportExportName {76  kind: ExportExportNameKind77  name: string | null78  start: number | null79  end: number | null80}81 82export declare const enum ExportExportNameKind {83  /** `export { name } */84  Name = 'Name',85  /** `export default expression` */86  Default = 'Default',87  /** `export * from "mod" */88  None = 'None'89}90 91export interface ExportImportName {92  kind: ExportImportNameKind93  name: string | null94  start: number | null95  end: number | null96}97 98export declare const enum ExportImportNameKind {99  /** `export { name } */100  Name = 'Name',101  /** `export * as ns from "mod"` */102  All = 'All',103  /** `export * from "mod"` */104  AllButDefault = 'AllButDefault',105  /** Does not have a specifier. */106  None = 'None'107}108 109export interface ExportLocalName {110  kind: ExportLocalNameKind111  name: string | null112  start: number | null113  end: number | null114}115 116export declare const enum ExportLocalNameKind {117  /** `export { name } */118  Name = 'Name',119  /** `export default expression` */120  Default = 'Default',121  /**122   * If the exported value is not locally accessible from within the module.123   * `export default function () {}`124   */125  None = 'None'126}127 128export interface ImportName {129  kind: ImportNameKind130  name: string | null131  start: number | null132  end: number | null133}134 135export declare const enum ImportNameKind {136  /** `import { x } from "mod"` */137  Name = 'Name',138  /** `import * as ns from "mod"` */139  NamespaceObject = 'NamespaceObject',140  /** `import defaultExport from "mod"` */141  Default = 'Default'142}143 144/**145 * Parse JS/TS source asynchronously on a separate thread.146 *147 * Note that not all of the workload can happen on a separate thread.148 * Parsing on Rust side does happen in a separate thread, but deserialization of the AST to JS objects149 * has to happen on current thread. This synchronous deserialization work typically outweighs150 * the asynchronous parsing by a factor of between 3 and 20.151 *152 * i.e. the majority of the workload cannot be parallelized by using this method.153 *154 * Generally `parseSync` is preferable to use as it does not have the overhead of spawning a thread.155 * If you need to parallelize parsing multiple files, it is recommended to use worker threads.156 */157export declare function parse(filename: string, sourceText: string, options?: ParserOptions | undefined | null): Promise<ParseResult>158 159export interface ParserOptions {160  /** Treat the source text as `js`, `jsx`, `ts`, `tsx` or `dts`. */161  lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts'162  /** Treat the source text as `script` or `module` code. */163  sourceType?: 'script' | 'module' | 'commonjs' | 'unambiguous' | undefined164  /**165   * Return an AST which includes TypeScript-related properties, or excludes them.166   *167   * `'js'` is default for JS / JSX files.168   * `'ts'` is default for TS / TSX files.169   * The type of the file is determined from `lang` option, or extension of provided `filename`.170   */171  astType?: 'js' | 'ts'172  /**173   * Controls whether the `range` property is included on AST nodes.174   * The `range` property is a `[number, number]` which indicates the start/end offsets175   * of the node in the file contents.176   *177   * @default false178   */179  range?: boolean180  /**181   * Emit `ParenthesizedExpression` and `TSParenthesizedType` in AST.182   *183   * If this option is true, parenthesized expressions are represented by184   * (non-standard) `ParenthesizedExpression` and `TSParenthesizedType` nodes that185   * have a single `expression` property containing the expression inside parentheses.186   *187   * @default true188   */189  preserveParens?: boolean190  /**191   * Produce semantic errors with an additional AST pass.192   * Semantic errors depend on symbols and scopes, where the parser does not construct.193   * This adds a small performance overhead.194   *195   * @default false196   */197  showSemanticErrors?: boolean198}199 200/**201 * Parse JS/TS source synchronously on current thread.202 *203 * This is generally preferable over `parse` (async) as it does not have the overhead204 * of spawning a thread, and the majority of the workload cannot be parallelized anyway205 * (see `parse` documentation for details).206 *207 * If you need to parallelize parsing multiple files, it is recommended to use worker threads208 * with `parseSync` rather than using `parse`.209 */210export declare function parseSync(filename: string, sourceText: string, options?: ParserOptions | undefined | null): ParseResult211 212/** Returns `true` if raw transfer is supported on this platform. */213export declare function rawTransferSupported(): boolean214 215export interface Span {216  start: number217  end: number218}219 220export interface StaticExport {221  start: number222  end: number223  entries: Array<StaticExportEntry>224}225 226export interface StaticExportEntry {227  start: number228  end: number229  moduleRequest: ValueSpan | null230  /** The name under which the desired binding is exported by the module`. */231  importName: ExportImportName232  /** The name used to export this binding by this module. */233  exportName: ExportExportName234  /** The name that is used to locally access the exported value from within the importing module. */235  localName: ExportLocalName236  /**237   * Whether the export is a TypeScript `export type`.238   *239   * Examples:240   *241   * ```ts242   * export type * from 'mod';243   * export type * as ns from 'mod';244   * export type { foo };245   * export { type foo }:246   * export type { foo } from 'mod';247   * ```248   */249  isType: boolean250}251 252export interface StaticImport {253  /** Start of import statement. */254  start: number255  /** End of import statement. */256  end: number257  /**258   * Import source.259   *260   * ```js261   * import { foo } from "mod";262   * //                   ^^^263   * ```264   */265  moduleRequest: ValueSpan266  /**267   * Import specifiers.268   *269   * Empty for `import "mod"`.270   */271  entries: Array<StaticImportEntry>272}273 274export interface StaticImportEntry {275  /**276   * The name under which the desired binding is exported by the module.277   *278   * ```js279   * import { foo } from "mod";280   * //       ^^^281   * import { foo as bar } from "mod";282   * //       ^^^283   * ```284   */285  importName: ImportName286  /**287   * The name that is used to locally access the imported value from within the importing module.288   * ```js289   * import { foo } from "mod";290   * //       ^^^291   * import { foo as bar } from "mod";292   * //              ^^^293   * ```294   */295  localName: ValueSpan296  /**297   * Whether this binding is for a TypeScript type-only import.298   *299   * `true` for the following imports:300   * ```ts301   * import type { foo } from "mod";302   * import { type foo } from "mod";303   * ```304   */305  isType: boolean306}307 308export interface ValueSpan {309  value: string310  start: number311  end: number312}313 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai