]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programsyntax.cpp
Check the flat qualifier from the correct member
[libs/gl.git] / source / programsyntax.cpp
diff --git a/source/programsyntax.cpp b/source/programsyntax.cpp
deleted file mode 100644 (file)
index 5b39d7f..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-#include "programsyntax.h"
-
-using namespace std;
-
-namespace Msp {
-namespace GL {
-namespace ProgramSyntax {
-
-Block::Block():
-       use_braces(false)
-{ }
-
-void Block::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-void Literal::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-void ParenthesizedExpression::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-void VariableReference::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-void MemberAccess::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-UnaryExpression::UnaryExpression():
-       prefix(true)
-{ }
-
-void UnaryExpression::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-BinaryExpression::BinaryExpression():
-       assignment(false)
-{ }
-
-void BinaryExpression::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-FunctionCall::FunctionCall():
-       constructor(false)
-{ }
-
-void FunctionCall::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-void ExpressionStatement::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-void Layout::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-StructDeclaration::StructDeclaration()
-{
-       members.use_braces = true;
-}
-
-void StructDeclaration::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-VariableDeclaration::VariableDeclaration():
-       constant(false),
-       array(false)
-{ }
-
-void VariableDeclaration::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-InterfaceBlock::InterfaceBlock()
-{
-       members.use_braces = true;
-}
-
-void InterfaceBlock::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-FunctionDeclaration::FunctionDeclaration():
-       definition(false)
-{ }
-
-void FunctionDeclaration::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-void Conditional::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-void Return::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-void Iteration::visit(NodeVisitor &visitor)
-{
-       visitor.visit(*this);
-}
-
-
-Context::Context(ContextType t):
-       type(t),
-       present(false)
-{ }
-
-
-Module::Module():
-       global_context(GLOBAL),
-       vertex_context(VERTEX),
-       geometry_context(GEOMETRY),
-       fragment_context(FRAGMENT)
-{ }
-
-} // namespace ProgramSyntax
-} // namespace GL
-} // namespace Msp