glslx 0.2.12 → 0.3.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.
Files changed (3) hide show
  1. package/glslx +78 -77
  2. package/glslx.d.ts +6 -0
  3. package/package.json +1 -1
package/glslx.d.ts CHANGED
@@ -38,6 +38,11 @@ export interface Diagnostic {
38
38
  range: Range | null;
39
39
  }
40
40
 
41
+ export interface UnusedSymbol {
42
+ name: string;
43
+ range: Range | null;
44
+ }
45
+
41
46
  export interface TooltipRequest {
42
47
  source: string;
43
48
  line: number;
@@ -125,6 +130,7 @@ export interface Signature {
125
130
  }
126
131
 
127
132
  export interface CompileResultIDE {
133
+ unusedSymbols: UnusedSymbol[];
128
134
  diagnostics: Diagnostic[];
129
135
  tooltipQuery(message: TooltipRequest): TooltipResponse;
130
136
  definitionQuery(message: DefinitionRequest): DefinitionResponse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glslx",
3
- "version": "0.2.12",
3
+ "version": "0.3.0",
4
4
  "description": "",
5
5
  "repository": "https://github.com/evanw/glslx",
6
6
  "license": "MIT",