# Leo colorizer control file for sql mode.
# This file is in the public domain.

# Properties for sql mode.
properties = {
    "commentEnd": "*/",
    "commentStart": "/*",
    "lineComment": "--",
}

# Attributes dict for sql_main ruleset.
sql_main_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Dictionary of attributes dictionaries for sql mode.
attributesDictDict = {
    "sql_main": sql_main_attributes_dict,
}

# Keywords dict for sql_main ruleset.
sql_main_keywords_dict = {
    "abort": "keyword1",
    "abs": "keyword2",
    "access": "keyword1",
    "acos": "keyword2",
    "add": "keyword1",
    "add_months": "keyword2",
    "all": "keyword1",
    "alter": "keyword1",
    "and": "keyword1",
    "any": "keyword1",
    "array": "keyword1",
    "array_len": "keyword1",
    "arraysize": "keyword3",
    "as": "keyword1",
    "asc": "keyword1",
    "ascii": "keyword2",
    "asin": "keyword2",
    "assert": "keyword1",
    "assign": "keyword1",
    "at": "keyword1",
    "atan": "keyword2",
    "atan2": "keyword2",
    "audit": "keyword1",
    "authorization": "keyword1",
    "avg": "keyword1",
    "base_table": "keyword1",
    "begin": "keyword1",
    "between": "keyword1",
    "binary": "keyword1",
    "binary_integer": "keyword1",
    "bit": "keyword1",
    "blob": "keyword1",
    "body": "keyword1",
    "boolean": "keyword1",
    "by": "keyword1",
    "case": "keyword1",
    "ceil": "keyword2",
    "char": "keyword1",
    "char_base": "keyword1",
    "character": "keyword1",
    "chartorowid": "keyword2",
    "check": "keyword1",
    "chr": "keyword2",
    "close": "keyword1",
    "cluster": "keyword1",
    "clusters": "keyword1",
    "colauth": "keyword1",
    "column": "keyword1",
    "comment": "keyword1",
    "commit": "keyword1",
    "compress": "keyword1",
    "concat": "keyword2",
    "connect": "keyword1",
    "constant": "keyword1",
    "constraint": "keyword1",
    "convert": "keyword2",
    "cos": "keyword2",
    "cosh": "keyword2",
    "count": "keyword1",
    "create": "keyword1",
    "current": "keyword1",
    "currval": "keyword1",
    "cursor": "keyword1",
    "data_base": "keyword1",
    "database": "keyword1",
    "date": "keyword1",
    "datetime": "keyword1",
    "dba": "keyword1",
    "dbms_output": "keyword3",
    "debugoff": "keyword1",
    "debugon": "keyword1",
    "decimal": "keyword1",
    "declare": "keyword1",
    "decode": "keyword2",
    "default": "keyword1",
    "define": "keyword2",
    "definition": "keyword1",
    "delay": "keyword1",
    "delete": "keyword1",
    "desc": "keyword1",
    "digits": "keyword1",
    "dispose": "keyword1",
    "distinct": "keyword1",
    "do": "keyword1",
    "drop": "keyword1",
    "dump": "keyword1",
    "else": "keyword1",
    "elsif": "keyword1",
    "enable": "keyword3",
    "end": "keyword1",
    "entry": "keyword1",
    "exception": "keyword1",
    "exception_init": "keyword1",
    "exclusive": "keyword1",
    "exists": "keyword1",
    "exit": "keyword1",
    "external": "keyword1",
    "false": "keyword1",
    "fclose": "keyword3",
    "fclose_all": "keyword3",
    "fetch": "keyword1",
    "file": "keyword1",
    "file_type": "keyword3",
    "float": "keyword1",
    "floor": "keyword2",
    "fopen": "keyword3",
    "for": "keyword1",
    "form": "keyword1",
    "from": "keyword1",
    "function": "keyword1",
    "generic": "keyword1",
    "goto": "keyword1",
    "grant": "keyword1",
    "greatest": "keyword1",
    "group": "keyword1",
    "having": "keyword1",
    "hextoraw": "keyword2",
    "identified": "keyword1",
    "identitycol": "keyword1",
    "if": "keyword1",
    "image": "keyword1",
    "immediate": "keyword1",
    "in": "keyword1",
    "increment": "keyword1",
    "index": "keyword1",
    "indexes": "keyword1",
    "indicator": "keyword1",
    "initcap": "keyword2",
    "initial": "keyword1",
    "insert": "keyword1",
    "instr": "keyword2",
    "instrb": "keyword2",
    "int": "keyword1",
    "integer": "keyword1",
    "interface": "keyword1",
    "intersect": "keyword1",
    "into": "keyword1",
    "invalid_operation": "keyword3",
    "invalid_path": "keyword3",
    "is": "keyword1",
    "isopen": "keyword1",
    "key": "keyword1",
    "last_day": "keyword2",
    "least": "keyword1",
    "length": "keyword2",
    "lengthb": "keyword2",
    "level": "keyword1",
    "like": "keyword1",
    "limited": "keyword1",
    "linesize": "keyword3",
    "ln": "keyword2",
    "lock": "keyword1",
    "log": "keyword2",
    "long": "keyword1",
    "loop": "keyword1",
    "lower": "keyword2",
    "lpad": "keyword2",
    "ltrim": "keyword2",
    "matched": "keyword1",
    "max": "keyword1",
    "maxextents": "keyword1",
    "merge": "keyword1",
    "min": "keyword1",
    "minus": "keyword1",
    "mlslabel": "keyword1",
    "mod": "keyword2",
    "money": "keyword1",
    "months_between": "keyword2",
    "more": "keyword1",
    "name": "keyword1",
    "natural": "keyword1",
    "naturaln": "keyword1",
    "nchar": "keyword1",
    "new": "keyword1",
    "new_time": "keyword2",
    "next": "keyword1",
    "next_day": "keyword2",
    "nextval": "keyword1",
    "nls_lower": "keyword2",
    "nls_upper": "keyword2",
    "nlssort": "keyword2",
    "noaudit": "keyword1",
    "nocompress": "keyword1",
    "not": "keyword1",
    "notfound": "keyword1",
    "nowait": "keyword1",
    "nsl_initcap": "keyword2",
    "ntext": "keyword1",
    "null": "keyword1",
    "number": "keyword1",
    "number_base": "keyword1",
    "numeric": "keyword1",
    "nvarchar": "keyword1",
    "nvl": "keyword2",
    "of": "keyword1",
    "off": "keyword1",
    "offline": "keyword1",
    "on": "keyword1",
    "online": "keyword1",
    "open": "keyword1",
    "option": "keyword1",
    "or": "keyword1",
    "order": "keyword1",
    "organization": "keyword1",
    "others": "keyword1",
    "out": "keyword1",
    "package": "keyword1",
    "pagesize": "keyword3",
    "partition": "keyword1",
    "pctfree": "keyword1",
    "pctincrease": "keyword1",
    "pls_integer": "keyword1",
    "positive": "keyword1",
    "positiven": "keyword1",
    "power": "keyword2",
    "pragma": "keyword1",
    "primary": "keyword1",
    "private": "keyword1",
    "privileges": "keyword1",
    "procedure": "keyword1",
    "prompt": "keyword1",
    "public": "keyword1",
    "put_line": "keyword3",
    "putf": "keyword3",
    "quoted_identifier": "keyword1",
    "raise": "keyword1",
    "range": "keyword1",
    "raw": "keyword1",
    "rawtohex": "keyword2",
    "real": "keyword1",
    "record": "keyword1",
    "ref": "keyword1",
    "release": "keyword1",
    "remr": "keyword1",
    "rename": "keyword1",
    "replace": "keyword2",
    "resource": "keyword1",
    "return": "keyword1",
    "reverse": "keyword1",
    "revoke": "keyword1",
    "rollback": "keyword1",
    "round": "keyword2",
    "row": "keyword1",
    "rowid": "keyword1",
    "rowidtochar": "keyword2",
    "rowlabel": "keyword1",
    "rownum": "keyword1",
    "rows": "keyword1",
    "rowtype": "keyword1",
    "rpad": "keyword2",
    "rtrim": "keyword2",
    "run": "keyword1",
    "savepoint": "keyword1",
    "schema": "keyword1",
    "select": "keyword1",
    "seperate": "keyword1",
    "serveroutput": "keyword3",
    "session": "keyword1",
    "set": "keyword1",
    "share": "keyword1",
    "sign": "keyword2",
    "signtype": "keyword1",
    "sin": "keyword2",
    "sinh": "keyword2",
    "smalldatetime": "keyword1",
    "smallint": "keyword1",
    "smallmoney": "keyword1",
    "soundex": "keyword2",
    "space": "keyword1",
    "spool": "keyword1",
    "sql": "keyword1",
    "sqlcode": "keyword1",
    "sqlerrm": "keyword1",
    "sqrt": "keyword2",
    "start": "keyword1",
    "statement": "keyword1",
    "stddev": "keyword1",
    "storage": "keyword1",
    "substr": "keyword2",
    "substrb": "keyword2",
    "subtype": "keyword1",
    "successfull": "keyword1",
    "sum": "keyword1",
    "synonym": "keyword1",
    "sysdate": "keyword1",
    "tabauth": "keyword1",
    "table": "keyword1",
    "tables": "keyword1",
    "tablespace": "keyword1",
    "tan": "keyword2",
    "tanh": "keyword2",
    "task": "keyword1",
    "terminate": "keyword1",
    "text": "keyword1",
    "then": "keyword1",
    "timestamp": "keyword1",
    "tinyint": "keyword1",
    "to": "keyword1",
    "to_char": "keyword2",
    "to_date": "keyword2",
    "to_multibyte": "keyword2",
    "to_number": "keyword2",
    "to_single_byte": "keyword2",
    "translate": "keyword2",
    "trigger": "keyword1",
    "true": "keyword1",
    "trunc": "keyword2",
    "truncate": "keyword1",
    "type": "keyword1",
    "uid": "keyword1",
    "union": "keyword1",
    "unique": "keyword1",
    "uniqueidentifier": "keyword1",
    "update": "keyword1",
    "updatetext": "keyword1",
    "upper": "keyword2",
    "use": "keyword1",
    "user": "keyword1",
    "using": "keyword1",
    "utl_file": "keyword3",
    "validate": "keyword1",
    "values": "keyword1",
    "varbinary": "keyword1",
    "varchar": "keyword1",
    "varchar2": "keyword1",
    "variance": "keyword1",
    "verify": "keyword3",
    "view": "keyword1",
    "views": "keyword1",
    "when": "keyword1",
    "whenever": "keyword1",
    "where": "keyword1",
    "while": "keyword1",
    "with": "keyword1",
    "work": "keyword1",
    "write": "keyword1",
    "write_error": "keyword3",
    "xor": "keyword1",
}

# Dictionary of keywords dictionaries for sql mode.
keywordsDictDict = {
    "sql_main": sql_main_keywords_dict,
}

# Rules for sql_main ruleset.

def sql_rule0(colorer, s, i):
    return colorer.match_span(s, i, kind="comment1", begin="/*", end="*/",
        at_line_start=False, at_whitespace_end=False, at_word_start=False,
        delegate="",exclude_match=False,
        no_escape=False, no_line_break=False, no_word_break=False)

def sql_rule1(colorer, s, i):
    return colorer.match_span(s, i, kind="literal1", begin="'", end="'",
        at_line_start=False, at_whitespace_end=False, at_word_start=False,
        delegate="",exclude_match=False,
        no_escape=False, no_line_break=False, no_word_break=False)

def sql_rule2(colorer, s, i):
    return colorer.match_span(s, i, kind="literal1", begin="\"", end="\"",
        at_line_start=False, at_whitespace_end=False, at_word_start=False,
        delegate="",exclude_match=False,
        no_escape=False, no_line_break=False, no_word_break=False)

def sql_rule3(colorer, s, i):
    return colorer.match_span(s, i, kind="literal1", begin="[", end="]",
        at_line_start=False, at_whitespace_end=False, at_word_start=False,
        delegate="",exclude_match=False,
        no_escape=False, no_line_break=True, no_word_break=False)

def sql_rule4(colorer, s, i):
    return colorer.match_eol_span(s, i, kind="comment1", seq="--",
        at_line_start=False, at_whitespace_end=False, at_word_start=False,
        delegate="", exclude_match=False)

def sql_rule5(colorer, s, i):
    return colorer.match_eol_span(s, i, kind="comment1", seq="REM",
        at_line_start=True, at_whitespace_end=False, at_word_start=False,
        delegate="", exclude_match=False)

def sql_rule6(colorer, s, i):
    return colorer.match_eol_span(s, i, kind="comment1", seq="REMARK",
        at_line_start=True, at_whitespace_end=False, at_word_start=False,
        delegate="", exclude_match=False)

def sql_rule7(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="+",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule8(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="-",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule9(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="/",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule10(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="*",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule11(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="=",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule12(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq=">",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule13(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="<",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule14(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="%",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule15(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="&",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule16(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="|",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule17(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="^",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule18(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="~",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule19(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="!=",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule20(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="!>",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule21(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="!<",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule22(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq=":=",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule23(colorer, s, i):
    return colorer.match_mark_previous(s, i, kind="label", pattern=":",
        at_line_start=True, at_whitespace_end=False, at_word_start=False, exclude_match=False)

def sql_rule24(colorer, s, i):
    return colorer.match_keywords(s, i)

# Rules dict for sql_main ruleset.
rulesDict1 = {
    "!": [sql_rule19,sql_rule20,sql_rule21,],
    "\"": [sql_rule2,],
    "%": [sql_rule14,],
    "&": [sql_rule15,],
    "'": [sql_rule1,],
    "*": [sql_rule10,],
    "+": [sql_rule7,],
    "-": [sql_rule4,sql_rule8,],
    "/": [sql_rule0,sql_rule9,],
    "0": [sql_rule24,],
    "1": [sql_rule24,],
    "2": [sql_rule24,],
    "3": [sql_rule24,],
    "4": [sql_rule24,],
    "5": [sql_rule24,],
    "6": [sql_rule24,],
    "7": [sql_rule24,],
    "8": [sql_rule24,],
    "9": [sql_rule24,],
    ":": [sql_rule22,sql_rule23,],
    "<": [sql_rule13,],
    "=": [sql_rule11,],
    ">": [sql_rule12,],
    "@": [sql_rule24,],
    "A": [sql_rule24,],
    "B": [sql_rule24,],
    "C": [sql_rule24,],
    "D": [sql_rule24,],
    "E": [sql_rule24,],
    "F": [sql_rule24,],
    "G": [sql_rule24,],
    "H": [sql_rule24,],
    "I": [sql_rule24,],
    "J": [sql_rule24,],
    "K": [sql_rule24,],
    "L": [sql_rule24,],
    "M": [sql_rule24,],
    "N": [sql_rule24,],
    "O": [sql_rule24,],
    "P": [sql_rule24,],
    "Q": [sql_rule24,],
    "R": [sql_rule5,sql_rule6,sql_rule24,],
    "S": [sql_rule24,],
    "T": [sql_rule24,],
    "U": [sql_rule24,],
    "V": [sql_rule24,],
    "W": [sql_rule24,],
    "X": [sql_rule24,],
    "Y": [sql_rule24,],
    "Z": [sql_rule24,],
    "[": [sql_rule3,],
    "^": [sql_rule17,],
    "_": [sql_rule24,],
    "a": [sql_rule24,],
    "b": [sql_rule24,],
    "c": [sql_rule24,],
    "d": [sql_rule24,],
    "e": [sql_rule24,],
    "f": [sql_rule24,],
    "g": [sql_rule24,],
    "h": [sql_rule24,],
    "i": [sql_rule24,],
    "j": [sql_rule24,],
    "k": [sql_rule24,],
    "l": [sql_rule24,],
    "m": [sql_rule24,],
    "n": [sql_rule24,],
    "o": [sql_rule24,],
    "p": [sql_rule24,],
    "q": [sql_rule24,],
    "r": [sql_rule24,],
    "s": [sql_rule24,],
    "t": [sql_rule24,],
    "u": [sql_rule24,],
    "v": [sql_rule24,],
    "w": [sql_rule24,],
    "x": [sql_rule24,],
    "y": [sql_rule24,],
    "z": [sql_rule24,],
    "|": [sql_rule16,],
    "~": [sql_rule18,],
}

# x.rulesDictDict for sql mode.
rulesDictDict = {
    "sql_main": rulesDict1,
}

# Import dict for sql mode.
importDict = {}


# Leo colorizer control file for sql mode.
# This file is in the public domain.

# Properties for sql mode.
properties = {
    "commentEnd": "*/",
    "commentStart": "/*",
    "lineComment": "--",
}

# Attributes dict for sql_main ruleset.
sql_main_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Dictionary of attributes dictionaries for sql mode.
attributesDictDict = {
    "sql_main": sql_main_attributes_dict,
}

# Keywords dict for sql_main ruleset.
sql_main_keywords_dict = {
    "abort": "keyword1",
    "abs": "keyword2",
    "access": "keyword1",
    "acos": "keyword2",
    "add": "keyword1",
    "add_months": "keyword2",
    "all": "keyword1",
    "alter": "keyword1",
    "and": "keyword1",
    "any": "keyword1",
    "array": "keyword1",
    "array_len": "keyword1",
    "arraysize": "keyword3",
    "as": "keyword1",
    "asc": "keyword1",
    "ascii": "keyword2",
    "asin": "keyword2",
    "assert": "keyword1",
    "assign": "keyword1",
    "at": "keyword1",
    "atan": "keyword2",
    "atan2": "keyword2",
    "audit": "keyword1",
    "authorization": "keyword1",
    "avg": "keyword1",
    "base_table": "keyword1",
    "begin": "keyword1",
    "between": "keyword1",
    "binary": "keyword1",
    "binary_integer": "keyword1",
    "bit": "keyword1",
    "blob": "keyword1",
    "body": "keyword1",
    "boolean": "keyword1",
    "by": "keyword1",
    "case": "keyword1",
    "ceil": "keyword2",
    "char": "keyword1",
    "char_base": "keyword1",
    "character": "keyword1",
    "chartorowid": "keyword2",
    "check": "keyword1",
    "chr": "keyword2",
    "close": "keyword1",
    "cluster": "keyword1",
    "clusters": "keyword1",
    "colauth": "keyword1",
    "column": "keyword1",
    "comment": "keyword1",
    "commit": "keyword1",
    "compress": "keyword1",
    "concat": "keyword2",
    "connect": "keyword1",
    "constant": "keyword1",
    "constraint": "keyword1",
    "convert": "keyword2",
    "cos": "keyword2",
    "cosh": "keyword2",
    "count": "keyword1",
    "create": "keyword1",
    "current": "keyword1",
    "currval": "keyword1",
    "cursor": "keyword1",
    "data_base": "keyword1",
    "database": "keyword1",
    "date": "keyword1",
    "datetime": "keyword1",
    "dba": "keyword1",
    "dbms_output": "keyword3",
    "debugoff": "keyword1",
    "debugon": "keyword1",
    "decimal": "keyword1",
    "declare": "keyword1",
    "decode": "keyword2",
    "default": "keyword1",
    "define": "keyword2",
    "definition": "keyword1",
    "delay": "keyword1",
    "delete": "keyword1",
    "desc": "keyword1",
    "digits": "keyword1",
    "dispose": "keyword1",
    "distinct": "keyword1",
    "do": "keyword1",
    "drop": "keyword1",
    "dump": "keyword1",
    "else": "keyword1",
    "elsif": "keyword1",
    "enable": "keyword3",
    "end": "keyword1",
    "entry": "keyword1",
    "exception": "keyword1",
    "exception_init": "keyword1",
    "exclusive": "keyword1",
    "exists": "keyword1",
    "exit": "keyword1",
    "external": "keyword1",
    "false": "keyword1",
    "fclose": "keyword3",
    "fclose_all": "keyword3",
    "fetch": "keyword1",
    "file": "keyword1",
    "file_type": "keyword3",
    "float": "keyword1",
    "floor": "keyword2",
    "fopen": "keyword3",
    "for": "keyword1",
    "form": "keyword1",
    "from": "keyword1",
    "function": "keyword1",
    "generic": "keyword1",
    "goto": "keyword1",
    "grant": "keyword1",
    "greatest": "keyword1",
    "group": "keyword1",
    "having": "keyword1",
    "hextoraw": "keyword2",
    "identified": "keyword1",
    "identitycol": "keyword1",
    "if": "keyword1",
    "image": "keyword1",
    "immediate": "keyword1",
    "in": "keyword1",
    "increment": "keyword1",
    "index": "keyword1",
    "indexes": "keyword1",
    "indicator": "keyword1",
    "initcap": "keyword2",
    "initial": "keyword1",
    "insert": "keyword1",
    "instr": "keyword2",
    "instrb": "keyword2",
    "int": "keyword1",
    "integer": "keyword1",
    "interface": "keyword1",
    "intersect": "keyword1",
    "into": "keyword1",
    "invalid_operation": "keyword3",
    "invalid_path": "keyword3",
    "is": "keyword1",
    "isopen": "keyword1",
    "key": "keyword1",
    "last_day": "keyword2",
    "least": "keyword1",
    "length": "keyword2",
    "lengthb": "keyword2",
    "level": "keyword1",
    "like": "keyword1",
    "limited": "keyword1",
    "linesize": "keyword3",
    "ln": "keyword2",
    "lock": "keyword1",
    "log": "keyword2",
    "long": "keyword1",
    "loop": "keyword1",
    "lower": "keyword2",
    "lpad": "keyword2",
    "ltrim": "keyword2",
    "matched": "keyword1",
    "max": "keyword1",
    "maxextents": "keyword1",
    "merge": "keyword1",
    "min": "keyword1",
    "minus": "keyword1",
    "mlslabel": "keyword1",
    "mod": "keyword2",
    "money": "keyword1",
    "months_between": "keyword2",
    "more": "keyword1",
    "name": "keyword1",
    "natural": "keyword1",
    "naturaln": "keyword1",
    "nchar": "keyword1",
    "new": "keyword1",
    "new_time": "keyword2",
    "next": "keyword1",
    "next_day": "keyword2",
    "nextval": "keyword1",
    "nls_lower": "keyword2",
    "nls_upper": "keyword2",
    "nlssort": "keyword2",
    "noaudit": "keyword1",
    "nocompress": "keyword1",
    "not": "keyword1",
    "notfound": "keyword1",
    "nowait": "keyword1",
    "nsl_initcap": "keyword2",
    "ntext": "keyword1",
    "null": "keyword1",
    "number": "keyword1",
    "number_base": "keyword1",
    "numeric": "keyword1",
    "nvarchar": "keyword1",
    "nvl": "keyword2",
    "of": "keyword1",
    "off": "keyword1",
    "offline": "keyword1",
    "on": "keyword1",
    "online": "keyword1",
    "open": "keyword1",
    "option": "keyword1",
    "or": "keyword1",
    "order": "keyword1",
    "organization": "keyword1",
    "others": "keyword1",
    "out": "keyword1",
    "package": "keyword1",
    "pagesize": "keyword3",
    "partition": "keyword1",
    "pctfree": "keyword1",
    "pctincrease": "keyword1",
    "pls_integer": "keyword1",
    "positive": "keyword1",
    "positiven": "keyword1",
    "power": "keyword2",
    "pragma": "keyword1",
    "primary": "keyword1",
    "private": "keyword1",
    "privileges": "keyword1",
    "procedure": "keyword1",
    "prompt": "keyword1",
    "public": "keyword1",
    "put_line": "keyword3",
    "putf": "keyword3",
    "quoted_identifier": "keyword1",
    "raise": "keyword1",
    "range": "keyword1",
    "raw": "keyword1",
    "rawtohex": "keyword2",
    "real": "keyword1",
    "record": "keyword1",
    "ref": "keyword1",
    "release": "keyword1",
    "remr": "keyword1",
    "rename": "keyword1",
    "replace": "keyword2",
    "resource": "keyword1",
    "return": "keyword1",
    "reverse": "keyword1",
    "revoke": "keyword1",
    "rollback": "keyword1",
    "round": "keyword2",
    "row": "keyword1",
    "rowid": "keyword1",
    "rowidtochar": "keyword2",
    "rowlabel": "keyword1",
    "rownum": "keyword1",
    "rows": "keyword1",
    "rowtype": "keyword1",
    "rpad": "keyword2",
    "rtrim": "keyword2",
    "run": "keyword1",
    "savepoint": "keyword1",
    "schema": "keyword1",
    "select": "keyword1",
    "seperate": "keyword1",
    "serveroutput": "keyword3",
    "session": "keyword1",
    "set": "keyword1",
    "share": "keyword1",
    "sign": "keyword2",
    "signtype": "keyword1",
    "sin": "keyword2",
    "sinh": "keyword2",
    "smalldatetime": "keyword1",
    "smallint": "keyword1",
    "smallmoney": "keyword1",
    "soundex": "keyword2",
    "space": "keyword1",
    "spool": "keyword1",
    "sql": "keyword1",
    "sqlcode": "keyword1",
    "sqlerrm": "keyword1",
    "sqrt": "keyword2",
    "start": "keyword1",
    "statement": "keyword1",
    "stddev": "keyword1",
    "storage": "keyword1",
    "substr": "keyword2",
    "substrb": "keyword2",
    "subtype": "keyword1",
    "successfull": "keyword1",
    "sum": "keyword1",
    "synonym": "keyword1",
    "sysdate": "keyword1",
    "tabauth": "keyword1",
    "table": "keyword1",
    "tables": "keyword1",
    "tablespace": "keyword1",
    "tan": "keyword2",
    "tanh": "keyword2",
    "task": "keyword1",
    "terminate": "keyword1",
    "text": "keyword1",
    "then": "keyword1",
    "timestamp": "keyword1",
    "tinyint": "keyword1",
    "to": "keyword1",
    "to_char": "keyword2",
    "to_date": "keyword2",
    "to_multibyte": "keyword2",
    "to_number": "keyword2",
    "to_single_byte": "keyword2",
    "translate": "keyword2",
    "trigger": "keyword1",
    "true": "keyword1",
    "trunc": "keyword2",
    "truncate": "keyword1",
    "type": "keyword1",
    "uid": "keyword1",
    "union": "keyword1",
    "unique": "keyword1",
    "uniqueidentifier": "keyword1",
    "update": "keyword1",
    "updatetext": "keyword1",
    "upper": "keyword2",
    "use": "keyword1",
    "user": "keyword1",
    "using": "keyword1",
    "utl_file": "keyword3",
    "validate": "keyword1",
    "values": "keyword1",
    "varbinary": "keyword1",
    "varchar": "keyword1",
    "varchar2": "keyword1",
    "variance": "keyword1",
    "verify": "keyword3",
    "view": "keyword1",
    "views": "keyword1",
    "when": "keyword1",
    "whenever": "keyword1",
    "where": "keyword1",
    "while": "keyword1",
    "with": "keyword1",
    "work": "keyword1",
    "write": "keyword1",
    "write_error": "keyword3",
    "xor": "keyword1",
}

# Dictionary of keywords dictionaries for sql mode.
keywordsDictDict = {
    "sql_main": sql_main_keywords_dict,
}

# Rules for sql_main ruleset.

def sql_rule0(colorer, s, i):
    return colorer.match_span(s, i, kind="comment1", begin="/*", end="*/",
        at_line_start=False, at_whitespace_end=False, at_word_start=False,
        delegate="",exclude_match=False,
        no_escape=False, no_line_break=False, no_word_break=False)

def sql_rule1(colorer, s, i):
    return colorer.match_span(s, i, kind="literal1", begin="'", end="'",
        at_line_start=False, at_whitespace_end=False, at_word_start=False,
        delegate="",exclude_match=False,
        no_escape=False, no_line_break=False, no_word_break=False)

def sql_rule2(colorer, s, i):
    return colorer.match_span(s, i, kind="literal1", begin="\"", end="\"",
        at_line_start=False, at_whitespace_end=False, at_word_start=False,
        delegate="",exclude_match=False,
        no_escape=False, no_line_break=False, no_word_break=False)

def sql_rule3(colorer, s, i):
    return colorer.match_span(s, i, kind="literal1", begin="[", end="]",
        at_line_start=False, at_whitespace_end=False, at_word_start=False,
        delegate="",exclude_match=False,
        no_escape=False, no_line_break=True, no_word_break=False)

def sql_rule4(colorer, s, i):
    return colorer.match_eol_span(s, i, kind="comment1", seq="--",
        at_line_start=False, at_whitespace_end=False, at_word_start=False,
        delegate="", exclude_match=False)

def sql_rule5(colorer, s, i):
    return colorer.match_eol_span(s, i, kind="comment1", seq="REM",
        at_line_start=True, at_whitespace_end=False, at_word_start=False,
        delegate="", exclude_match=False)

def sql_rule6(colorer, s, i):
    return colorer.match_eol_span(s, i, kind="comment1", seq="REMARK",
        at_line_start=True, at_whitespace_end=False, at_word_start=False,
        delegate="", exclude_match=False)

def sql_rule7(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="+",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule8(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="-",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule9(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="/",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule10(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="*",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule11(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="=",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule12(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq=">",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule13(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="<",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule14(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="%",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule15(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="&",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule16(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="|",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule17(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="^",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule18(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="~",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule19(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="!=",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule20(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="!>",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule21(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq="!<",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule22(colorer, s, i):
    return colorer.match_seq(s, i, kind="operator", seq=":=",
        at_line_start=False, at_whitespace_end=False, at_word_start=False, delegate="")

def sql_rule23(colorer, s, i):
    return colorer.match_mark_previous(s, i, kind="label", pattern=":",
        at_line_start=True, at_whitespace_end=False, at_word_start=False, exclude_match=False)

def sql_rule24(colorer, s, i):
    return colorer.match_keywords(s, i)

# Rules dict for sql_main ruleset.
rulesDict1 = {
    "!": [sql_rule19,sql_rule20,sql_rule21,],
    "\"": [sql_rule2,],
    "%": [sql_rule14,],
    "&": [sql_rule15,],
    "'": [sql_rule1,],
    "*": [sql_rule10,],
    "+": [sql_rule7,],
    "-": [sql_rule4,sql_rule8,],
    "/": [sql_rule0,sql_rule9,],
    "0": [sql_rule24,],
    "1": [sql_rule24,],
    "2": [sql_rule24,],
    "3": [sql_rule24,],
    "4": [sql_rule24,],
    "5": [sql_rule24,],
    "6": [sql_rule24,],
    "7": [sql_rule24,],
    "8": [sql_rule24,],
    "9": [sql_rule24,],
    ":": [sql_rule22,sql_rule23,],
    "<": [sql_rule13,],
    "=": [sql_rule11,],
    ">": [sql_rule12,],
    "@": [sql_rule24,],
    "A": [sql_rule24,],
    "B": [sql_rule24,],
    "C": [sql_rule24,],
    "D": [sql_rule24,],
    "E": [sql_rule24,],
    "F": [sql_rule24,],
    "G": [sql_rule24,],
    "H": [sql_rule24,],
    "I": [sql_rule24,],
    "J": [sql_rule24,],
    "K": [sql_rule24,],
    "L": [sql_rule24,],
    "M": [sql_rule24,],
    "N": [sql_rule24,],
    "O": [sql_rule24,],
    "P": [sql_rule24,],
    "Q": [sql_rule24,],
    "R": [sql_rule5,sql_rule6,sql_rule24,],
    "S": [sql_rule24,],
    "T": [sql_rule24,],
    "U": [sql_rule24,],
    "V": [sql_rule24,],
    "W": [sql_rule24,],
    "X": [sql_rule24,],
    "Y": [sql_rule24,],
    "Z": [sql_rule24,],
    "[": [sql_rule3,],
    "^": [sql_rule17,],
    "_": [sql_rule24,],
    "a": [sql_rule24,],
    "b": [sql_rule24,],
    "c": [sql_rule24,],
    "d": [sql_rule24,],
    "e": [sql_rule24,],
    "f": [sql_rule24,],
    "g": [sql_rule24,],
    "h": [sql_rule24,],
    "i": [sql_rule24,],
    "j": [sql_rule24,],
    "k": [sql_rule24,],
    "l": [sql_rule24,],
    "m": [sql_rule24,],
    "n": [sql_rule24,],
    "o": [sql_rule24,],
    "p": [sql_rule24,],
    "q": [sql_rule24,],
    "r": [sql_rule24,],
    "s": [sql_rule24,],
    "t": [sql_rule24,],
    "u": [sql_rule24,],
    "v": [sql_rule24,],
    "w": [sql_rule24,],
    "x": [sql_rule24,],
    "y": [sql_rule24,],
    "z": [sql_rule24,],
    "|": [sql_rule16,],
    "~": [sql_rule18,],
}

# x.rulesDictDict for sql mode.
rulesDictDict = {
    "sql_main": rulesDict1,
}

# Import dict for sql mode.
importDict = {}


# Leo colorizer control file for sql mode. # This file is in the public domain. # Properties for sql mode. # Attributes dict for sql_main ruleset. # Dictionary of attributes dictionaries for sql mode. # Keywords dict for sql_main ruleset. # Dictionary of keywords dictionaries for sql mode. # Rules for sql_main ruleset. # Rules dict for sql_main ruleset. # x.rulesDictDict for sql mode. # Import dict for sql mode.