MCPcopy Create free account
hub / github.com/ShaderFrog/glsl-parser / debugAst

Function debugAst

src/preprocessor/preprocessor.test.ts:23–25  ·  view source on GitHub ↗
(ast: any)

Source from the content-addressed store, hash-verified

21};
22
23const debugAst = (ast: any) => {
24 console.log(util.inspect(ast, false, null, true));
25};
26
27const expectParsedProgram = (sourceGlsl: string) => {
28 const ast = parse(sourceGlsl);

Callers 2

debugProgramFunction · 0.85
expectParsedProgramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected