Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
mio-19 committed Oct 25, 2024
1 parent c05cd1c commit 229dbd2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 25 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package chester.truffle.node

import chester.syntax.core.BooleanTermC
import chester.syntax.core.TermMeta
import com.oracle.truffle.api.frame.VirtualFrame

import scala.Option

final case class BooleanNode(override val value: Boolean, override val meta: Option[TermMeta]) extends LiteralNode with BooleanTermC[TermNode] {
override def executeGeneric(frame: VirtualFrame): Boolean = value
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package chester.truffle.node;

import chester.syntax.core.TermT;
import com.oracle.truffle.api.frame.VirtualFrame;

public abstract class TermNode extends ChesterNode implements TermT<TermNode> {
public abstract Object executeGeneric(VirtualFrame frame);
}

0 comments on commit 229dbd2

Please sign in to comment.