what have i done
This commit is contained in:
35
scripts/csound-parser/types.ts
Normal file
35
scripts/csound-parser/types.ts
Normal file
@ -0,0 +1,35 @@
|
||||
export interface CsoundReference {
|
||||
name: string
|
||||
type: 'opcode' | 'keyword' | 'header' | 'constant'
|
||||
category: string
|
||||
description: string
|
||||
syntax?: string
|
||||
example?: string
|
||||
rates?: string[]
|
||||
parameters?: {
|
||||
name: string
|
||||
description: string
|
||||
type: 'initialization' | 'performance'
|
||||
}[]
|
||||
seeAlso?: string[]
|
||||
}
|
||||
|
||||
export interface ParsedOpcode {
|
||||
id: string
|
||||
category: string
|
||||
title: string
|
||||
description: string
|
||||
syntaxModern?: string
|
||||
syntaxClassic?: string
|
||||
initParams: { name: string; description: string }[]
|
||||
perfParams: { name: string; description: string }[]
|
||||
example?: string
|
||||
seeAlso: string[]
|
||||
rawContent: string
|
||||
}
|
||||
|
||||
export interface CategoryGroup {
|
||||
categoryKey: string
|
||||
categoryName: string
|
||||
opcodes: CsoundReference[]
|
||||
}
|
||||
Reference in New Issue
Block a user