reorganization: Move hooks to common.py

This allows them to be referenced before they are filled, helping avoid
circular dependencies.
This commit is contained in:
James Westman 2022-01-26 14:50:36 -06:00
parent 34f525beaa
commit 8f9de81e24
5 changed files with 89 additions and 6 deletions

View file

@ -26,3 +26,7 @@ from ..lsp_utils import Completion, CompletionItemKind
from ..parse_tree import *
from ..parser_utils import *
from ..xml_emitter import XmlEmitter
OBJECT_HOOKS = AnyOf()
OBJECT_CONTENT_HOOKS = AnyOf()