This repository has been archived on 2025-09-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2025LogProg-project-GhentPr.../src/prolog/ast/arithmetic/ArithmeticOperator.kt
2025-05-09 18:30:18 +02:00

10 lines
402 B
Kotlin

package prolog.ast.arithmetic
import prolog.ast.terms.Atom
import prolog.ast.terms.Operator
abstract class ArithmeticOperator(symbol: Atom, leftOperand: Expression, rightOperand: Expression) :
Operator(symbol, leftOperand, rightOperand), Expression {
constructor(symbol: String, leftOperand: Expression, rightOperand: Expression) :
this(Atom(symbol), leftOperand, rightOperand)
}