X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fdebug.h;h=87ec4734e0b1bda18e4513a481688bbfee693fc0;hb=0c07531f8ec779edde9ebe765b3cd79a6960b838;hp=66f2b067c15776cf5806453c1e0548ec00365734;hpb=5c33b56c3b97ca0381ac216a603c7553f4bea499;p=libs%2Fgl.git diff --git a/source/glsl/debug.h b/source/glsl/debug.h index 66f2b067..87ec4734 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: @@ -42,6 +44,7 @@ private: virtual void visit(Literal &); virtual void visit(ParenthesizedExpression &); virtual void visit(VariableReference &); + virtual void visit(InterfaceBlockReference &); virtual void visit(MemberAccess &); virtual void visit(UnaryExpression &); virtual void visit(BinaryExpression &);