X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fdebug.h;h=b377b84488a5cd897645f63ad728d80337262858;hb=c2aa5271db88180d995d5c456dc3a6aa9dc24c24;hp=6aca7af0fb2a94b0aab0b8936f1c9ea902021d2a;hpb=bd8816692056230c36504dcccd76c6946dff47b1;p=libs%2Fgl.git diff --git a/source/glsl/debug.h b/source/glsl/debug.h index 6aca7af0..b377b844 100644 --- a/source/glsl/debug.h +++ b/source/glsl/debug.h @@ -8,6 +8,8 @@ namespace Msp { namespace GL { namespace SL { +/** Creates a textual representation of the syntax tree. The result is encoded +as UTF-8. */ class DumpTree: private TraversingVisitor { private: @@ -53,6 +55,8 @@ private: virtual void visit(Precision &); virtual void visit(Layout &); virtual void visit(InterfaceLayout &); + virtual void visit(BasicTypeDeclaration &); + virtual void visit(ImageTypeDeclaration &); virtual void visit(StructDeclaration &); virtual void visit(VariableDeclaration &); virtual void visit(InterfaceBlock &);