java-commons/muscript/src/main/java/io/gitlab/jfronny/muscript/compiler/expr/NumberExpr.java

17 lines
410 B
Java

package io.gitlab.jfronny.muscript.compiler.expr;
import io.gitlab.jfronny.muscript.compiler.*;
import io.gitlab.jfronny.muscript.compiler.expr.dynamic.*;
public abstract non-sealed class NumberExpr extends Expr<Double> {
@Override
public Type getResultType() {
return Type.Number;
}
@Override
public DynamicExpr asDynamicExpr() {
return new DynamicCoerce(this);
}
}