Uses of Class
net.hydromatic.morel.ast.Ast.Exp
Packages that use Ast.Exp
Package
Description
Abstract syntax tree.
Validates programs
(represented as
AstNode),
deduces their type,
and compiles them into code that can be evaluated.Utilities.
-
Uses of Ast.Exp in net.hydromatic.morel.ast
Subclasses of Ast.Exp in net.hydromatic.morel.astModifier and TypeClassDescriptionstatic classParse tree node of an expression annotated with a type.static classApplication of a function to its argument.static classCase expression.static classLambda expression.static classFrom expression.static classParse tree node of an identifier.static class"If ...static classCall to an infix operator.static class"Let" expression.static classList expression.static classParse tree node of a literal (constant).static classCall to a prefix operator.static classRecord.static classParse tree node of a record selector.static classTuple.Fields in net.hydromatic.morel.ast declared as Ast.ExpModifier and TypeFieldDescriptionfinal Ast.ExpAst.PrefixCall.afinal Ast.ExpAst.InfixCall.a0final Ast.ExpAst.InfixCall.a1final Ast.ExpAst.Aggregate.aggregatefinal Ast.ExpAst.Apply.argfinal Ast.ExpAst.Aggregate.argumentfinal Ast.ExpAst.If.conditionfinal @Nullable Ast.ExpAst.Scan.conditionfinal Ast.ExpAst.AnnotatedExp.expfinal Ast.ExpAst.Case.expfinal Ast.ExpAst.FunMatch.expfinal Ast.ExpAst.Let.expfinal Ast.ExpAst.Match.expfinal Ast.ExpAst.OrderItem.expfinal Ast.ExpAst.Scan.expfinal Ast.ExpAst.Skip.expfinal Ast.ExpAst.Take.expfinal Ast.ExpAst.ValBind.expfinal Ast.ExpAst.Where.expfinal Ast.ExpAst.Yield.expfinal Ast.ExpAst.Apply.fnfinal Ast.ExpAst.If.ifFalsefinal Ast.ExpAst.If.ifTruefinal @Nullable Ast.ExpAst.From.implicitYieldExpFields in net.hydromatic.morel.ast with type parameters of type Ast.ExpModifier and TypeFieldDescriptionAst.ListExp.argsAst.Record.argsAst.Tuple.argsfinal ImmutablePairList<Ast.Id, Ast.Exp> Ast.Group.groupExpsMethods in net.hydromatic.morel.ast that return Ast.ExpModifier and TypeMethodDescriptionabstract Ast.ExpAstBuilder.annotatedExp(Pos pos, Ast.Exp expression, Ast.Type type) Wraps an expression to distinguish "from x = e" from "from x in e".AstBuilder.fromSuchThat(Ast.Exp exp) Wraps an expression to distinguish "from x suchthat e" from "from x in e".AstBuilder.greaterThan(Ast.Exp a0, Ast.Exp a1) AstBuilder.greaterThanOrEqual(Ast.Exp a0, Ast.Exp a1) AstBuilder.ifThenElse(Pos pos, Ast.Exp condition, Ast.Exp ifTrue, Ast.Exp ifFalse) (package private) static @Nullable Ast.ExpAst.From.implicitYieldExp(Pos pos, List<Ast.FromStep> steps) AstBuilder.lessThanOrEqual(Ast.Exp a0, Ast.Exp a1) private Ast.ExpReturns a reference to a built-in: either a name (e.g.protected Ast.ExpShuttle.visit(Ast.AnnotatedExp annotatedExp) protected Ast.Expprotected Ast.Expprotected Ast.Expprotected Ast.ExpShuttle.visit(Ast.InfixCall infixCall) protected Ast.ExpShuttle.visit(Ast.Literal literal) protected Ast.ExpShuttle.visit(Ast.PrefixCall prefixCall) protected Ast.ExpShuttle.visit(Ast.Record record) protected Ast.ExpShuttle.visit(Ast.RecordSelector recordSelector) protected Ast.ExpMethods in net.hydromatic.morel.ast that return types with arguments of type Ast.ExpMethods in net.hydromatic.morel.ast with parameters of type Ast.ExpModifier and TypeMethodDescriptionAstBuilder.annotatedExp(Pos pos, Ast.Exp expression, Ast.Type type) Ast.From.copy(List<Ast.FromStep> steps, @Nullable Ast.Exp implicitYieldExp) Creates a copy of thisFromwith given contents, orthisif the contents are the same.Creates a copy of thisIfwith given contents, orthisif the contents are the same.Creates a copy of thisInfixCallwith given contents, orthisif the contents are the same.Creates a copy of thisLetExpwith given contents, orthisif the contents are the same.Creates a copy of thisMatchwith given contents, orthisif the contents are the same.Ast.OrderItem.copy(Ast.Exp exp, Ast.Direction direction) Creates a copy of thisValBindwith given contents, orthisif the contents are the same.AstBuilder.from(Pos pos, List<Ast.FromStep> steps, Ast.Exp implicitYieldExp) Wraps an expression to distinguish "from x = e" from "from x in e".AstBuilder.fromSuchThat(Ast.Exp exp) Wraps an expression to distinguish "from x suchthat e" from "from x in e".AstBuilder.funMatch(Pos pos, String name, Iterable<? extends Ast.Pat> patList, Ast.Type returnType, Ast.Exp exp) AstBuilder.greaterThan(Ast.Exp a0, Ast.Exp a1) AstBuilder.greaterThanOrEqual(Ast.Exp a0, Ast.Exp a1) AstBuilder.ifThenElse(Pos pos, Ast.Exp condition, Ast.Exp ifTrue, Ast.Exp ifFalse) AstBuilder.implicitLabel(Ast.Exp exp) private Ast.InfixCallCreates a call to an infix operator.AstBuilder.lessThanOrEqual(Ast.Exp a0, Ast.Exp a1) AstBuilder.orderItem(Pos pos, Ast.Exp exp, Ast.Direction direction) AstBuilder.prefixCall(Pos p, Op op, Ast.Exp a) Creates a call to a prefix operator.Method parameters in net.hydromatic.morel.ast with type arguments of type Ast.ExpModifier and TypeMethodDescriptionvoidAst.Exp.forEachArg(ObjIntConsumer<Ast.Exp> action) voidAst.InfixCall.forEachArg(ObjIntConsumer<Ast.Exp> action) voidAst.ListExp.forEachArg(ObjIntConsumer<Ast.Exp> action) voidAst.PrefixCall.forEachArg(ObjIntConsumer<Ast.Exp> action) voidAst.Record.forEachArg(ObjIntConsumer<Ast.Exp> action) voidAst.Tuple.forEachArg(ObjIntConsumer<Ast.Exp> action) Constructors in net.hydromatic.morel.ast with parameters of type Ast.ExpModifierConstructorDescription(package private)(package private)AnnotatedExp(Pos pos, Ast.Exp exp, Ast.Type type) Creates a type annotation.(package private)(package private)(package private)From(Pos pos, com.google.common.collect.ImmutableList<Ast.FromStep> steps, @Nullable Ast.Exp implicitYieldExp) (package private)FunMatch(Pos pos, String name, com.google.common.collect.ImmutableList<Ast.Pat> patList, @Nullable Ast.Type returnType, Ast.Exp exp) (package private)(package private)(package private)(package private)OrderItem(Pos pos, Ast.Exp exp, Ast.Direction direction) (package private)PrefixCall(Pos pos, Op op, Ast.Exp a) (package private)(package private)(package private)(package private)(package private)(package private)Constructor parameters in net.hydromatic.morel.ast with type arguments of type Ast.ExpModifierConstructorDescription(package private)Group(Pos pos, Op op, ImmutablePairList<Ast.Id, Ast.Exp> groupExps, com.google.common.collect.ImmutableList<Ast.Aggregate> aggregates) (package private)(package private)(package private) -
Uses of Ast.Exp in net.hydromatic.morel.compile
Methods in net.hydromatic.morel.compile that return Ast.ExpModifier and TypeMethodDescriptionprivate Ast.ExpTypeResolver.deduceType(TypeResolver.TypeEnv env, Ast.Exp node, Unifier.Variable v) TypeResolver.Resolved.exp()private static Ast.ExpConverts a list of variable names to a variable or tuple.private Ast.ExpTypeResolver.infix(TypeResolver.TypeEnv env, Ast.InfixCall call, Unifier.Variable v) Registers an infix operator.private Ast.ExpTypeResolver.infix(TypeResolver.TypeEnv env, Ast.InfixCall call, Unifier.Variable v, Type type) Registers an infix operator whose type is a given type.private Ast.ExpTypeResolver.prefix(TypeResolver.TypeEnv env, Ast.PrefixCall call, Unifier.Variable v) Registers a prefix operator.Methods in net.hydromatic.morel.compile with parameters of type Ast.ExpModifier and TypeMethodDescriptionprivate Ast.ExpTypeResolver.deduceType(TypeResolver.TypeEnv env, Ast.Exp node, Unifier.Variable v) private @Nullable TypedValueTypeResolver.FieldExpander.expandField(Environment env, Ast.Exp exp) (package private) static voidprivate Core.ExpResolver.flattenLet(List<Ast.Decl> decls, Ast.Exp exp) private Core.Expprivate Core.ExpResolver.toCoreFromEq(Ast.Exp exp) Translates "x" in "from e = x".static Ast.ValDeclConvertsetoval = e.Method parameters in net.hydromatic.morel.compile with type arguments of type Ast.Exp -
Uses of Ast.Exp in net.hydromatic.morel.util
Methods in net.hydromatic.morel.util that return types with arguments of type Ast.ExpModifier and TypeMethodDescriptionCreates a folder that combines an expression with whatever follows using an infix operator.Methods in net.hydromatic.morel.util with parameters of type Ast.ExpModifier and TypeMethodDescriptionstatic voidAppends an element using "@".static voidAppends an element using "::".Creates a folder that combines an expression with whatever follows using an infix operator.Method parameters in net.hydromatic.morel.util with type arguments of type Ast.Exp