Cleanup 2
This commit is contained in:
parent
a9bb6e0338
commit
3c938749d0
22 changed files with 299 additions and 110 deletions
|
@ -4,4 +4,7 @@ import prolog.ast.terms.Atom
|
|||
import prolog.ast.terms.Operator
|
||||
|
||||
abstract class ArithmeticOperator(symbol: Atom, leftOperand: Expression, rightOperand: Expression) :
|
||||
Operator(symbol, leftOperand, rightOperand), Expression
|
||||
Operator(symbol, leftOperand, rightOperand), Expression {
|
||||
constructor(symbol: String, leftOperand: Expression, rightOperand: Expression) :
|
||||
this(Atom(symbol), leftOperand, rightOperand)
|
||||
}
|
||||
|
|
Reference in a new issue