@lcap/nasl-translator
Advanced tools
Comparing version 3.10.0-rc.1 to 3.10.1-rc.1
@@ -1,2 +0,2 @@ | ||
import type { Translator, Concept } from '@lcap/nasl-types'; | ||
import type { Translator, NASLObject } from '@lcap/nasl-types'; | ||
export declare function lsp2tspNumber(num: number): number; | ||
@@ -8,3 +8,3 @@ export declare const indent: (tabSize: number) => string; | ||
*/ | ||
export declare function createCompilerState<Node extends Concept.BaseNode = Concept.BaseNode>(startCode?: string, options?: Partial<Translator.TranslatorState<Node>>): Translator.TranslatorState<Node>; | ||
export declare function createCompilerState<Node extends NASLObject.BaseNode = NASLObject.BaseNode>(startCode?: string, options?: Partial<Translator.TranslatorState<Node>>): Translator.TranslatorState<Node>; | ||
/** | ||
@@ -17,5 +17,5 @@ * 根据代码移动位置 | ||
*/ | ||
export declare function shiftState<Node extends Concept.BaseNode = Concept.BaseNode>(state: Translator.TranslatorState<Node>, code?: string, options?: Partial<Translator.TranslatorState<Node>>): Translator.TranslatorState<Node>; | ||
export declare function shiftState<Node extends NASLObject.BaseNode = NASLObject.BaseNode>(state: Translator.TranslatorState<Node>, code?: string, options?: Partial<Translator.TranslatorState<Node>>): Translator.TranslatorState<Node>; | ||
export declare function isSameRange(rangeA: Translator.Range, rangeB: Translator.Range): boolean; | ||
export declare function createDecoratorCode<T extends Concept.BaseNode>(state: Translator.TranslatorState, node: T, properties: Array<keyof T>, options?: { | ||
export declare function createDecoratorCode<T extends NASLObject.BaseNode>(state: Translator.TranslatorState, node: T, properties: Array<keyof T>, options?: { | ||
'@'?: boolean; | ||
@@ -27,4 +27,4 @@ concept?: boolean; | ||
export declare function textualNamespace(name: string): string; | ||
export declare function createDescriptionComment<T extends Concept.BaseNode>(state: Translator.TranslatorState, node: T, properties: Array<keyof T>): string; | ||
export declare function createSlotPositionMark<T extends Concept.BaseNode>(state: Translator.TranslatorState, node: T, slotPosition: string): string; | ||
export declare function createDescriptionComment<T extends NASLObject.BaseNode>(state: Translator.TranslatorState, node: T, properties: Array<keyof T>): string; | ||
export declare function createSlotPositionMark<T extends NASLObject.BaseNode>(state: Translator.TranslatorState, node: T, slotPosition: string): string; | ||
//# sourceMappingURL=utils.d.ts.map |
{ | ||
"name": "@lcap/nasl-translator", | ||
"description": "NetEase Application Specific Language", | ||
"version": "3.10.0-rc.1", | ||
"version": "3.10.1-rc.1", | ||
"author": "Forrest <rainforest92@126.com>", | ||
@@ -19,4 +19,4 @@ "main": "./out", | ||
"@lcap/nasl-tsconfig": "1.0.1", | ||
"@lcap/nasl-types": "3.10.0-rc.1", | ||
"@lcap/nasl-utils": "3.10.0-rc.1" | ||
"@lcap/nasl-types": "3.10.1-rc.1", | ||
"@lcap/nasl-utils": "3.10.1-rc.1" | ||
}, | ||
@@ -23,0 +23,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
26371
+ Added@lcap/nasl-types@3.10.1-rc.1(transitive)
+ Added@lcap/nasl-utils@3.10.1-rc.1(transitive)
- Removed@lcap/nasl-types@3.10.0-rc.1(transitive)
- Removed@lcap/nasl-utils@3.10.0-rc.1(transitive)
Updated@lcap/nasl-types@3.10.1-rc.1
Updated@lcap/nasl-utils@3.10.1-rc.1