java.lang.Object
org.aya.util.binop.BinOpParser<AyaBinOpSet,Expr,Expr.NamedArg>
org.aya.concrete.desugar.BinExprParser
public final class BinExprParser
extends org.aya.util.binop.BinOpParser<AyaBinOpSet,Expr,Expr.NamedArg>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.aya.util.binop.BinOpParser
org.aya.util.binop.BinOpParser.Elem<Expr> -
Field Summary
Fields inherited from class org.aya.util.binop.BinOpParser
opSet -
Constructor Summary
ConstructorsConstructorDescriptionBinExprParser(@NotNull ResolveInfo resolveInfo, @NotNull kala.collection.SeqView<@NotNull Expr.NamedArg> seq) -
Method Summary
Modifier and TypeMethodDescriptionprotected Expr.NamedArgappOp()protected @NotNull ExprcreateErrorExpr(@NotNull org.aya.util.error.SourcePos sourcePos) protected Expr.NamedArgmakeArg(@NotNull org.aya.util.error.SourcePos pos, @NotNull Expr func, @NotNull Expr.NamedArg arg, boolean explicit) makeSectionApp(@NotNull org.aya.util.error.SourcePos pos, @NotNull Expr.NamedArg op, @NotNull Function<Expr.NamedArg, Expr> lamBody) protected @NotNull org.aya.util.binop.BinOpParser<AyaBinOpSet,Expr, Expr.NamedArg> replicate(@NotNull kala.collection.SeqView<@NotNull Expr.NamedArg> seq) protected voidreportAmbiguousPred(String op1, String op2, org.aya.util.error.SourcePos pos) protected voidreportFixityError(org.aya.util.binop.Assoc top, org.aya.util.binop.Assoc current, String topOp, String currentOp, org.aya.util.error.SourcePos pos) protected voidreportMissingOperand(String op, org.aya.util.error.SourcePos pos) protected @Nullable org.aya.util.binop.OpDeclMethods inherited from class org.aya.util.binop.BinOpParser
build, isOperand, toSetElem
-
Constructor Details
-
BinExprParser
public BinExprParser(@NotNull @NotNull ResolveInfo resolveInfo, @NotNull @NotNull kala.collection.SeqView<@NotNull Expr.NamedArg> seq)
-
-
Method Details
-
appOp
- Specified by:
appOpin classorg.aya.util.binop.BinOpParser<AyaBinOpSet,Expr, Expr.NamedArg>
-
replicate
@NotNull protected @NotNull org.aya.util.binop.BinOpParser<AyaBinOpSet,Expr, replicateExpr.NamedArg> (@NotNull @NotNull kala.collection.SeqView<@NotNull Expr.NamedArg> seq) - Specified by:
replicatein classorg.aya.util.binop.BinOpParser<AyaBinOpSet,Expr, Expr.NamedArg>
-
reportAmbiguousPred
- Specified by:
reportAmbiguousPredin classorg.aya.util.binop.BinOpParser<AyaBinOpSet,Expr, Expr.NamedArg>
-
createErrorExpr
@NotNull protected @NotNull Expr createErrorExpr(@NotNull @NotNull org.aya.util.error.SourcePos sourcePos) - Specified by:
createErrorExprin classorg.aya.util.binop.BinOpParser<AyaBinOpSet,Expr, Expr.NamedArg>
-
reportFixityError
protected void reportFixityError(org.aya.util.binop.Assoc top, org.aya.util.binop.Assoc current, String topOp, String currentOp, org.aya.util.error.SourcePos pos) - Specified by:
reportFixityErrorin classorg.aya.util.binop.BinOpParser<AyaBinOpSet,Expr, Expr.NamedArg>
-
reportMissingOperand
- Specified by:
reportMissingOperandin classorg.aya.util.binop.BinOpParser<AyaBinOpSet,Expr, Expr.NamedArg>
-
underlyingOpDecl
@Nullable protected @Nullable org.aya.util.binop.OpDecl underlyingOpDecl(@NotNull Expr.NamedArg elem) - Specified by:
underlyingOpDeclin classorg.aya.util.binop.BinOpParser<AyaBinOpSet,Expr, Expr.NamedArg>
-
makeArg
@NotNull protected Expr.NamedArg makeArg(@NotNull @NotNull org.aya.util.error.SourcePos pos, @NotNull @NotNull Expr func, @NotNull Expr.NamedArg arg, boolean explicit) - Specified by:
makeArgin classorg.aya.util.binop.BinOpParser<AyaBinOpSet,Expr, Expr.NamedArg>
-
makeSectionApp
@NotNull public Expr.NamedArg makeSectionApp(@NotNull @NotNull org.aya.util.error.SourcePos pos, @NotNull Expr.NamedArg op, @NotNull @NotNull Function<Expr.NamedArg, Expr> lamBody) - Specified by:
makeSectionAppin classorg.aya.util.binop.BinOpParser<AyaBinOpSet,Expr, Expr.NamedArg>
-