java.lang.Object
org.aya.resolve.visitor.PatternResolver
- All Implemented Interfaces:
BiFunction<org.aya.util.error.SourcePos,,org.aya.syntax.concrete.Pattern, org.aya.syntax.concrete.Pattern> org.aya.util.error.PosedUnaryOperator<org.aya.syntax.concrete.Pattern>
public class PatternResolver
extends Object
implements org.aya.util.error.PosedUnaryOperator<org.aya.syntax.concrete.Pattern>
-
Constructor Summary
ConstructorsConstructorDescriptionPatternResolver(@NotNull Context context, @NotNull Consumer<org.aya.generic.stmt.TyckUnit> parentAdd) -
Method Summary
Modifier and TypeMethodDescription@NotNull org.aya.syntax.concrete.Patternapply(@NotNull org.aya.util.error.SourcePos pos, @NotNull org.aya.syntax.concrete.Pattern pat) @NotNull Contextcontext()@NotNull org.aya.syntax.concrete.Patternpost(@NotNull org.aya.util.error.SourcePos pos, @NotNull org.aya.syntax.concrete.Pattern pat) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface org.aya.util.error.PosedUnaryOperator
apply, forceApply
-
Constructor Details
-
PatternResolver
-
-
Method Details
-
context
-
apply
@NotNull public @NotNull org.aya.syntax.concrete.Pattern apply(@NotNull @NotNull org.aya.util.error.SourcePos pos, @NotNull @NotNull org.aya.syntax.concrete.Pattern pat) - Specified by:
applyin interfaceBiFunction<org.aya.util.error.SourcePos,org.aya.syntax.concrete.Pattern, org.aya.syntax.concrete.Pattern>
-
post
@NotNull public @NotNull org.aya.syntax.concrete.Pattern post(@NotNull @NotNull org.aya.util.error.SourcePos pos, @NotNull @NotNull org.aya.syntax.concrete.Pattern pat)
-