pgLab/pglablib/sqlast/TypeSpecification.h
eelke fbbe832a05 Start of new ANTLR4 based parser.
Very simple tests pass.
2022-04-03 12:27:35 +02:00

23 lines
503 B
C++

#pragma once
#include "Node.h"
#include <QString>
namespace sqlast {
/// These object define not only the base type, but also
/// parameters used with the type
/// Think the precision of numeric, max length of char, array
class TypeSpecification : public Node
{
public:
TypeSpecification();
private:
/// We do not use the PgType from the catalog here as the type used might be defined
/// inside the script and not present yet in the catalog.
QString baseType;
// is_array
};
}