Cleaned up some import statements
This commit is contained in:
parent
c4531b25e2
commit
715de2f220
|
@ -5,8 +5,7 @@ import java.io.InputStream;
|
||||||
import error.LispException;
|
import error.LispException;
|
||||||
import scanner.LispScanner;
|
import scanner.LispScanner;
|
||||||
import sexpression.SExpression;
|
import sexpression.SExpression;
|
||||||
import token.Eof;
|
import token.*;
|
||||||
import token.Token;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a stream of bytes into internal representations of Lisp s-expressions.
|
* Converts a stream of bytes into internal representations of Lisp s-expressions.
|
||||||
|
|
|
@ -2,8 +2,7 @@ package scanner;
|
||||||
|
|
||||||
import static util.Characters.*;
|
import static util.Characters.*;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.*;
|
||||||
import java.io.InputStream;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes Lisp comments from an input stream.
|
* Removes Lisp comments from an input stream.
|
||||||
|
|
|
@ -2,8 +2,7 @@ package scanner;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
import error.ErrorManager;
|
import error.*;
|
||||||
import error.LispException;
|
|
||||||
|
|
||||||
public interface LispInputStream {
|
public interface LispInputStream {
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,7 @@ import java.io.InputStream;
|
||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
|
|
||||||
import error.LineColumnException;
|
import error.LineColumnException;
|
||||||
import file.FilePosition;
|
import file.*;
|
||||||
import file.FilePositionTracker;
|
|
||||||
import token.*;
|
import token.*;
|
||||||
import util.Characters;
|
import util.Characters;
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,7 @@ package token;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
import file.FilePosition;
|
import file.FilePosition;
|
||||||
import sexpression.SExpression;
|
import sexpression.*;
|
||||||
import sexpression.Symbol;
|
|
||||||
|
|
||||||
public class Identifier extends Token {
|
public class Identifier extends Token {
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,7 @@ package token;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
import file.FilePosition;
|
import file.FilePosition;
|
||||||
import sexpression.LispNumber;
|
import sexpression.*;
|
||||||
import sexpression.SExpression;
|
|
||||||
|
|
||||||
public class Number extends Token {
|
public class Number extends Token {
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,7 @@ package token;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
import file.FilePosition;
|
import file.FilePosition;
|
||||||
import sexpression.LispString;
|
import sexpression.*;
|
||||||
import sexpression.SExpression;
|
|
||||||
|
|
||||||
public class QuotedString extends Token {
|
public class QuotedString extends Token {
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,7 @@ import java.util.function.Supplier;
|
||||||
|
|
||||||
import error.LineColumnException;
|
import error.LineColumnException;
|
||||||
import file.FilePosition;
|
import file.FilePosition;
|
||||||
import sexpression.Nil;
|
import sexpression.*;
|
||||||
import sexpression.SExpression;
|
|
||||||
|
|
||||||
public class RightParenthesis extends Token {
|
public class RightParenthesis extends Token {
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,7 @@ package token;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
import file.FilePosition;
|
import file.FilePosition;
|
||||||
import sexpression.Cons;
|
import sexpression.*;
|
||||||
import sexpression.SExpression;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A token in Lisp.
|
* A token in Lisp.
|
||||||
|
|
Loading…
Reference in New Issue