- All Known Subinterfaces:
ExprFolder<R>,StmtFolder<R>
public interface PatternFolder<R>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Rdefault Rdefault RfoldVar(R acc, @NotNull AnyVar var, @NotNull org.aya.util.error.SourcePos pos, @NotNull kala.value.LazyValue<@Nullable Term> type) default RfoldVarDecl(R acc, @NotNull AnyVar var, @NotNull org.aya.util.error.SourcePos pos, @NotNull kala.value.LazyValue<@Nullable Term> type) default RfoldVarRef(R acc, @NotNull AnyVar var, @NotNull org.aya.util.error.SourcePos pos, @NotNull kala.value.LazyValue<@Nullable Term> type) init()default @NotNull kala.value.LazyValue<@Nullable Term>default @NotNull kala.value.LazyValue<@Nullable Term>noType()default @Nullable Term
-
Method Details
-
init
-
foldVar
-
foldVarRef
-
foldVarDecl
-
fold
-
apply
-
varType
-
lazyType
-
noType
- Implementation Note:
- Should conceptually only be used outside of these folders, where types are all ignored.
-