{
    "simpleTerms": {
        "module": "scope",

        "\"global\"": "modifier",
        "\"nonlocal\"": "modifier",

        "decorator": "function",
        "\"print\"": "function",
        "\"assert\"": "function",
        "\"exec\"": "function",
        "\"del\"": "function",

        "integer" : "number",
        "float" : "number",
        "string": "string",
        "escape_sequence": "string",
        "interpolation": "string",
        "comment": "comment",

        "none": "constant",
        "true": "constant",
        "false": "constant",

        "\"if\"": "control",
        "\"else\"": "control",
        "\"elif\"": "control",
        "\"while\"": "control",
        "\"for\"": "control",
        "\"return\"": "control",
        "\"break\"": "control",
        "\"continue\"": "control",
        "\"pass\"": "control",
        "\"raise\"": "control",
        "\"yield\"": "control",
        "\"await\"": "control",
        "\"async\"": "control",
        "\"try\"": "control",
        "\"except\"": "control",
        "\"with\"": "control",
        "\"as\"": "control",
        "\"finally\"": "control",

        "\"+\"": "operator",
        "\"-\"": "operator",
        "\"*\"": "operator",
        "\"/\"": "operator",
        "\"%\"": "operator",
        "\"@\"": "operator",
        "\"**\"": "operator",
        "\"//\"": "operator",
        "\"==\"": "operator",
        "\"!=\"": "operator",
        "\"<>\"": "operator",
        "\">\"": "operator",
        "\"<\"": "operator",
        "\">=\"": "operator",
        "\"<=\"": "operator",
        "\"=\"": "operator",
        "\"+=\"": "operator",
        "\"-=\"": "operator",
        "\"*=\"": "operator",
        "\"/=\"": "operator",
        "\"%=\"": "operator",
        "\"@=\"": "operator",
        "\"**=\"": "operator",
        "\"//=\"": "operator",
        "\"&\"": "operator",
        "\"|\"": "operator",
        "\"^\"": "operator",
        "\"~\"": "operator",
        "\"<<\"": "operator",
        "\">>\"": "operator",

        "\"in\"": "operator",
        "\"and\"": "operator",
        "\"or\"": "operator",
        "\"not\"": "operator",
        "\"is\"": "operator",

        "\"import\"": "directive",
        "\"from\"": "directive",
        "\"class\"": "directive",
        "\"def\"": "directive",
        "\"lambda\"": "directive",

        "\"[\"": "punctuation",
        "\"]\"": "punctuation",
        "\"{\"": "punctuation",
        "\"}\"": "punctuation",
        "\"(\"": "punctuation",
        "\")\"": "punctuation"
    },

    "complexTerms": ["identifier", "attribute"],

    "complexScopes": {
        "type > identifier": "type",
        "class_definition > identifier": "type",
        "class_definition > argument_list > attribute": "type",
        "class_definition > argument_list > identifier": "type",
        "class_definition > argument_list > keyword_argument > attribute": "type",
        "class_definition > argument_list > keyword_argument > identifier": "type",

        "identifier": "variable",
        "attribute > identifier": "variable",
        "keyword_argument > identifier": "variable",
        "default_parameter > identifier": "variable",
        "parameters > identifier": "variable",
        "parameters > list_splat > identifier": "variable",
        "parameters > dictionary_splat > identifier": "variable",

        "call > identifier": "function",
        "call > attribute > identifier[-1]": "function",
        "function_definition > identifier": "function"
    }
}
