mirror of
https://github.com/DanilaFe/abacus
synced 2024-12-04 15:32:59 -08:00
Move the StandardPlugin into a "standard" package along with the ops.
This commit is contained in:
parent
b4214f5714
commit
e05b2ac8d5
|
@ -1,10 +1,13 @@
|
|||
package org.nwapw.abacus.plugin;
|
||||
package org.nwapw.abacus.plugin.standard;
|
||||
|
||||
import org.nwapw.abacus.context.MutableEvaluationContext;
|
||||
import org.nwapw.abacus.function.*;
|
||||
import org.nwapw.abacus.number.NaiveNumber;
|
||||
import org.nwapw.abacus.number.NumberInterface;
|
||||
import org.nwapw.abacus.number.PreciseNumber;
|
||||
import org.nwapw.abacus.plugin.NumberImplementation;
|
||||
import org.nwapw.abacus.plugin.Plugin;
|
||||
import org.nwapw.abacus.plugin.PluginManager;
|
||||
import org.nwapw.abacus.plugin.standard.operator.*;
|
||||
|
||||
import java.util.ArrayList;
|
|
@ -8,7 +8,7 @@ import org.nwapw.abacus.parsing.LexerTokenizer
|
|||
import org.nwapw.abacus.parsing.ShuntingYardParser
|
||||
import org.nwapw.abacus.parsing.TreeBuilder
|
||||
import org.nwapw.abacus.plugin.PluginManager
|
||||
import org.nwapw.abacus.plugin.StandardPlugin
|
||||
import org.nwapw.abacus.plugin.standard.StandardPlugin
|
||||
import org.nwapw.abacus.tree.EvaluationResult
|
||||
import org.nwapw.abacus.tree.NumberReducer
|
||||
import org.nwapw.abacus.tree.TreeNode
|
||||
|
|
|
@ -5,7 +5,7 @@ import org.nwapw.abacus.function.NumberOperator
|
|||
import org.nwapw.abacus.function.OperatorAssociativity
|
||||
import org.nwapw.abacus.function.OperatorType
|
||||
import org.nwapw.abacus.number.NumberInterface
|
||||
import org.nwapw.abacus.plugin.StandardPlugin.*
|
||||
import org.nwapw.abacus.plugin.standard.StandardPlugin.*
|
||||
|
||||
/**
|
||||
* The power operator.
|
||||
|
|
|
@ -5,7 +5,7 @@ import org.nwapw.abacus.function.NumberOperator
|
|||
import org.nwapw.abacus.function.OperatorAssociativity
|
||||
import org.nwapw.abacus.function.OperatorType
|
||||
import org.nwapw.abacus.number.NumberInterface
|
||||
import org.nwapw.abacus.plugin.StandardPlugin.*
|
||||
import org.nwapw.abacus.plugin.standard.StandardPlugin.*
|
||||
|
||||
/**
|
||||
* The "N choose R" operator.
|
||||
|
|
|
@ -7,7 +7,7 @@ import org.nwapw.abacus.Abacus;
|
|||
import org.nwapw.abacus.config.Configuration;
|
||||
import org.nwapw.abacus.exception.DomainException;
|
||||
import org.nwapw.abacus.number.NumberInterface;
|
||||
import org.nwapw.abacus.plugin.StandardPlugin;
|
||||
import org.nwapw.abacus.plugin.standard.StandardPlugin;
|
||||
import org.nwapw.abacus.tree.TreeNode;
|
||||
|
||||
public class CalculationTests {
|
||||
|
|
|
@ -9,7 +9,7 @@ import org.nwapw.abacus.number.NaiveNumber;
|
|||
import org.nwapw.abacus.number.NumberInterface;
|
||||
import org.nwapw.abacus.number.NumberRange;
|
||||
import org.nwapw.abacus.number.PreciseNumber;
|
||||
import org.nwapw.abacus.plugin.StandardPlugin;
|
||||
import org.nwapw.abacus.plugin.standard.StandardPlugin;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.nwapw.abacus.number.*;
|
|||
import org.nwapw.abacus.plugin.ClassFinder;
|
||||
import org.nwapw.abacus.plugin.PluginListener;
|
||||
import org.nwapw.abacus.plugin.PluginManager;
|
||||
import org.nwapw.abacus.plugin.StandardPlugin;
|
||||
import org.nwapw.abacus.plugin.standard.StandardPlugin;
|
||||
import org.nwapw.abacus.tree.EvaluationResult;
|
||||
import org.nwapw.abacus.tree.TreeNode;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user