From d0cffe75002501d44d720a895b43aa9d5e55a741 Mon Sep 17 00:00:00 2001 From: Mike Cifelli Date: Sat, 17 Mar 2018 09:52:53 -0400 Subject: [PATCH] Update code formatter --- .idea/codeStyles/Project.xml | 39 +++++++++++++++++++ src/main/application/LispMain.java | 1 - src/main/environment/RuntimeEnvironment.java | 1 - .../error/CriticalLineColumnException.java | 1 - src/main/error/CriticalLispException.java | 1 - src/main/error/ErrorManager.java | 4 -- src/main/error/LineColumnException.java | 1 - src/main/error/LispException.java | 1 - src/main/error/LispWarning.java | 1 - src/main/file/FilePosition.java | 1 - src/main/file/FilePositionTracker.java | 1 - src/main/function/ArgumentValidator.java | 1 - src/main/function/FunctionNames.java | 1 - src/main/function/LispFunction.java | 1 - src/main/function/LispSpecialFunction.java | 1 - src/main/function/UserDefinedFunction.java | 1 - src/main/function/UserDefinedMacro.java | 1 - .../function/UserDefinedSpecialFunction.java | 1 - src/main/function/builtin/APPLY.java | 1 - .../function/builtin/BackquoteEvaluator.java | 1 - src/main/function/builtin/EVAL.java | 1 - src/main/function/builtin/EXIT.java | 1 - src/main/function/builtin/FUNCALL.java | 1 - src/main/function/builtin/FUSE.java | 1 - src/main/function/builtin/GENSYM.java | 1 - src/main/function/builtin/LOAD.java | 1 - src/main/function/builtin/PRINT.java | 1 - src/main/function/builtin/SET.java | 1 - src/main/function/builtin/SYMBOLS.java | 1 - .../function/builtin/SYMBOL_FUNCTION.java | 1 - src/main/function/builtin/cons/CONS.java | 1 - src/main/function/builtin/cons/FIRST.java | 1 - src/main/function/builtin/cons/LENGTH.java | 1 - src/main/function/builtin/cons/LIST.java | 1 - src/main/function/builtin/cons/REST.java | 1 - src/main/function/builtin/math/DIVIDE.java | 1 - src/main/function/builtin/math/MINUS.java | 1 - src/main/function/builtin/math/MODULO.java | 1 - src/main/function/builtin/math/MULTIPLY.java | 1 - .../function/builtin/math/MathFunction.java | 1 - src/main/function/builtin/math/PLUS.java | 1 - src/main/function/builtin/math/REMAINDER.java | 1 - src/main/function/builtin/predicate/ATOM.java | 1 - src/main/function/builtin/predicate/EQ.java | 1 - .../function/builtin/predicate/EQUAL.java | 1 - .../builtin/predicate/GENSYM_EQUAL.java | 1 - .../function/builtin/predicate/LISTP.java | 1 - src/main/function/builtin/predicate/NULL.java | 1 - .../builtin/predicate/NUMERIC_EQUAL.java | 1 - .../builtin/predicate/NUMERIC_GREATER.java | 1 - .../builtin/predicate/NUMERIC_LESS.java | 1 - src/main/function/builtin/special/AND.java | 1 - src/main/function/builtin/special/CASE.java | 1 - src/main/function/builtin/special/COND.java | 1 - .../builtin/special/DEFINE_SPECIAL.java | 1 - .../function/builtin/special/DEFMACRO.java | 1 - src/main/function/builtin/special/DEFUN.java | 1 - src/main/function/builtin/special/Define.java | 1 - src/main/function/builtin/special/IF.java | 1 - src/main/function/builtin/special/LAMBDA.java | 1 - src/main/function/builtin/special/LET.java | 1 - .../function/builtin/special/LET_STAR.java | 1 - src/main/function/builtin/special/OR.java | 1 - src/main/function/builtin/special/PROGN.java | 1 - src/main/function/builtin/special/QUOTE.java | 1 - src/main/function/builtin/special/RECUR.java | 1 - src/main/function/builtin/special/SETQ.java | 1 - src/main/interpreter/FileLispInterpreter.java | 1 - .../InteractiveLispInterpreter.java | 1 - src/main/interpreter/LispInterpreter.java | 1 - .../interpreter/LispInterpreterBuilder.java | 1 - .../LispInterpreterBuilderImpl.java | 4 -- src/main/parser/LispParser.java | 1 - src/main/recursion/TailCall.java | 1 - src/main/recursion/TailCalls.java | 1 - .../LispCommentRemovingInputStream.java | 1 - src/main/scanner/LispInputStream.java | 1 - src/main/scanner/LispScanner.java | 1 - src/main/sexpression/AtSignExpression.java | 1 - src/main/sexpression/Atom.java | 1 - src/main/sexpression/BackquoteExpression.java | 1 - src/main/sexpression/CommaExpression.java | 1 - src/main/sexpression/Cons.java | 1 - src/main/sexpression/DisplayName.java | 1 - src/main/sexpression/LambdaExpression.java | 1 - src/main/sexpression/LispNumber.java | 1 - src/main/sexpression/LispString.java | 1 - src/main/sexpression/Nil.java | 1 - src/main/sexpression/SExpression.java | 1 - src/main/sexpression/Symbol.java | 1 - src/main/stream/SafeInputStream.java | 1 - src/main/stream/SafeOutputStream.java | 1 - src/main/stream/UncheckedIOException.java | 1 - src/main/table/FunctionTable.java | 1 - src/main/table/SymbolTable.java | 1 - src/main/terminal/ControlSequenceHandler.java | 1 - src/main/terminal/ControlSequenceLookup.java | 1 - src/main/terminal/LispTerminal.java | 7 ++-- src/main/terminal/SelectGraphicRendition.java | 5 --- src/main/terminal/TerminalConfiguration.java | 1 - src/main/terminal/TerminalHistory.java | 1 - src/main/token/AtSign.java | 1 - src/main/token/Backquote.java | 1 - src/main/token/Comma.java | 1 - src/main/token/Eof.java | 1 - src/main/token/Identifier.java | 1 - src/main/token/LeftParenthesis.java | 1 - src/main/token/Number.java | 1 - src/main/token/QuoteMark.java | 1 - src/main/token/QuotedString.java | 1 - src/main/token/RightParenthesis.java | 1 - src/main/token/Token.java | 1 - src/main/token/TokenFactory.java | 1 - src/main/token/TokenFactoryImpl.java | 39 +++++++++---------- src/main/util/Characters.java | 1 - src/main/util/Path.java | 1 - .../fixture/LispInterpreterFixture.java | 1 - src/test/application/MainTest.java | 5 +-- .../environment/RuntimeEnvironmentTest.java | 22 +++++++---- src/test/error/ErrorManagerTest.java | 1 - src/test/file/FilePositionTrackerTest.java | 1 - src/test/function/ArgumentValidatorTest.java | 1 - src/test/function/LispFunctionTest.java | 1 - .../function/LispSpecialFunctionTest.java | 1 - .../function/UserDefinedFunctionTest.java | 1 - .../builtin/BackquoteEvaluatorTest.java | 7 ++-- src/test/function/builtin/EVALTest.java | 16 +++++--- src/test/function/builtin/EXITTest.java | 1 - src/test/function/builtin/FUNCALLTest.java | 1 - src/test/function/builtin/GENSYMTest.java | 1 - src/test/function/builtin/LOADTest.java | 1 - src/test/function/builtin/PRINTTest.java | 1 - src/test/function/builtin/SETTest.java | 1 - .../function/builtin/SYMBOL_FUNCTIONTest.java | 1 - src/test/function/builtin/cons/CONSTest.java | 1 - src/test/function/builtin/cons/FIRSTTest.java | 1 - .../function/builtin/cons/LENGTHTest.java | 1 - src/test/function/builtin/cons/LISTTest.java | 1 - src/test/function/builtin/cons/RESTTest.java | 1 - .../function/builtin/math/DIVIDETest.java | 1 - src/test/function/builtin/math/MINUSTest.java | 1 - .../function/builtin/math/MULTIPLYTest.java | 1 - src/test/function/builtin/math/PLUSTest.java | 1 - .../function/builtin/predicate/ATOMTest.java | 1 - .../function/builtin/predicate/EQTest.java | 1 - .../function/builtin/predicate/EQUALTest.java | 1 - .../builtin/predicate/GENSYM_EQUALTest.java | 1 - .../function/builtin/predicate/LISTPTest.java | 1 - .../function/builtin/predicate/NULLTest.java | 1 - .../builtin/predicate/NUMERIC_EQUALTest.java | 1 - .../predicate/NUMERIC_GREATERTest.java | 1 - .../builtin/predicate/NUMERIC_LESSTest.java | 1 - .../function/builtin/special/ANDTest.java | 1 - .../function/builtin/special/CASETest.java | 1 - .../function/builtin/special/CONDTest.java | 1 - .../builtin/special/DEFINE_SPECIALTest.java | 1 - .../builtin/special/DEFMACROTest.java | 1 - .../function/builtin/special/DEFUNTest.java | 1 - src/test/function/builtin/special/IFTest.java | 1 - .../function/builtin/special/LAMBDATest.java | 1 - .../function/builtin/special/LETTest.java | 1 - .../builtin/special/LET_STARTest.java | 1 - src/test/function/builtin/special/ORTest.java | 1 - .../function/builtin/special/PROGNTest.java | 1 - .../function/builtin/special/QUOTETest.java | 1 - .../function/builtin/special/RECURTest.java | 10 +++-- .../function/builtin/special/SETQTest.java | 1 - src/test/interpreter/LispInterpreterTest.java | 1 - src/test/parser/LispParserTest.java | 4 +- src/test/recursion/TailCallTest.java | 1 - .../LispCommentRemovingInputStreamTest.java | 1 - .../scanner/LispScannerLineColumnTest.java | 1 - src/test/scanner/LispScannerTextTest.java | 1 - src/test/scanner/LispScannerTypeTest.java | 1 - src/test/sexpression/SExpressionTest.java | 1 - src/test/stream/SafeInputStreamTest.java | 1 - src/test/stream/SafeOutputStreamTest.java | 1 - src/test/table/ExecutionContextTest.java | 1 - src/test/table/FunctionTableTest.java | 1 - src/test/table/SymbolTableTest.java | 1 - .../terminal/ControlSequenceHandlerTest.java | 1 - src/test/terminal/ControlSequenceTest.java | 1 - src/test/terminal/FlushListener.java | 1 - src/test/terminal/LispTerminalTest.java | 1 - .../terminal/TerminalConfigurationTest.java | 1 - src/test/terminal/TerminalHistoryTest.java | 1 - .../terminal/VirtualTerminalInteractor.java | 13 ++++--- .../testutil/SymbolAndFunctionCleaner.java | 1 - src/test/testutil/TestUtilities.java | 1 - src/test/testutil/TypeAssertions.java | 1 - src/test/token/TokenFactoryTest.java | 1 - src/test/util/CharactersTest.java | 1 - src/test/util/PathTest.java | 1 - 193 files changed, 108 insertions(+), 247 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 431b78d..63e4c92 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -1,8 +1,47 @@ + + + +