Uses of Class
net.hydromatic.morel.ast.Core.Decl
Packages that use Core.Decl
Package
Description
Abstract syntax tree.
Validates programs
(represented as
AstNode),
deduces their type,
and compiles them into code that can be evaluated.-
Uses of Core.Decl in net.hydromatic.morel.ast
Subclasses of Core.Decl in net.hydromatic.morel.astModifier and TypeClassDescriptionstatic classDatatype declaration.static classNon-recursive value declaration.static classRecursive value declaration.static classAbstract (recursive or non-recursive) value declaration.Methods in net.hydromatic.morel.ast that return Core.Decl -
Uses of Core.Decl in net.hydromatic.morel.compile
Methods in net.hydromatic.morel.compile that return Core.DeclMethods in net.hydromatic.morel.compile with parameters of type Core.DeclModifier and TypeMethodDescriptionprivate static voidCompiles.checkPatternCoverage(TypeSystem typeSystem, Core.Decl decl, Consumer<CompileException> warningConsumer) Checks for exhaustive and redundant patterns, and throws if there are errors/warnings.(package private) voidCompiler.compileDecl(Compiler.Context cx, Core.Decl decl, @Nullable Core.NamedPat skipPat, Set<Core.Exp> queriesToWrap, List<Code> matchCodes, List<Binding> bindings, List<Compiler.Action> actions) (package private) CompiledStatementCompiler.compileStatement(Environment env, Core.Decl decl, @Nullable Core.NamedPat skipPat, Set<Core.Exp> queriesToWrap) (package private) static booleanSuchThatShuttle.containsSuchThat(Core.Decl decl) private static @Nullable Core.NamedPatCompiles.getSkipPat(Ast.Decl decl, Core.Decl coreDecl) Returns a pattern that should not be printed, or null.voidCalled when the expression is converted to core.voidvoidMethod parameters in net.hydromatic.morel.compile with type arguments of type Core.DeclModifier and TypeMethodDescriptionstatic TracerTracers.withOnCore(Tracer tracer, int pass, Consumer<Core.Decl> consumer) Returns a tracer that performs the given action on a declaration, then calls the underlying tracer.