Uses of Class
net.hydromatic.morel.ast.Ast.Match
-
Packages that use Ast.Match Package Description net.hydromatic.morel.ast Abstract syntax tree.net.hydromatic.morel.compile Validates programs (represented asAstNode), deduces their type, and compiles them into code that can be evaluated. -
-
Uses of Ast.Match in net.hydromatic.morel.ast
Fields in net.hydromatic.morel.ast with type parameters of type Ast.Match Modifier and Type Field Description java.util.List<Ast.Match>Ast.Case. matchListjava.util.List<Ast.Match>Ast.Fn. matchListMethods in net.hydromatic.morel.ast that return Ast.Match Modifier and Type Method Description Ast.MatchAst.Match. accept(Shuttle shuttle)Ast.MatchAstBuilder. match(Pos pos, Ast.Pat pat, Ast.Exp e)protected Ast.MatchShuttle. visit(Ast.Match match)Methods in net.hydromatic.morel.ast with parameters of type Ast.Match Modifier and Type Method Description Ast.FnAstBuilder. fn(Pos pos, Ast.Match... matchList)protected Ast.MatchShuttle. visit(Ast.Match match)Method parameters in net.hydromatic.morel.ast with type arguments of type Ast.Match Modifier and Type Method Description Ast.CaseAstBuilder. caseOf(Pos pos, Ast.Exp e, java.lang.Iterable<? extends Ast.Match> matchList)Ast.FnAstBuilder. fn(Pos pos, java.lang.Iterable<? extends Ast.Match> matchList)Constructor parameters in net.hydromatic.morel.ast with type arguments of type Ast.Match Constructor Description Case(Pos pos, Ast.Exp e, com.google.common.collect.ImmutableList<Ast.Match> matchList)Fn(Pos pos, com.google.common.collect.ImmutableList<Ast.Match> matchList) -
Uses of Ast.Match in net.hydromatic.morel.compile
Methods in net.hydromatic.morel.compile with parameters of type Ast.Match Modifier and Type Method Description private AstNodeTypeResolver. deduceMatchType(TypeResolver.TypeEnv env, Ast.Match match, java.util.Map<Ast.IdPat,Unifier.Term> termMap, Unifier.Variable argVariable, Unifier.Variable resultVariable)Method parameters in net.hydromatic.morel.compile with type arguments of type Ast.Match Modifier and Type Method Description private CodeCompiler. compileMatchList(Environment env, java.lang.Iterable<Ast.Match> matchList)Compiles amatchexpression.private voidTypeResolver. deduceMatchListType(TypeResolver.TypeEnv env, java.util.List<Ast.Match> matchList, java.util.NavigableSet<java.lang.String> labelNames, Unifier.Variable argVariable, Unifier.Variable resultVariable)
-