Ensuring all nodes are transformed #1479
Closed
davetapley
started this conversation in
Ideas
Replies: 1 comment
-
Never mind, this works: class NodeTransformer(Transformer):
def __default__(self, token, children, meta):
raise NotImplementedError() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To simplify debugging and for future proofing it'd be useful for me to be able to have
Transformer
raise if any node isn't handled by the transform.I presume that isn't supported right now?
Beta Was this translation helpful? Give feedback.
All reactions