"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ignoredTokens = exports.preferredRules = exports.ServerCommands = exports.SUPPORT_LANGUAGE_IDs = exports.LANGUAGE_ID = void 0;
/* --------------------------------------------------------------------------------------------
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 * ------------------------------------------------------------------------------------------ */
const FlinkSQLLexer_1 = require("./lib/FlinkSQLLexer");
const FlinkSQLParser_1 = require("./lib/FlinkSQLParser");
exports.LANGUAGE_ID = 'flinkSql';
exports.SUPPORT_LANGUAGE_IDs = ['flinkSql', 'sql', 'plaintext'];
exports.ServerCommands = {
    EXTRACT_SQL_STRUCTURE: 'extension.flinkSQL.extractStructure',
    REGISTER_SCHEMAS: 'extension.flinkSQL.registerSchemas',
    PREVIEW_SCRIPT: 'extension.flinkSQL.previewScript',
    EXTRACT_SCHEMA_CONTEXTS: 'extension.flinkSQL.extractSchemaContexts'
};
exports.preferredRules = [
    // FlinkSQLParser.RULE_table,
    // FlinkSQLParser.RULE_column,
    // FlinkSQLParser.RULE_view,
    // FlinkSQLParser.RULE_database,
    // FlinkSQLParser.RULE_catalog,
    FlinkSQLParser_1.FlinkSQLParser.RULE_functionName,
    FlinkSQLParser_1.FlinkSQLParser.RULE_tableName,
    FlinkSQLParser_1.FlinkSQLParser.RULE_columnName,
    FlinkSQLParser_1.FlinkSQLParser.RULE_viewName,
    FlinkSQLParser_1.FlinkSQLParser.RULE_databaseName,
    FlinkSQLParser_1.FlinkSQLParser.RULE_catalogName
];
exports.ignoredTokens = [
    FlinkSQLLexer_1.FlinkSQLLexer.EOF,
    FlinkSQLLexer_1.FlinkSQLLexer.SEMICOLON,
    FlinkSQLLexer_1.FlinkSQLLexer.COMMA,
    FlinkSQLLexer_1.FlinkSQLLexer.DOT,
    FlinkSQLLexer_1.FlinkSQLLexer.STAR,
    FlinkSQLLexer_1.FlinkSQLLexer.COLON,
    FlinkSQLLexer_1.FlinkSQLLexer.L_PARENTHESIS,
    FlinkSQLLexer_1.FlinkSQLLexer.R_PARENTHESIS,
    FlinkSQLLexer_1.FlinkSQLLexer.L_BRACE,
    FlinkSQLLexer_1.FlinkSQLLexer.R_BRACE,
    FlinkSQLLexer_1.FlinkSQLLexer.L_BRACKET,
    FlinkSQLLexer_1.FlinkSQLLexer.R_BRACKET,
    FlinkSQLLexer_1.FlinkSQLLexer.STRING_LITERAL,
    FlinkSQLLexer_1.FlinkSQLLexer.BIND_PARAMETER,
    FlinkSQLLexer_1.FlinkSQLLexer.REAL_LITERAL,
    FlinkSQLLexer_1.FlinkSQLLexer.IDENTIFIER
];
//# sourceMappingURL=constants.js.map