All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.aya.concrete.stmt.BindBlock Maven / Gradle / Ivy

There is a newer version: 0.33.0
Show newest version
// Copyright (c) 2020-2021 Yinsen (Tesla) Zhang.
// Use of this source code is governed by the MIT license that can be found in the LICENSE.md file.
package org.aya.concrete.stmt;

import kala.collection.immutable.ImmutableSeq;
import kala.value.Ref;
import org.aya.api.ref.DefVar;
import org.aya.concrete.resolve.context.Context;
import org.aya.util.error.SourcePos;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
 * @author kiva
 */
public record BindBlock(
  @Override @NotNull SourcePos sourcePos,
  @NotNull Ref<@Nullable Context> context,
  @NotNull ImmutableSeq loosers,
  @NotNull ImmutableSeq tighters,
  @NotNull Ref>> resolvedLoosers,
  @NotNull Ref>> resolvedTighters
) {
  public static final @NotNull BindBlock EMPTY = new BindBlock(SourcePos.NONE, new Ref<>(), ImmutableSeq.empty(), ImmutableSeq.empty(), new Ref<>(), new Ref<>());
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy