def _global_index():
var_and_type = var + Optional(type_)<EOL>global_dec = Suppress(upkey("<STR_LIT>")) + index<EOL>range_key_etc = Suppress("<STR_LIT:U+002C>") + Group(throughput) | Optional(<EOL>Group(Suppress("<STR_LIT:U+002C>") + var_and_type).setResultsName("<STR_LIT>")<EOL>) + Optional(Suppress("<STR_LIT:U+002C>") + include_vars) + Optional(<EOL>Group(Suppress("<STR_LIT:U+002C>") + throughput)<EOL>)<EOL>global_spec = (<EOL>Suppress("<STR_LIT:(>")<EOL>+ primitive<EOL>+ Suppress("<STR_LIT:U+002C>")<EOL>+ Group(var_and_type).setResultsName("<STR_LIT>")<EOL>+ range_key_etc<EOL>+ Suppress("<STR_LIT:)>")<EOL>)<EOL>return Group(global_dec + global_spec).setName("<STR_LIT>")<EOL>
Create grammar for a global index declaration