public static final class TypeRewriteRule.Seq extends Object implements TypeRewriteRule
TypeRewriteRule.All, TypeRewriteRule.CheckOnce, TypeRewriteRule.Everywhere, TypeRewriteRule.IfSame<B>, TypeRewriteRule.Nop, TypeRewriteRule.One, TypeRewriteRule.OrElse, TypeRewriteRule.Seq
Modifier and Type | Field and Description |
---|---|
protected List<TypeRewriteRule> |
rules |
Constructor and Description |
---|
Seq(List<TypeRewriteRule> rules) |
Modifier and Type | Method and Description |
---|---|
protected <A,B> Optional<RewriteResult<A,?>> |
cap1(TypeRewriteRule rule,
RewriteResult<A,B> f) |
boolean |
equals(Object obj) |
int |
hashCode() |
<A> Optional<RewriteResult<A,?>> |
rewrite(Type<A> type) |
protected final List<TypeRewriteRule> rules
public Seq(List<TypeRewriteRule> rules)
public <A> Optional<RewriteResult<A,?>> rewrite(Type<A> type)
rewrite
in interface TypeRewriteRule
protected <A,B> Optional<RewriteResult<A,?>> cap1(TypeRewriteRule rule, RewriteResult<A,B> f)