java.lang.Object
org.kink_lang.kink.HostResultCore
org.kink_lang.kink.Val
org.kink_lang.kink.internal.compile.tempval.MaybeTraitVal
All Implemented Interfaces:
HostResult

public class MaybeTraitVal extends Val
Internal temporary val to store MaybeTrait.
  • Constructor Details

    • MaybeTraitVal

      public MaybeTraitVal(Vm vm, MaybeTrait maybeTrait)
      Constructs a temporary val.
      Parameters:
      vm - the vm.
      maybeTrait - the MaybeTrait to store.
  • Method Details

    • getMaybeTrait

      public MaybeTrait getMaybeTrait()
      Returns the stored MaybeTrait.
      Returns:
      the stored MaybeTrait.