def _macro_defn_action(_s, _l, tokens):
    assert len(tokens) == 3
    assert tokens[0] == '@'
    return {tokens[1]: tokens[2]}
Builds a dictionary structure which defines the given macro.
dataset/ETHPy150Open nltk/nltk/nltk/tgrep.py/_macro_defn_action