From bd7df920fa843b7ca48dc97801bf8a5ae454c775 Mon Sep 17 00:00:00 2001 From: Mike Cifelli Date: Sat, 17 Mar 2018 10:02:52 -0400 Subject: [PATCH] Update import arrangement --- .idea/codeStyles/Project.xml | 13 ++++++++ src/main/application/LispMain.java | 25 +++++++-------- src/main/environment/RuntimeEnvironment.java | 4 +-- .../error/CriticalLineColumnException.java | 4 +-- src/main/error/CriticalLispException.java | 4 +-- src/main/error/ErrorManager.java | 8 ++--- src/main/error/LineColumnException.java | 4 +-- src/main/error/LispException.java | 4 +-- src/main/error/LispWarning.java | 4 +-- src/main/function/ArgumentValidator.java | 10 +++--- src/main/function/UserDefinedFunction.java | 14 ++++---- src/main/function/builtin/APPLY.java | 8 ++--- .../function/builtin/BackquoteEvaluator.java | 6 ++-- src/main/function/builtin/EVAL.java | 16 +++++----- src/main/function/builtin/EXIT.java | 4 +-- src/main/function/builtin/FUNCALL.java | 6 ++-- src/main/function/builtin/GENSYM.java | 4 +-- src/main/function/builtin/LOAD.java | 20 ++++++------ src/main/function/builtin/SET.java | 4 +-- .../function/builtin/SYMBOL_FUNCTION.java | 6 ++-- src/main/function/builtin/cons/APPEND.java | 6 ++-- src/main/function/builtin/cons/LENGTH.java | 14 ++++---- src/main/function/builtin/cons/LIST.java | 4 +-- src/main/function/builtin/math/DIVIDE.java | 4 +-- src/main/function/builtin/math/MINUS.java | 4 +-- src/main/function/builtin/math/MULTIPLY.java | 4 +-- .../function/builtin/math/MathFunction.java | 12 +++---- src/main/function/builtin/math/PLUS.java | 4 +-- src/main/function/builtin/predicate/ATOM.java | 6 ++-- src/main/function/builtin/predicate/EQ.java | 6 ++-- .../function/builtin/predicate/EQUAL.java | 6 ++-- .../builtin/predicate/GENSYM_EQUAL.java | 16 +++++----- .../function/builtin/predicate/LISTP.java | 6 ++-- src/main/function/builtin/predicate/NULL.java | 6 ++-- .../builtin/predicate/NUMERIC_EQUAL.java | 10 +++--- .../builtin/predicate/NUMERIC_GREATER.java | 10 +++--- .../builtin/predicate/NUMERIC_LESS.java | 10 +++--- src/main/function/builtin/special/AND.java | 10 +++--- src/main/function/builtin/special/CASE.java | 14 ++++---- src/main/function/builtin/special/COND.java | 10 +++--- src/main/function/builtin/special/Define.java | 10 +++--- src/main/function/builtin/special/IF.java | 4 +-- src/main/function/builtin/special/LAMBDA.java | 4 +-- src/main/function/builtin/special/LET.java | 6 ++-- src/main/function/builtin/special/OR.java | 8 ++--- src/main/function/builtin/special/PROGN.java | 10 +++--- src/main/function/builtin/special/RECUR.java | 4 +-- src/main/function/builtin/special/SETQ.java | 8 ++--- src/main/interpreter/LispInterpreter.java | 10 +++--- .../LispInterpreterBuilderImpl.java | 10 +++--- src/main/parser/LispParser.java | 4 +-- src/main/recursion/TailCall.java | 4 --- .../LispCommentRemovingInputStream.java | 8 ++--- src/main/scanner/LispScanner.java | 22 ++++++------- src/main/sexpression/Cons.java | 4 +-- src/main/sexpression/LispNumber.java | 4 +-- src/main/stream/SafeInputStream.java | 4 +-- src/main/stream/UncheckedIOException.java | 4 +-- src/main/table/ExecutionContext.java | 8 ++--- src/main/table/FunctionTable.java | 14 ++++---- src/main/table/SymbolTable.java | 12 +++---- src/main/terminal/ControlSequenceHandler.java | 4 +-- src/main/terminal/ControlSequenceLookup.java | 4 +-- src/main/terminal/LispTerminal.java | 25 +++++++-------- src/main/terminal/TerminalConfiguration.java | 7 ++-- src/main/token/AtSign.java | 4 +-- src/main/token/Backquote.java | 4 +-- src/main/token/Comma.java | 4 +-- src/main/token/Eof.java | 4 +-- src/main/token/Identifier.java | 4 +-- src/main/token/LeftParenthesis.java | 4 +-- src/main/token/Number.java | 4 +-- src/main/token/QuoteMark.java | 8 ++--- src/main/token/QuotedString.java | 4 +-- src/main/token/RightParenthesis.java | 10 +++--- src/main/token/Token.java | 10 +++--- src/main/token/TokenFactory.java | 4 +-- src/main/token/TokenFactoryImpl.java | 4 +-- src/test/acceptance/AcceptanceTest.java | 3 +- .../fixture/LispInterpreterFixture.java | 16 +++++----- src/test/application/MainTest.java | 32 +++++++++---------- .../environment/RuntimeEnvironmentTest.java | 17 +++++----- src/test/error/ErrorManagerTest.java | 21 ++++++------ src/test/file/FilePositionTrackerTest.java | 8 ++--- src/test/function/ArgumentValidatorTest.java | 25 +++++++-------- src/test/function/LispFunctionTest.java | 5 ++- .../function/LispSpecialFunctionTest.java | 5 ++- .../function/UserDefinedFunctionTest.java | 21 ++++++------ src/test/function/builtin/APPLYTest.java | 13 ++++---- .../builtin/BackquoteEvaluatorTest.java | 15 ++++----- src/test/function/builtin/EVALTest.java | 21 ++++++------ src/test/function/builtin/EXITTest.java | 15 ++++----- src/test/function/builtin/FUNCALLTest.java | 9 +++--- src/test/function/builtin/GENSYMTest.java | 11 +++---- src/test/function/builtin/LOADTest.java | 19 ++++++----- src/test/function/builtin/PRINTTest.java | 17 +++++----- src/test/function/builtin/SETTest.java | 11 +++---- src/test/function/builtin/SYMBOLSTest.java | 9 +++--- .../function/builtin/SYMBOL_FUNCTIONTest.java | 15 ++++----- .../function/builtin/cons/APPENDTest.java | 11 +++---- src/test/function/builtin/cons/CONSTest.java | 15 ++++----- src/test/function/builtin/cons/FIRSTTest.java | 11 +++---- .../function/builtin/cons/LENGTHTest.java | 11 +++---- src/test/function/builtin/cons/LISTTest.java | 7 ++-- src/test/function/builtin/cons/RESTTest.java | 11 +++---- .../function/builtin/math/DIVIDETest.java | 13 ++++---- src/test/function/builtin/math/MINUSTest.java | 9 +++--- .../function/builtin/math/MODULOTest.java | 11 +++---- .../function/builtin/math/MULTIPLYTest.java | 11 +++---- src/test/function/builtin/math/PLUSTest.java | 11 +++---- .../function/builtin/math/REMAINDERTest.java | 9 +++--- .../function/builtin/predicate/ATOMTest.java | 11 +++---- .../function/builtin/predicate/EQTest.java | 11 +++---- .../function/builtin/predicate/EQUALTest.java | 11 +++---- .../builtin/predicate/GENSYM_EQUALTest.java | 11 +++---- .../function/builtin/predicate/LISTPTest.java | 11 +++---- .../function/builtin/predicate/NULLTest.java | 11 +++---- .../builtin/predicate/NUMERIC_EQUALTest.java | 11 +++---- .../predicate/NUMERIC_GREATERTest.java | 11 +++---- .../builtin/predicate/NUMERIC_LESSTest.java | 11 +++---- .../function/builtin/special/ANDTest.java | 11 +++---- .../function/builtin/special/CASETest.java | 11 +++---- .../function/builtin/special/CONDTest.java | 11 +++---- .../builtin/special/DEFINE_SPECIALTest.java | 19 ++++++----- .../builtin/special/DEFMACROTest.java | 19 ++++++----- .../function/builtin/special/DEFUNTest.java | 19 ++++++----- .../function/builtin/special/FUSETest.java | 9 +++--- src/test/function/builtin/special/IFTest.java | 11 +++---- .../function/builtin/special/LAMBDATest.java | 23 +++++++------ .../function/builtin/special/LETTest.java | 11 +++---- .../builtin/special/LET_STARTest.java | 11 +++---- src/test/function/builtin/special/ORTest.java | 11 +++---- .../function/builtin/special/PROGNTest.java | 7 ++-- .../function/builtin/special/QUOTETest.java | 11 +++---- .../function/builtin/special/RECURTest.java | 15 ++++----- .../function/builtin/special/SETQTest.java | 11 +++---- src/test/interpreter/LispInterpreterTest.java | 23 +++++++------ src/test/parser/LispParserTest.java | 21 ++++++------ src/test/recursion/TailCallTest.java | 4 +-- .../LispCommentRemovingInputStreamTest.java | 13 ++++---- .../scanner/LispScannerLineColumnTest.java | 11 +++---- src/test/scanner/LispScannerTextTest.java | 9 +++--- src/test/scanner/LispScannerTypeTest.java | 21 ++++++------ src/test/sexpression/SExpressionTest.java | 15 ++++----- src/test/stream/SafeInputStreamTest.java | 6 ++-- src/test/stream/SafeOutputStreamTest.java | 10 +++--- src/test/table/ExecutionContextTest.java | 8 ++--- src/test/table/FunctionTableTest.java | 27 ++++++++-------- src/test/table/SymbolTableTest.java | 6 ++-- .../terminal/ControlSequenceHandlerTest.java | 15 ++++----- src/test/terminal/ControlSequenceTest.java | 22 ++++++------- src/test/terminal/LispTerminalTest.java | 8 ++--- .../terminal/TerminalConfigurationTest.java | 9 +++--- src/test/terminal/TerminalHistoryTest.java | 6 ++-- .../terminal/VirtualTerminalInteractor.java | 19 ++++++----- .../testutil/SymbolAndFunctionCleaner.java | 5 ++- src/test/testutil/TestUtilities.java | 22 ++++++------- src/test/testutil/TypeAssertions.java | 4 +-- src/test/token/TokenFactoryTest.java | 13 ++++---- src/test/util/CharactersTest.java | 6 ++-- src/test/util/PathTest.java | 6 ++-- 161 files changed, 795 insertions(+), 861 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 63e4c92..a2d49a1 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -4,6 +4,19 @@