import { Target } from '@antv/g-webgpu-core' ; import { DataType , Expression , Program , Statement } from '../ast/glsl-tree' ; import { GLSLContext } from '../Compiler' ; export { Target } ; export interface ICodeGenerator { generate ( program , context ? ) : string ; generateStatement ( stmt ) : string ; generateExpression ( expression , dataType ? ) : string ; clear ( ) : void ; }