@@ -0,0 +1,2440 @@
+/* This file is part of SableCC ( http://sablecc.org ).%0A *%0A * See the NOTICE file distributed with this work for copyright information.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.sablecc.sablecc.core;%0A%0Aimport org.sablecc.exception.*;%0A%0Apublic abstract class LexerToken %7B%0A%0A    private final Grammar grammar;%0A%0A    LexerToken(%0A            Grammar grammar) %7B%0A%0A        if (grammar == null) %7B%0A            throw new InternalException(%22grammar may not be null%22);%0A        %7D%0A%0A        this.grammar = grammar;%0A    %7D%0A%0A    private static class ExpressionToken%0A            extends LexerToken %7B%0A%0A        private final LexerExpression lexerExpression;%0A%0A        ExpressionToken(%0A                LexerExpression lexerExpression,%0A                Grammar grammar) %7B%0A%0A            super(grammar);%0A%0A            if (lexerExpression == null) %7B%0A                throw new InternalException(%22lexerExpression may not be null%22);%0A            %7D%0A%0A            this.lexerExpression = lexerExpression;%0A        %7D%0A%0A    %7D%0A%0A    private static class SelectionToken%0A            extends LexerToken %7B%0A%0A        private final Selector.LexerSelector.Selection selection;%0A%0A        SelectionToken(%0A                Selector.LexerSelector.Selection selection,%0A                Grammar grammar) %7B%0A%0A            super(grammar);%0A%0A            if (selection == null) %7B%0A                throw new InternalException(%22selection may not be null%22);%0A            %7D%0A%0A            this.selection = selection;%0A        %7D%0A%0A    %7D%0A%0A    private static class ProductionToken%0A            extends LexerToken %7B%0A%0A        private final ParserProduction production;%0A%0A        ProductionToken(%0A                ParserProduction production,%0A                Grammar grammar) %7B%0A%0A            super(grammar);%0A%0A            if (production == null) %7B%0A                throw new InternalException(%22production may not be null%22);%0A            %7D%0A%0A            this.production = production;%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Add class for tokens.