diff --git a/src/parser/LispParser.java b/src/parser/LispParser.java index e28ff58..803245c 100644 --- a/src/parser/LispParser.java +++ b/src/parser/LispParser.java @@ -5,8 +5,7 @@ import java.io.InputStream; import error.LispException; import scanner.LispScanner; import sexpression.SExpression; -import token.Eof; -import token.Token; +import token.*; /** * Converts a stream of bytes into internal representations of Lisp s-expressions. diff --git a/src/scanner/LispCommentRemovingInputStream.java b/src/scanner/LispCommentRemovingInputStream.java index 129071d..6340e72 100644 --- a/src/scanner/LispCommentRemovingInputStream.java +++ b/src/scanner/LispCommentRemovingInputStream.java @@ -2,8 +2,7 @@ package scanner; import static util.Characters.*; -import java.io.IOException; -import java.io.InputStream; +import java.io.*; /** * Removes Lisp comments from an input stream. diff --git a/src/scanner/LispInputStream.java b/src/scanner/LispInputStream.java index 5f97669..76da488 100644 --- a/src/scanner/LispInputStream.java +++ b/src/scanner/LispInputStream.java @@ -2,8 +2,7 @@ package scanner; import java.io.IOException; -import error.ErrorManager; -import error.LispException; +import error.*; public interface LispInputStream { diff --git a/src/scanner/LispScanner.java b/src/scanner/LispScanner.java index cc23df6..1b0c899 100644 --- a/src/scanner/LispScanner.java +++ b/src/scanner/LispScanner.java @@ -6,8 +6,7 @@ import java.io.InputStream; import java.util.function.Function; import error.LineColumnException; -import file.FilePosition; -import file.FilePositionTracker; +import file.*; import token.*; import util.Characters; diff --git a/src/token/Identifier.java b/src/token/Identifier.java index f425de4..ae91077 100644 --- a/src/token/Identifier.java +++ b/src/token/Identifier.java @@ -3,8 +3,7 @@ package token; import java.util.function.Supplier; import file.FilePosition; -import sexpression.SExpression; -import sexpression.Symbol; +import sexpression.*; public class Identifier extends Token { diff --git a/src/token/Number.java b/src/token/Number.java index dad0d82..3abc7ad 100644 --- a/src/token/Number.java +++ b/src/token/Number.java @@ -3,8 +3,7 @@ package token; import java.util.function.Supplier; import file.FilePosition; -import sexpression.LispNumber; -import sexpression.SExpression; +import sexpression.*; public class Number extends Token { diff --git a/src/token/QuotedString.java b/src/token/QuotedString.java index 22b08b9..76b5b91 100644 --- a/src/token/QuotedString.java +++ b/src/token/QuotedString.java @@ -3,8 +3,7 @@ package token; import java.util.function.Supplier; import file.FilePosition; -import sexpression.LispString; -import sexpression.SExpression; +import sexpression.*; public class QuotedString extends Token { diff --git a/src/token/RightParenthesis.java b/src/token/RightParenthesis.java index f00b622..f94db7e 100644 --- a/src/token/RightParenthesis.java +++ b/src/token/RightParenthesis.java @@ -4,8 +4,7 @@ import java.util.function.Supplier; import error.LineColumnException; import file.FilePosition; -import sexpression.Nil; -import sexpression.SExpression; +import sexpression.*; public class RightParenthesis extends Token { diff --git a/src/token/Token.java b/src/token/Token.java index ad28073..5a211e3 100644 --- a/src/token/Token.java +++ b/src/token/Token.java @@ -3,8 +3,7 @@ package token; import java.util.function.Supplier; import file.FilePosition; -import sexpression.Cons; -import sexpression.SExpression; +import sexpression.*; /** * A token in Lisp.