#include <connectivity/dbtoolsdllapi.hxx>
#include <connectivity/dbmetadata.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <memory>
#include <set>
#include <string_view>
#include <vector>
#include <rtl/ustrbuf.hxx>
Go to the source code of this file.
|
#define | ORDER_BY_CHILD_POS 5 |
|
#define | TABLE_EXPRESSION_CHILD_COUNT 9 |
|
#define | SQL_ISRULE(pParseNode, eRule) ((pParseNode)->isRule() && (pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::eRule)) |
|
#define | SQL_ISRULEOR2(pParseNode, e1, e2) |
|
#define | SQL_ISRULEOR3(pParseNode, e1, e2, e3) |
|
#define | SQL_ISTOKEN(pParseNode, token) ((pParseNode)->isToken() && (pParseNode)->getTokenID() == SQL_TOKEN_##token) |
|
#define | SQL_ISTOKENOR2(pParseNode, tok0, tok1) ((pParseNode)->isToken() && ( (pParseNode)->getTokenID() == SQL_TOKEN_##tok0 || (pParseNode)->getTokenID() == SQL_TOKEN_##tok1 )) |
|
#define | SQL_ISTOKENOR3(pParseNode, tok0, tok1, tok2) ((pParseNode)->isToken() && ( (pParseNode)->getTokenID() == SQL_TOKEN_##tok0 || (pParseNode)->getTokenID() == SQL_TOKEN_##tok1 || (pParseNode)->getTokenID() == SQL_TOKEN_##tok2 )) |
|
#define | SQL_ISPUNCTUATION(pParseNode, aString) ((pParseNode)->getNodeType() == SQLNodeType::Punctuation && (pParseNode)->getTokenValue() == (aString)) |
|
|
enum class | connectivity::SQLNodeType {
connectivity::Rule
,
connectivity::ListRule
,
connectivity::CommaListRule
,
connectivity::Keyword
,
connectivity::Name
,
connectivity::String
,
connectivity::IntNum
,
connectivity::ApproxNum
,
connectivity::Equal
,
connectivity::Less
,
connectivity::Great
,
connectivity::LessEq
,
connectivity::GreatEq
,
connectivity::NotEqual
,
connectivity::Punctuation
,
connectivity::AccessDate
,
connectivity::Concat
} |
|
◆ ORDER_BY_CHILD_POS
#define ORDER_BY_CHILD_POS 5 |
◆ SQL_ISPUNCTUATION
#define SQL_ISPUNCTUATION |
( |
|
pParseNode, |
|
|
|
aString |
|
) |
| ((pParseNode)->getNodeType() == SQLNodeType::Punctuation && (pParseNode)->getTokenValue() == (aString)) |
◆ SQL_ISRULE
#define SQL_ISRULE |
( |
|
pParseNode, |
|
|
|
eRule |
|
) |
| ((pParseNode)->isRule() && (pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::eRule)) |
◆ SQL_ISRULEOR2
#define SQL_ISRULEOR2 |
( |
|
pParseNode, |
|
|
|
e1, |
|
|
|
e2 |
|
) |
| |
Value: ((pParseNode)->isRule() && ( \
(pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e1) || \
(pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e2)))
Definition at line 440 of file sqlnode.hxx.
◆ SQL_ISRULEOR3
#define SQL_ISRULEOR3 |
( |
|
pParseNode, |
|
|
|
e1, |
|
|
|
e2, |
|
|
|
e3 |
|
) |
| |
Value: ((pParseNode)->isRule() && ( \
(pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e1) || \
(pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e2) || \
(pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e3)))
Definition at line 443 of file sqlnode.hxx.
◆ SQL_ISTOKEN
#define SQL_ISTOKEN |
( |
|
pParseNode, |
|
|
|
token |
|
) |
| ((pParseNode)->isToken() && (pParseNode)->getTokenID() == SQL_TOKEN_##token) |
◆ SQL_ISTOKENOR2
#define SQL_ISTOKENOR2 |
( |
|
pParseNode, |
|
|
|
tok0, |
|
|
|
tok1 |
|
) |
| ((pParseNode)->isToken() && ( (pParseNode)->getTokenID() == SQL_TOKEN_##tok0 || (pParseNode)->getTokenID() == SQL_TOKEN_##tok1 )) |
◆ SQL_ISTOKENOR3
#define SQL_ISTOKENOR3 |
( |
|
pParseNode, |
|
|
|
tok0, |
|
|
|
tok1, |
|
|
|
tok2 |
|
) |
| ((pParseNode)->isToken() && ( (pParseNode)->getTokenID() == SQL_TOKEN_##tok0 || (pParseNode)->getTokenID() == SQL_TOKEN_##tok1 || (pParseNode)->getTokenID() == SQL_TOKEN_##tok2 )) |
◆ TABLE_EXPRESSION_CHILD_COUNT
#define TABLE_EXPRESSION_CHILD_COUNT 9 |