mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JFlex: regen all lexers
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* The following code was generated by JFlex 1.4.3 on 10/20/15 5:14 PM */
|
||||
/* The following code was generated by JFlex 1.7.0-SNAPSHOT tweaked for IntelliJ platform */
|
||||
|
||||
package com.jetbrains.commandInterface.commandLine;
|
||||
import com.intellij.lexer.*;
|
||||
@@ -8,11 +8,14 @@ import static com.jetbrains.commandInterface.commandLine.CommandLineElementTypes
|
||||
|
||||
/**
|
||||
* This class is a scanner generated by
|
||||
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
|
||||
* on 10/20/15 5:14 PM from the specification file
|
||||
* <tt>/Users/liana/IdeaProjects/ultimate/community/python/gen/com/jetbrains/commandInterface/commandLine/_CommandLineLexer.flex</tt>
|
||||
* <a href="http://www.jflex.de/">JFlex</a> 1.7.0-SNAPSHOT
|
||||
* from the specification file <tt>_CommandLineLexer.flex</tt>
|
||||
*/
|
||||
public class _CommandLineLexer implements FlexLexer {
|
||||
|
||||
/** This character denotes the end of file */
|
||||
public static final int YYEOF = -1;
|
||||
|
||||
/** initial size of the lookahead buffer */
|
||||
private static final int ZZ_BUFFERSIZE = 16384;
|
||||
|
||||
@@ -38,33 +41,33 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
"\2\0\1\3\1\0\32\4\3\0\1\12\53\0\1\2\12\0\1\2"+
|
||||
"\4\0\1\2\5\0\27\2\1\0\37\2\1\0\u01ca\2\4\0\14\2"+
|
||||
"\16\0\5\2\7\0\1\2\1\0\1\2\201\0\5\2\1\0\2\2"+
|
||||
"\2\0\4\2\10\0\1\2\1\0\3\2\1\0\1\2\1\0\24\2"+
|
||||
"\1\0\123\2\1\0\213\2\10\0\236\2\11\0\46\2\2\0\1\2"+
|
||||
"\7\0\47\2\110\0\33\2\5\0\3\2\55\0\53\2\25\0\12\10"+
|
||||
"\4\0\2\2\1\0\143\2\1\0\1\2\17\0\2\2\7\0\2\2"+
|
||||
"\12\10\3\2\2\0\1\2\20\0\1\2\1\0\36\2\35\0\131\2"+
|
||||
"\13\0\1\2\16\0\12\10\41\2\11\0\2\2\4\0\1\2\5\0"+
|
||||
"\26\2\4\0\1\2\11\0\1\2\3\0\1\2\27\0\31\2\107\0"+
|
||||
"\1\2\1\0\13\2\127\0\66\2\3\0\1\2\22\0\1\2\7\0"+
|
||||
"\12\2\4\0\12\10\1\0\7\2\1\0\7\2\5\0\10\2\2\0"+
|
||||
"\2\2\2\0\26\2\1\0\7\2\1\0\1\2\3\0\4\2\3\0"+
|
||||
"\1\2\20\0\1\2\15\0\2\2\1\0\3\2\4\0\12\10\2\2"+
|
||||
"\23\0\6\2\4\0\2\2\2\0\26\2\1\0\7\2\1\0\2\2"+
|
||||
"\1\0\2\2\1\0\2\2\37\0\4\2\1\0\1\2\7\0\12\10"+
|
||||
"\2\0\3\2\20\0\11\2\1\0\3\2\1\0\26\2\1\0\7\2"+
|
||||
"\1\0\2\2\1\0\5\2\3\0\1\2\22\0\1\2\17\0\2\2"+
|
||||
"\4\0\12\10\25\0\10\2\2\0\2\2\2\0\26\2\1\0\7\2"+
|
||||
"\2\0\4\2\1\0\1\2\6\0\1\2\1\0\3\2\1\0\1\2"+
|
||||
"\1\0\24\2\1\0\123\2\1\0\213\2\10\0\246\2\1\0\46\2"+
|
||||
"\2\0\1\2\7\0\47\2\110\0\33\2\5\0\3\2\55\0\53\2"+
|
||||
"\25\0\12\10\4\0\2\2\1\0\143\2\1\0\1\2\17\0\2\2"+
|
||||
"\7\0\2\2\12\10\3\2\2\0\1\2\20\0\1\2\1\0\36\2"+
|
||||
"\35\0\131\2\13\0\1\2\16\0\12\10\41\2\11\0\2\2\4\0"+
|
||||
"\1\2\5\0\26\2\4\0\1\2\11\0\1\2\3\0\1\2\27\0"+
|
||||
"\31\2\107\0\25\2\117\0\66\2\3\0\1\2\22\0\1\2\7\0"+
|
||||
"\12\2\4\0\12\10\1\0\20\2\4\0\10\2\2\0\2\2\2\0"+
|
||||
"\26\2\1\0\7\2\1\0\1\2\3\0\4\2\3\0\1\2\20\0"+
|
||||
"\1\2\15\0\2\2\1\0\3\2\4\0\12\10\2\2\23\0\6\2"+
|
||||
"\4\0\2\2\2\0\26\2\1\0\7\2\1\0\2\2\1\0\2\2"+
|
||||
"\1\0\2\2\37\0\4\2\1\0\1\2\7\0\12\10\2\0\3\2"+
|
||||
"\20\0\11\2\1\0\3\2\1\0\26\2\1\0\7\2\1\0\2\2"+
|
||||
"\1\0\5\2\3\0\1\2\22\0\1\2\17\0\2\2\4\0\12\10"+
|
||||
"\11\0\1\2\13\0\10\2\2\0\2\2\2\0\26\2\1\0\7\2"+
|
||||
"\1\0\2\2\1\0\5\2\3\0\1\2\36\0\2\2\1\0\3\2"+
|
||||
"\4\0\12\10\1\0\1\2\21\0\1\2\1\0\6\2\3\0\3\2"+
|
||||
"\1\0\4\2\3\0\2\2\1\0\1\2\1\0\2\2\3\0\2\2"+
|
||||
"\3\0\3\2\3\0\14\2\26\0\1\2\25\0\12\10\25\0\10\2"+
|
||||
"\1\0\3\2\1\0\27\2\1\0\12\2\1\0\5\2\3\0\1\2"+
|
||||
"\32\0\2\2\6\0\2\2\4\0\12\10\25\0\10\2\1\0\3\2"+
|
||||
"\1\0\27\2\1\0\12\2\1\0\5\2\3\0\1\2\40\0\1\2"+
|
||||
"\1\0\2\2\4\0\12\10\1\0\2\2\22\0\10\2\1\0\3\2"+
|
||||
"\1\0\51\2\2\0\1\2\20\0\1\2\21\0\2\2\4\0\12\10"+
|
||||
"\12\0\6\2\5\0\22\2\3\0\30\2\1\0\11\2\1\0\1\2"+
|
||||
"\2\0\7\2\72\0\60\2\1\0\2\2\14\0\7\2\11\0\12\10"+
|
||||
"\1\0\3\2\1\0\27\2\1\0\20\2\3\0\1\2\32\0\3\2"+
|
||||
"\5\0\2\2\4\0\12\10\25\0\10\2\1\0\3\2\1\0\27\2"+
|
||||
"\1\0\12\2\1\0\5\2\3\0\1\2\40\0\1\2\1\0\2\2"+
|
||||
"\4\0\12\10\1\0\2\2\22\0\10\2\1\0\3\2\1\0\51\2"+
|
||||
"\2\0\1\2\20\0\1\2\20\0\3\2\4\0\12\10\12\0\6\2"+
|
||||
"\5\0\22\2\3\0\30\2\1\0\11\2\1\0\1\2\2\0\7\2"+
|
||||
"\37\0\12\10\21\0\60\2\1\0\2\2\14\0\7\2\11\0\12\10"+
|
||||
"\47\0\2\2\1\0\1\2\2\0\2\2\1\0\1\2\2\0\1\2"+
|
||||
"\6\0\4\2\1\0\7\2\1\0\3\2\1\0\1\2\1\0\1\2"+
|
||||
"\2\0\2\2\1\0\4\2\1\0\2\2\11\0\1\2\2\0\5\2"+
|
||||
@@ -76,45 +79,85 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
"\7\2\1\0\1\2\1\0\4\2\2\0\51\2\1\0\4\2\2\0"+
|
||||
"\41\2\1\0\4\2\2\0\7\2\1\0\1\2\1\0\4\2\2\0"+
|
||||
"\17\2\1\0\71\2\1\0\4\2\2\0\103\2\45\0\20\2\20\0"+
|
||||
"\125\2\14\0\u026c\2\2\0\21\2\1\0\32\2\5\0\113\2\25\0"+
|
||||
"\15\2\1\0\4\2\16\0\22\2\16\0\22\2\16\0\15\2\1\0"+
|
||||
"\3\2\17\0\64\2\43\0\1\2\4\0\1\2\3\0\12\10\46\0"+
|
||||
"\12\10\6\0\130\2\10\0\51\2\1\0\1\2\5\0\106\2\12\0"+
|
||||
"\35\2\51\0\12\10\36\2\2\0\5\2\13\0\54\2\25\0\7\2"+
|
||||
"\10\0\12\10\46\0\27\2\11\0\65\2\53\0\12\10\6\0\12\10"+
|
||||
"\15\0\1\2\135\0\57\2\21\0\7\2\4\0\12\10\51\0\36\2"+
|
||||
"\15\0\2\2\12\10\54\2\32\0\44\2\34\0\12\10\3\0\3\2"+
|
||||
"\12\10\44\2\153\0\4\2\1\0\4\2\3\0\2\2\11\0\300\2"+
|
||||
"\100\0\u0116\2\2\0\6\2\2\0\46\2\2\0\6\2\2\0\10\2"+
|
||||
"\1\0\1\2\1\0\1\2\1\0\1\2\1\0\37\2\2\0\65\2"+
|
||||
"\1\0\7\2\1\0\1\2\3\0\3\2\1\0\7\2\3\0\4\2"+
|
||||
"\2\0\6\2\4\0\15\2\5\0\3\2\1\0\7\2\164\0\1\2"+
|
||||
"\15\0\1\2\20\0\15\2\145\0\1\2\4\0\1\2\2\0\12\2"+
|
||||
"\1\0\1\2\3\0\5\2\6\0\1\2\1\0\1\2\1\0\1\2"+
|
||||
"\1\0\4\2\1\0\13\2\2\0\4\2\5\0\5\2\4\0\1\2"+
|
||||
"\64\0\2\2\u0a7b\0\57\2\1\0\57\2\1\0\205\2\6\0\4\2"+
|
||||
"\3\0\2\2\14\0\46\2\1\0\1\2\5\0\1\2\2\0\70\2"+
|
||||
"\7\0\1\2\20\0\27\2\11\0\7\2\1\0\7\2\1\0\7\2"+
|
||||
"\126\2\2\0\6\2\3\0\u026c\2\2\0\21\2\1\0\32\2\5\0"+
|
||||
"\113\2\6\0\10\2\7\0\15\2\1\0\4\2\16\0\22\2\16\0"+
|
||||
"\22\2\16\0\15\2\1\0\3\2\17\0\64\2\43\0\1\2\4\0"+
|
||||
"\1\2\3\0\12\10\46\0\12\10\6\0\130\2\10\0\51\2\1\0"+
|
||||
"\1\2\5\0\106\2\12\0\37\2\47\0\12\10\36\2\2\0\5\2"+
|
||||
"\13\0\54\2\4\0\32\2\6\0\12\10\46\0\27\2\11\0\65\2"+
|
||||
"\53\0\12\10\6\0\12\10\15\0\1\2\135\0\57\2\21\0\7\2"+
|
||||
"\4\0\12\10\51\0\36\2\15\0\2\2\12\10\54\2\32\0\44\2"+
|
||||
"\34\0\12\10\3\0\3\2\12\10\44\2\153\0\4\2\1\0\4\2"+
|
||||
"\3\0\2\2\11\0\300\2\100\0\u0116\2\2\0\6\2\2\0\46\2"+
|
||||
"\2\0\6\2\2\0\10\2\1\0\1\2\1\0\1\2\1\0\1\2"+
|
||||
"\1\0\37\2\2\0\65\2\1\0\7\2\1\0\1\2\3\0\3\2"+
|
||||
"\1\0\7\2\3\0\4\2\2\0\6\2\4\0\15\2\5\0\3\2"+
|
||||
"\1\0\7\2\164\0\1\2\15\0\1\2\20\0\15\2\145\0\1\2"+
|
||||
"\4\0\1\2\2\0\12\2\1\0\1\2\3\0\5\2\6\0\1\2"+
|
||||
"\1\0\1\2\1\0\1\2\1\0\4\2\1\0\13\2\2\0\4\2"+
|
||||
"\5\0\5\2\4\0\1\2\64\0\2\2\u0a7b\0\57\2\1\0\57\2"+
|
||||
"\1\0\205\2\6\0\4\2\3\0\2\2\14\0\46\2\1\0\1\2"+
|
||||
"\5\0\1\2\2\0\70\2\7\0\1\2\20\0\27\2\11\0\7\2"+
|
||||
"\1\0\7\2\1\0\7\2\1\0\7\2\1\0\7\2\1\0\7\2"+
|
||||
"\120\0\1\2\u01d5\0\2\2\52\0\5\2\5\0\2\2\4\0\126\2"+
|
||||
"\6\0\3\2\1\0\132\2\1\0\4\2\5\0\51\2\3\0\136\2"+
|
||||
"\21\0\33\2\65\0\20\2\u0200\0\u19b6\2\112\0\u51cd\2\63\0\u048d\2"+
|
||||
"\103\0\56\2\2\0\u010d\2\3\0\20\2\12\10\2\2\24\0\57\2"+
|
||||
"\20\0\31\2\10\0\106\2\61\0\11\2\2\0\147\2\2\0\4\2"+
|
||||
"\1\0\4\2\14\0\13\2\115\0\12\2\1\0\3\2\1\0\4\2"+
|
||||
"\1\0\27\2\35\0\64\2\16\0\62\2\34\0\12\10\30\0\6\2"+
|
||||
"\3\0\1\2\4\0\12\10\34\2\12\0\27\2\31\0\35\2\7\0"+
|
||||
"\57\2\34\0\1\2\12\10\46\0\51\2\27\0\3\2\1\0\10\2"+
|
||||
"\4\0\12\10\6\0\27\2\3\0\1\2\5\0\60\2\1\0\1\2"+
|
||||
"\1\0\7\2\1\0\7\2\120\0\1\2\u01d5\0\2\2\52\0\5\2"+
|
||||
"\5\0\2\2\4\0\126\2\6\0\3\2\1\0\132\2\1\0\4\2"+
|
||||
"\5\0\51\2\3\0\136\2\21\0\33\2\65\0\20\2\u0200\0\u19b6\2"+
|
||||
"\112\0\u51d6\2\52\0\u048d\2\103\0\56\2\2\0\u010d\2\3\0\20\2"+
|
||||
"\12\10\2\2\24\0\57\2\20\0\37\2\2\0\106\2\61\0\11\2"+
|
||||
"\2\0\147\2\2\0\43\2\2\0\10\2\77\0\13\2\1\0\3\2"+
|
||||
"\1\0\4\2\1\0\27\2\35\0\64\2\16\0\62\2\34\0\12\10"+
|
||||
"\30\0\6\2\3\0\1\2\1\0\1\2\2\0\12\10\34\2\12\0"+
|
||||
"\27\2\31\0\35\2\7\0\57\2\34\0\1\2\12\10\6\0\5\2"+
|
||||
"\1\0\12\2\12\10\5\2\1\0\51\2\27\0\3\2\1\0\10\2"+
|
||||
"\4\0\12\10\6\0\27\2\3\0\1\2\3\0\62\2\1\0\1\2"+
|
||||
"\3\0\2\2\2\0\5\2\2\0\1\2\1\0\1\2\30\0\3\2"+
|
||||
"\2\0\13\2\7\0\3\2\14\0\6\2\2\0\6\2\2\0\6\2"+
|
||||
"\11\0\7\2\1\0\7\2\221\0\43\2\15\0\12\10\6\0\u2ba4\2"+
|
||||
"\14\0\27\2\4\0\61\2\u2104\0\u016e\2\2\0\152\2\46\0\7\2"+
|
||||
"\14\0\5\2\5\0\1\2\1\0\12\2\1\0\15\2\1\0\5\2"+
|
||||
"\1\0\1\2\1\0\2\2\1\0\2\2\1\0\154\2\41\0\u016b\2"+
|
||||
"\22\0\100\2\2\0\66\2\50\0\14\2\164\0\5\2\1\0\207\2"+
|
||||
"\23\0\12\10\7\0\32\2\6\0\32\2\13\0\131\2\3\0\6\2"+
|
||||
"\2\0\6\2\2\0\6\2\2\0\3\2\43\0";
|
||||
"\11\0\7\2\1\0\7\2\1\0\53\2\1\0\12\2\12\0\163\2"+
|
||||
"\15\0\12\10\6\0\u2ba4\2\14\0\27\2\4\0\61\2\u2104\0\u016e\2"+
|
||||
"\2\0\152\2\46\0\7\2\14\0\5\2\5\0\1\2\1\0\12\2"+
|
||||
"\1\0\15\2\1\0\5\2\1\0\1\2\1\0\2\2\1\0\2\2"+
|
||||
"\1\0\154\2\41\0\u016b\2\22\0\100\2\2\0\66\2\50\0\14\2"+
|
||||
"\164\0\5\2\1\0\207\2\23\0\12\10\7\0\32\2\6\0\32\2"+
|
||||
"\13\0\131\2\3\0\6\2\2\0\6\2\2\0\6\2\2\0\3\2"+
|
||||
"\43\0\14\2\1\0\32\2\1\0\23\2\1\0\2\2\1\0\17\2"+
|
||||
"\2\0\16\2\42\0\173\2\u0185\0\35\2\3\0\61\2\57\0\40\2"+
|
||||
"\20\0\21\2\1\0\10\2\6\0\46\2\12\0\36\2\2\0\44\2"+
|
||||
"\4\0\10\2\60\0\236\2\2\0\12\10\126\0\50\2\10\0\64\2"+
|
||||
"\234\0\u0137\2\11\0\26\2\12\0\10\2\230\0\6\2\2\0\1\2"+
|
||||
"\1\0\54\2\1\0\2\2\3\0\1\2\2\0\27\2\12\0\27\2"+
|
||||
"\11\0\37\2\101\0\23\2\1\0\2\2\12\0\26\2\12\0\32\2"+
|
||||
"\106\0\70\2\6\0\2\2\100\0\1\2\17\0\4\2\1\0\3\2"+
|
||||
"\1\0\33\2\54\0\35\2\3\0\35\2\43\0\10\2\1\0\34\2"+
|
||||
"\33\0\66\2\12\0\26\2\12\0\23\2\15\0\22\2\156\0\111\2"+
|
||||
"\67\0\63\2\15\0\63\2\u0310\0\65\2\56\0\12\10\23\0\55\2"+
|
||||
"\40\0\31\2\7\0\12\10\11\0\44\2\17\0\12\10\20\0\43\2"+
|
||||
"\3\0\1\2\14\0\60\2\16\0\4\2\13\0\12\10\1\2\1\0"+
|
||||
"\1\2\43\0\22\2\1\0\31\2\124\0\7\2\1\0\1\2\1\0"+
|
||||
"\4\2\1\0\17\2\1\0\12\2\7\0\57\2\21\0\12\10\13\0"+
|
||||
"\10\2\2\0\2\2\2\0\26\2\1\0\7\2\1\0\2\2\1\0"+
|
||||
"\5\2\3\0\1\2\22\0\1\2\14\0\5\2\u011e\0\60\2\24\0"+
|
||||
"\2\2\1\0\1\2\10\0\12\10\246\0\57\2\51\0\4\2\44\0"+
|
||||
"\60\2\24\0\1\2\13\0\12\10\46\0\53\2\25\0\12\10\66\0"+
|
||||
"\32\2\26\0\12\10\u0166\0\100\2\12\10\25\0\1\2\u01c0\0\71\2"+
|
||||
"\u0507\0\u039a\2\346\0\304\2\u0abc\0\u042f\2\u0fd1\0\u0247\2\u21b9\0\u0239\2"+
|
||||
"\7\0\37\2\1\0\12\10\146\0\36\2\22\0\60\2\20\0\4\2"+
|
||||
"\14\0\12\10\11\0\25\2\5\0\23\2\u0370\0\105\2\13\0\1\2"+
|
||||
"\102\0\15\2\u4060\0\2\2\u0bfe\0\153\2\5\0\15\2\3\0\11\2"+
|
||||
"\7\0\12\2\u1766\0\125\2\1\0\107\2\1\0\2\2\2\0\1\2"+
|
||||
"\2\0\2\2\2\0\4\2\1\0\14\2\1\0\1\2\1\0\7\2"+
|
||||
"\1\0\101\2\1\0\4\2\2\0\10\2\1\0\7\2\1\0\34\2"+
|
||||
"\1\0\4\2\1\0\5\2\1\0\1\2\3\0\7\2\1\0\u0154\2"+
|
||||
"\2\0\31\2\1\0\31\2\1\0\37\2\1\0\31\2\1\0\37\2"+
|
||||
"\1\0\31\2\1\0\37\2\1\0\31\2\1\0\37\2\1\0\31\2"+
|
||||
"\1\0\10\2\2\0\62\10\u1000\0\305\2\u053b\0\4\2\1\0\33\2"+
|
||||
"\1\0\2\2\1\0\1\2\2\0\1\2\1\0\12\2\1\0\4\2"+
|
||||
"\1\0\1\2\1\0\1\2\6\0\1\2\4\0\1\2\1\0\1\2"+
|
||||
"\1\0\1\2\1\0\3\2\1\0\2\2\1\0\1\2\2\0\1\2"+
|
||||
"\1\0\1\2\1\0\1\2\1\0\1\2\1\0\1\2\1\0\2\2"+
|
||||
"\1\0\1\2\2\0\4\2\1\0\7\2\1\0\4\2\1\0\4\2"+
|
||||
"\1\0\1\2\1\0\12\2\1\0\21\2\5\0\3\2\1\0\5\2"+
|
||||
"\1\0\21\2\u1144\0\ua6d7\2\51\0\u1035\2\13\0\336\2\2\0\u1682\2"+
|
||||
"\u295e\0\u021e\2\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\u05f0\0";
|
||||
|
||||
/**
|
||||
* Translates characters to character classes
|
||||
@@ -215,13 +258,10 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
private static final int ZZ_UNKNOWN_ERROR = 0;
|
||||
private static final int ZZ_NO_MATCH = 1;
|
||||
private static final int ZZ_PUSHBACK_2BIG = 2;
|
||||
private static final char[] EMPTY_BUFFER = new char[0];
|
||||
private static final int YYEOF = -1;
|
||||
private static java.io.Reader zzReader = null; // Fake
|
||||
|
||||
/* error messages for the codes above */
|
||||
private static final String ZZ_ERROR_MSG[] = {
|
||||
"Unkown internal scanner error",
|
||||
private static final String[] ZZ_ERROR_MSG = {
|
||||
"Unknown internal scanner error",
|
||||
"Error: could not match input",
|
||||
"Error: pushback value was too large"
|
||||
};
|
||||
@@ -253,6 +293,9 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
return j;
|
||||
}
|
||||
|
||||
/** the input device */
|
||||
private java.io.Reader zzReader;
|
||||
|
||||
/** the current state of the DFA */
|
||||
private int zzState;
|
||||
|
||||
@@ -263,15 +306,9 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
the source of the yytext() string */
|
||||
private CharSequence zzBuffer = "";
|
||||
|
||||
/** this buffer may contains the current text array to be matched when it is cheap to acquire it */
|
||||
private char[] zzBufferArray;
|
||||
|
||||
/** the textposition at the last accepting state */
|
||||
private int zzMarkedPos;
|
||||
|
||||
/** the textposition at the last state to be included in yytext */
|
||||
private int zzPushbackPos;
|
||||
|
||||
/** the current text position in the buffer */
|
||||
private int zzCurrentPos;
|
||||
|
||||
@@ -290,6 +327,9 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
/** zzAtEOF == true <=> the scanner is at the EOF */
|
||||
private boolean zzAtEOF;
|
||||
|
||||
/** denotes if the user-EOF-code has already been executed */
|
||||
private boolean zzEOFDone;
|
||||
|
||||
/* user code: */
|
||||
public _CommandLineLexer() {
|
||||
this((java.io.Reader)null);
|
||||
@@ -313,10 +353,10 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
* @return the unpacked character translation table
|
||||
*/
|
||||
private static char [] zzUnpackCMap(String packed) {
|
||||
char [] map = new char[0x10000];
|
||||
char [] map = new char[0x110000];
|
||||
int i = 0; /* index in packed string */
|
||||
int j = 0; /* index in unpacked array */
|
||||
while (i < 1634) {
|
||||
while (i < 2454) {
|
||||
int count = packed.charAt(i++);
|
||||
char value = packed.charAt(i++);
|
||||
do map[j++] = value; while (--count > 0);
|
||||
@@ -324,19 +364,17 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
return map;
|
||||
}
|
||||
|
||||
public final int getTokenStart(){
|
||||
public final int getTokenStart() {
|
||||
return zzStartRead;
|
||||
}
|
||||
|
||||
public final int getTokenEnd(){
|
||||
public final int getTokenEnd() {
|
||||
return getTokenStart() + yylength();
|
||||
}
|
||||
|
||||
public void reset(CharSequence buffer, int start, int end,int initialState){
|
||||
public void reset(CharSequence buffer, int start, int end, int initialState) {
|
||||
zzBuffer = buffer;
|
||||
zzBufferArray = com.intellij.util.text.CharArrayUtil.fromSequenceWithoutCopying(buffer);
|
||||
zzCurrentPos = zzMarkedPos = zzStartRead = start;
|
||||
zzPushbackPos = 0;
|
||||
zzAtEOF = false;
|
||||
zzAtBOL = true;
|
||||
zzEndRead = end;
|
||||
@@ -393,7 +431,7 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
* @return the character at position pos
|
||||
*/
|
||||
public final char yycharat(int pos) {
|
||||
return zzBufferArray != null ? zzBufferArray[zzStartRead+pos]:zzBuffer.charAt(zzStartRead+pos);
|
||||
return zzBuffer.charAt(zzStartRead+pos);
|
||||
}
|
||||
|
||||
|
||||
@@ -464,7 +502,6 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
int zzMarkedPosL;
|
||||
int zzEndReadL = zzEndRead;
|
||||
CharSequence zzBufferL = zzBuffer;
|
||||
char[] zzBufferArrayL = zzBufferArray;
|
||||
char [] zzCMapL = ZZ_CMAP;
|
||||
|
||||
int [] zzTransL = ZZ_TRANS;
|
||||
@@ -480,12 +517,20 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
|
||||
zzState = ZZ_LEXSTATE[zzLexicalState];
|
||||
|
||||
// set up zzAction for empty match case:
|
||||
int zzAttributes = zzAttrL[zzState];
|
||||
if ( (zzAttributes & 1) == 1 ) {
|
||||
zzAction = zzState;
|
||||
}
|
||||
|
||||
|
||||
zzForAction: {
|
||||
while (true) {
|
||||
|
||||
if (zzCurrentPosL < zzEndReadL)
|
||||
zzInput = (zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++] : zzBufferL.charAt(zzCurrentPosL++));
|
||||
if (zzCurrentPosL < zzEndReadL) {
|
||||
zzInput = Character.codePointAt(zzBufferL, zzCurrentPosL/*, zzEndReadL*/);
|
||||
zzCurrentPosL += Character.charCount(zzInput);
|
||||
}
|
||||
else if (zzAtEOF) {
|
||||
zzInput = YYEOF;
|
||||
break zzForAction;
|
||||
@@ -505,14 +550,15 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
break zzForAction;
|
||||
}
|
||||
else {
|
||||
zzInput = (zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++] : zzBufferL.charAt(zzCurrentPosL++));
|
||||
zzInput = Character.codePointAt(zzBufferL, zzCurrentPosL/*, zzEndReadL*/);
|
||||
zzCurrentPosL += Character.charCount(zzInput);
|
||||
}
|
||||
}
|
||||
int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ];
|
||||
if (zzNext == -1) break zzForAction;
|
||||
zzState = zzNext;
|
||||
|
||||
int zzAttributes = zzAttrL[zzState];
|
||||
zzAttributes = zzAttrL[zzState];
|
||||
if ( (zzAttributes & 1) == 1 ) {
|
||||
zzAction = zzState;
|
||||
zzMarkedPosL = zzCurrentPosL;
|
||||
@@ -525,45 +571,45 @@ public class _CommandLineLexer implements FlexLexer {
|
||||
// store back cached position
|
||||
zzMarkedPos = zzMarkedPosL;
|
||||
|
||||
switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) {
|
||||
case 5:
|
||||
{ return LITERAL_STARTS_FROM_DIGIT;
|
||||
}
|
||||
case 9: break;
|
||||
case 1:
|
||||
{ return com.intellij.psi.TokenType.BAD_CHARACTER;
|
||||
}
|
||||
case 10: break;
|
||||
case 3:
|
||||
{ return LITERAL_STARTS_FROM_LETTER;
|
||||
}
|
||||
case 11: break;
|
||||
case 8:
|
||||
{ return LONG_OPTION_NAME_TOKEN;
|
||||
}
|
||||
case 12: break;
|
||||
case 6:
|
||||
{ return EQ;
|
||||
}
|
||||
case 13: break;
|
||||
case 7:
|
||||
{ return SHORT_OPTION_NAME_TOKEN;
|
||||
}
|
||||
case 14: break;
|
||||
case 4:
|
||||
{ return LITERAL_STARTS_FROM_SYMBOL;
|
||||
}
|
||||
case 15: break;
|
||||
case 2:
|
||||
{ return com.intellij.psi.TokenType.WHITE_SPACE;
|
||||
}
|
||||
case 16: break;
|
||||
default:
|
||||
if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
|
||||
zzAtEOF = true;
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
|
||||
zzAtEOF = true;
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) {
|
||||
case 1:
|
||||
{ return com.intellij.psi.TokenType.BAD_CHARACTER;
|
||||
}
|
||||
case 9: break;
|
||||
case 2:
|
||||
{ return com.intellij.psi.TokenType.WHITE_SPACE;
|
||||
}
|
||||
case 10: break;
|
||||
case 3:
|
||||
{ return LITERAL_STARTS_FROM_LETTER;
|
||||
}
|
||||
case 11: break;
|
||||
case 4:
|
||||
{ return LITERAL_STARTS_FROM_SYMBOL;
|
||||
}
|
||||
case 12: break;
|
||||
case 5:
|
||||
{ return LITERAL_STARTS_FROM_DIGIT;
|
||||
}
|
||||
case 13: break;
|
||||
case 6:
|
||||
{ return EQ;
|
||||
}
|
||||
case 14: break;
|
||||
case 7:
|
||||
{ return SHORT_OPTION_NAME_TOKEN;
|
||||
}
|
||||
case 15: break;
|
||||
case 8:
|
||||
{ return LONG_OPTION_NAME_TOKEN;
|
||||
}
|
||||
case 16: break;
|
||||
default:
|
||||
zzScanError(ZZ_NO_MATCH);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user