// Path: src/main/java/amailp/intellij/robot/elements/RobotTokenTypes.java
// public interface RobotTokenTypes {
// 
// 
//     final IElementType BadCharacter = TokenType.BAD_CHARACTER;
// 
//     final IElementType LineTerminator = new RobotIElementType("LineTerminator");
// 
//     final IElementType SettingsHeader = new RobotIElementType("SettingsHeader");
//     final IElementType TestCasesHeader = new RobotIElementType("TestCasesHeader");
//     final IElementType KeywordsHeader = new RobotIElementType("KeywordsHeader");
//     final IElementType VariablesHeader = new RobotIElementType("VariablesHeader");
//     final IElementType TasksHeader = new RobotIElementType("TasksHeader");
// 
//     final IElementType Ellipsis = new RobotIElementType("Ellipsis");
//     final IElementType ScalarVariable = new RobotIElementType("ScalarVariable");
//     final IElementType ListVariable = new RobotIElementType("ListVariable");
//     final IElementType DictionaryVariable = new RobotIElementType("DictionaryVariable");
//     final IElementType EnvironmentVariable = new RobotIElementType("EnvironmentVariable");
//     final IElementType TestCaseSetting = new RobotIElementType("TestCaseSetting");
//     final IElementType Word = new RobotIElementType("Word");
//     final IElementType Space = new RobotIElementType("Space");
//     final IElementType Separator = new RobotIElementType("Separator");
//     final IElementType IrrelevantSpaces = new RobotIElementType("IrrelevantSpaces");
//     final IElementType BlankLine = new RobotIElementType("BlankLine");
//     final IElementType Comment = new RobotIElementType("Comment");
//     final IElementType WithName = new RobotIElementType("LibraryAliasSeparator");
// 
//     final TokenSet WhitespacesTokens = TokenSet.create(IrrelevantSpaces, BlankLine);
//     final TokenSet CommentsTokens = TokenSet.create(Comment);
//     final TokenSet StringLiteralElements = TokenSet.EMPTY;
//     final TokenSet HeaderTokens = TokenSet.create(SettingsHeader, TestCasesHeader, KeywordsHeader, VariablesHeader, TasksHeader);
// }


import amailp.intellij.robot.elements.RobotTokenTypes;
import amailp.intellij.robot.lang.RobotLanguage;
import amailp.intellij.robot.lexer.RobotLexer;
import amailp.intellij.robot.parser.PsiElementBuilder;
import amailp.intellij.robot.parser.RobotParser$;
import amailp.intellij.robot.psi.RobotPsiFile;
import com.intellij.lang.ASTNode;
import com.intellij.lang.PsiParser;
import com.intellij.lexer.Lexer;
import com.intellij.openapi.project.Project;
import com.intellij.psi.FileViewProvider;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import com.intellij.psi.tree.IFileElementType;
import com.intellij.psi.tree.TokenSet;
import org.jetbrains.annotations.NotNull;
package amailp.intellij.robot.extensions;


public class ParserDefinition implements com.intellij.lang.ParserDefinition {

    @Override
    @NotNull
    public Lexer createLexer(Project project) {
        return new RobotLexer();
    }

    @Override
    @NotNull
    public TokenSet getWhitespaceTokens() {
// Path: src/main/java/amailp/intellij/robot/elements/RobotTokenTypes.java
// public interface RobotTokenTypes {
// 
// 
//     final IElementType BadCharacter = TokenType.BAD_CHARACTER;
// 
//     final IElementType LineTerminator = new RobotIElementType("LineTerminator");
// 
//     final IElementType SettingsHeader = new RobotIElementType("SettingsHeader");
//     final IElementType TestCasesHeader = new RobotIElementType("TestCasesHeader");
//     final IElementType KeywordsHeader = new RobotIElementType("KeywordsHeader");
//     final IElementType VariablesHeader = new RobotIElementType("VariablesHeader");
//     final IElementType TasksHeader = new RobotIElementType("TasksHeader");
// 
//     final IElementType Ellipsis = new RobotIElementType("Ellipsis");
//     final IElementType ScalarVariable = new RobotIElementType("ScalarVariable");
//     final IElementType ListVariable = new RobotIElementType("ListVariable");
//     final IElementType DictionaryVariable = new RobotIElementType("DictionaryVariable");
//     final IElementType EnvironmentVariable = new RobotIElementType("EnvironmentVariable");
//     final IElementType TestCaseSetting = new RobotIElementType("TestCaseSetting");
//     final IElementType Word = new RobotIElementType("Word");
//     final IElementType Space = new RobotIElementType("Space");
//     final IElementType Separator = new RobotIElementType("Separator");
//     final IElementType IrrelevantSpaces = new RobotIElementType("IrrelevantSpaces");
//     final IElementType BlankLine = new RobotIElementType("BlankLine");
//     final IElementType Comment = new RobotIElementType("Comment");
//     final IElementType WithName = new RobotIElementType("LibraryAliasSeparator");
// 
//     final TokenSet WhitespacesTokens = TokenSet.create(IrrelevantSpaces, BlankLine);
//     final TokenSet CommentsTokens = TokenSet.create(Comment);
//     final TokenSet StringLiteralElements = TokenSet.EMPTY;
//     final TokenSet HeaderTokens = TokenSet.create(SettingsHeader, TestCasesHeader, KeywordsHeader, VariablesHeader, TasksHeader);
// }


// Path: src/main/java/amailp/intellij/robot/extensions/ParserDefinition.java
import amailp.intellij.robot.elements.RobotTokenTypes;
import amailp.intellij.robot.lang.RobotLanguage;
import amailp.intellij.robot.lexer.RobotLexer;
import amailp.intellij.robot.parser.PsiElementBuilder;
import amailp.intellij.robot.parser.RobotParser$;
import amailp.intellij.robot.psi.RobotPsiFile;
import com.intellij.lang.ASTNode;
import com.intellij.lang.PsiParser;
import com.intellij.lexer.Lexer;
import com.intellij.openapi.project.Project;
import com.intellij.psi.FileViewProvider;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import com.intellij.psi.tree.IFileElementType;
import com.intellij.psi.tree.TokenSet;
import org.jetbrains.annotations.NotNull;

package amailp.intellij.robot.extensions;


public class ParserDefinition implements com.intellij.lang.ParserDefinition {

    @Override
    @NotNull
    public Lexer createLexer(Project project) {
        return new RobotLexer();
    }

    @Override
    @NotNull
    public TokenSet getWhitespaceTokens() {
        return RobotTokenTypes.WhitespacesTokens;