@zenstackhq/language
Advanced tools
Comparing version 0.6.0-pre.11 to 0.6.0-pre.12
28
ast.d.ts
@@ -0,2 +1,30 @@ | ||
import { AbstractDeclaration, ExpressionType } from './generated/ast'; | ||
export * from './generated/ast'; | ||
export { AstNode, Reference } from 'langium'; | ||
/** | ||
* Shape of type resolution result: an expression type or reference to a declaration | ||
*/ | ||
export type ResolvedShape = ExpressionType | AbstractDeclaration; | ||
/** | ||
* Resolved type information (attached to expressions by linker) | ||
*/ | ||
export type ResolvedType = { | ||
decl?: ResolvedShape; | ||
array?: boolean; | ||
}; | ||
declare module './generated/ast' { | ||
interface AttributeArg { | ||
/** | ||
* Resolved attribute param declaration | ||
*/ | ||
$resolvedParam?: AttributeParam; | ||
} | ||
} | ||
declare module 'langium' { | ||
interface AstNode { | ||
/** | ||
* Resolved type information attached to expressions | ||
*/ | ||
$resolvedType?: ResolvedType; | ||
} | ||
} |
@@ -72,3 +72,3 @@ /****************************************************************************** | ||
reference?: Reference<TypeDeclaration>; | ||
type?: 'ContextType' | 'FieldReference' | ExpressionType; | ||
type?: 'ContextType' | 'FieldReference' | 'TransitiveFieldReference' | ExpressionType; | ||
} | ||
@@ -75,0 +75,0 @@ export declare const AttributeParamType = "AttributeParamType"; |
{ | ||
"name": "@zenstackhq/language", | ||
"version": "0.6.0-pre.11", | ||
"description": "ZenStack modeling language", | ||
"version": "0.6.0-pre.12", | ||
"displayName": "ZenStack modeling language compiler", | ||
"description": "ZenStack modeling language compiler", | ||
"homepage": "https://zenstack.dev", | ||
"publishConfig": { | ||
@@ -9,4 +11,3 @@ "directory": "dist", | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"author": "ZenStack Team", | ||
"license": "MIT", | ||
@@ -27,5 +28,5 @@ "devDependencies": { | ||
"lint": "eslint src --ext ts", | ||
"build": "pnpm lint && pnpm clean && pnpm generate && tsc && cp ./package.json dist/", | ||
"build": "pnpm lint && pnpm clean && pnpm generate && tsc && cp ./README.md ./package.json dist/", | ||
"publish-dev": "pnpm build && pnpm publish --tag dev" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
118923
18
3549
1
1
0
2