This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 887
Using (Block/)ScopeAwareRuleWalker with typed programs #2514
Comments
You can just override the constructor, pass the type checker as argument
and save it in a property. That's the whole magic `ProgramAwareRuleWalker`
does
Am 06.04.2017 22:12 schrieb "Josh Goldberg" <notifications@github.com>:
… I don't see any examples of creating a ScopeAwareRuleWalker with a typed
rule. Is this intended to be doable?
There could be TypedScopeAwareRuleWalker + TypedBlockScopeAwareRuleWalker,
but it feels wrong to make a cross-matrix of all the potential rule types
against each other.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2514>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALaeKFOA50bVR5MEqbDFKFCL2_DMrPMwks5rtUdIgaJpZM4M2G_T>
.
|
This is true, but then for the first |
These classes should really not be used. In every example I have seen (except for |
Should they be deprecated then? |
4 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I don't see any examples of creating a
ScopeAwareRuleWalker
with a typed rule. Is this intended to be doable?There could be
TypedScopeAwareRuleWalker
+TypedBlockScopeAwareRuleWalker
, but it feels wrong to make a cross-matrix of all the potential rule types against each other.The text was updated successfully, but these errors were encountered: