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/8/14 3:56 PM */
|
||||
/* The following code was generated by JFlex 1.7.0-SNAPSHOT tweaked for IntelliJ platform */
|
||||
|
||||
package com.intellij.json;
|
||||
import com.intellij.lexer.*;
|
||||
@@ -8,11 +8,14 @@ import static com.intellij.json.JsonElementTypes.*;
|
||||
|
||||
/**
|
||||
* This class is a scanner generated by
|
||||
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
|
||||
* on 10/8/14 3:56 PM from the specification file
|
||||
* <tt>/home/east825/develop/repos/IDEA/community/json/gen/com/intellij/json/_JsonLexer.flex</tt>
|
||||
* <a href="http://www.jflex.de/">JFlex</a> 1.7.0-SNAPSHOT
|
||||
* from the specification file <tt>_JsonLexer.flex</tt>
|
||||
*/
|
||||
public class _JsonLexer 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;
|
||||
|
||||
@@ -33,117 +36,147 @@ public class _JsonLexer implements FlexLexer {
|
||||
* Translates characters to character classes
|
||||
*/
|
||||
private static final String ZZ_CMAP_PACKED =
|
||||
"\11\20\1\3\1\2\1\0\1\3\1\1\16\20\4\0\1\3\1\0"+
|
||||
"\1\6\1\0\1\17\2\0\1\10\2\0\1\5\1\16\1\25\1\11"+
|
||||
"\1\14\1\4\1\12\11\13\1\26\6\0\4\17\1\15\25\17\1\23"+
|
||||
"\1\7\1\24\1\0\1\17\1\0\1\34\3\17\1\32\1\33\5\17"+
|
||||
"\1\35\1\17\1\37\3\17\1\30\1\36\1\27\1\31\5\17\1\21"+
|
||||
"\1\0\1\22\1\0\41\20\2\0\4\17\4\0\1\17\2\0\1\20"+
|
||||
"\7\0\1\17\4\0\1\17\5\0\27\17\1\0\37\17\1\0\u01ca\17"+
|
||||
"\4\0\14\17\16\0\5\17\7\0\1\17\1\0\1\17\21\0\160\20"+
|
||||
"\5\17\1\0\2\17\2\0\4\17\10\0\1\17\1\0\3\17\1\0"+
|
||||
"\1\17\1\0\24\17\1\0\123\17\1\0\213\17\1\0\5\20\2\0"+
|
||||
"\236\17\11\0\46\17\2\0\1\17\7\0\47\17\7\0\1\17\1\0"+
|
||||
"\55\20\1\0\1\20\1\0\2\20\1\0\2\20\1\0\1\20\10\0"+
|
||||
"\33\17\5\0\3\17\15\0\5\20\6\0\1\17\4\0\13\20\5\0"+
|
||||
"\53\17\37\20\4\0\2\17\1\20\143\17\1\0\1\17\10\20\1\0"+
|
||||
"\6\20\2\17\2\20\1\0\4\20\2\17\12\20\3\17\2\0\1\17"+
|
||||
"\17\0\1\20\1\17\1\20\36\17\33\20\2\0\131\17\13\20\1\17"+
|
||||
"\16\0\12\20\41\17\11\20\2\17\4\0\1\17\5\0\26\17\4\20"+
|
||||
"\1\17\11\20\1\17\3\20\1\17\5\20\22\0\31\17\3\20\104\0"+
|
||||
"\1\17\1\0\13\17\67\0\33\20\1\0\4\20\66\17\3\20\1\17"+
|
||||
"\22\20\1\17\7\20\12\17\2\20\2\0\12\20\1\0\7\17\1\0"+
|
||||
"\7\17\1\0\3\20\1\0\10\17\2\0\2\17\2\0\26\17\1\0"+
|
||||
"\7\17\1\0\1\17\3\0\4\17\2\0\1\20\1\17\7\20\2\0"+
|
||||
"\2\20\2\0\3\20\1\17\10\0\1\20\4\0\2\17\1\0\3\17"+
|
||||
"\2\20\2\0\12\20\4\17\7\0\1\17\5\0\3\20\1\0\6\17"+
|
||||
"\4\0\2\17\2\0\26\17\1\0\7\17\1\0\2\17\1\0\2\17"+
|
||||
"\1\0\2\17\2\0\1\20\1\0\5\20\4\0\2\20\2\0\3\20"+
|
||||
"\3\0\1\20\7\0\4\17\1\0\1\17\7\0\14\20\3\17\1\20"+
|
||||
"\13\0\3\20\1\0\11\17\1\0\3\17\1\0\26\17\1\0\7\17"+
|
||||
"\1\0\2\17\1\0\5\17\2\0\1\20\1\17\10\20\1\0\3\20"+
|
||||
"\1\0\3\20\2\0\1\17\17\0\2\17\2\20\2\0\12\20\1\0"+
|
||||
"\1\17\17\0\3\20\1\0\10\17\2\0\2\17\2\0\26\17\1\0"+
|
||||
"\7\17\1\0\2\17\1\0\5\17\2\0\1\20\1\17\7\20\2\0"+
|
||||
"\2\20\2\0\3\20\10\0\2\20\4\0\2\17\1\0\3\17\2\20"+
|
||||
"\2\0\12\20\1\0\1\17\20\0\1\20\1\17\1\0\6\17\3\0"+
|
||||
"\3\17\1\0\4\17\3\0\2\17\1\0\1\17\1\0\2\17\3\0"+
|
||||
"\2\17\3\0\3\17\3\0\14\17\4\0\5\20\3\0\3\20\1\0"+
|
||||
"\4\20\2\0\1\17\6\0\1\20\16\0\12\20\11\0\1\17\7\0"+
|
||||
"\3\20\1\0\10\17\1\0\3\17\1\0\27\17\1\0\12\17\1\0"+
|
||||
"\5\17\3\0\1\17\7\20\1\0\3\20\1\0\4\20\7\0\2\20"+
|
||||
"\1\0\2\17\6\0\2\17\2\20\2\0\12\20\22\0\2\20\1\0"+
|
||||
"\10\17\1\0\3\17\1\0\27\17\1\0\12\17\1\0\5\17\2\0"+
|
||||
"\1\20\1\17\7\20\1\0\3\20\1\0\4\20\7\0\2\20\7\0"+
|
||||
"\1\17\1\0\2\17\2\20\2\0\12\20\1\0\2\17\17\0\2\20"+
|
||||
"\1\0\10\17\1\0\3\17\1\0\51\17\2\0\1\17\7\20\1\0"+
|
||||
"\3\20\1\0\4\20\1\17\10\0\1\20\10\0\2\17\2\20\2\0"+
|
||||
"\12\20\12\0\6\17\2\0\2\20\1\0\22\17\3\0\30\17\1\0"+
|
||||
"\11\17\1\0\1\17\2\0\7\17\3\0\1\20\4\0\6\20\1\0"+
|
||||
"\1\20\1\0\10\20\22\0\2\20\15\0\60\17\1\20\2\17\7\20"+
|
||||
"\4\0\10\17\10\20\1\0\12\20\47\0\2\17\1\0\1\17\2\0"+
|
||||
"\2\17\1\0\1\17\2\0\1\17\6\0\4\17\1\0\7\17\1\0"+
|
||||
"\3\17\1\0\1\17\1\0\1\17\2\0\2\17\1\0\4\17\1\20"+
|
||||
"\2\17\6\20\1\0\2\20\1\17\2\0\5\17\1\0\1\17\1\0"+
|
||||
"\6\20\2\0\12\20\2\0\4\17\40\0\1\17\27\0\2\20\6\0"+
|
||||
"\12\20\13\0\1\20\1\0\1\20\1\0\1\20\4\0\2\20\10\17"+
|
||||
"\1\0\44\17\4\0\24\20\1\0\2\20\5\17\13\20\1\0\44\20"+
|
||||
"\11\0\1\20\71\0\53\17\24\20\1\17\12\20\6\0\6\17\4\20"+
|
||||
"\4\17\3\20\1\17\3\20\2\17\7\20\3\17\4\20\15\17\14\20"+
|
||||
"\1\17\17\20\2\0\46\17\1\0\1\17\5\0\1\17\2\0\53\17"+
|
||||
"\1\0\u014d\17\1\0\4\17\2\0\7\17\1\0\1\17\1\0\4\17"+
|
||||
"\2\0\51\17\1\0\4\17\2\0\41\17\1\0\4\17\2\0\7\17"+
|
||||
"\1\0\1\17\1\0\4\17\2\0\17\17\1\0\71\17\1\0\4\17"+
|
||||
"\2\0\103\17\2\0\3\20\40\0\20\17\20\0\125\17\14\0\u026c\17"+
|
||||
"\2\0\21\17\1\0\32\17\5\0\113\17\3\0\3\17\17\0\15\17"+
|
||||
"\1\0\4\17\3\20\13\0\22\17\3\20\13\0\22\17\2\20\14\0"+
|
||||
"\15\17\1\0\3\17\1\0\2\20\14\0\64\17\40\20\3\0\1\17"+
|
||||
"\3\0\2\17\1\20\2\0\12\20\41\0\3\20\2\0\12\20\6\0"+
|
||||
"\130\17\10\0\51\17\1\20\1\17\5\0\106\17\12\0\35\17\3\0"+
|
||||
"\14\20\4\0\14\20\12\0\12\20\36\17\2\0\5\17\13\0\54\17"+
|
||||
"\4\0\21\20\7\17\2\20\6\0\12\20\46\0\27\17\5\20\4\0"+
|
||||
"\65\17\12\20\1\0\35\20\2\0\13\20\6\0\12\20\15\0\1\17"+
|
||||
"\130\0\5\20\57\17\21\20\7\17\4\0\12\20\21\0\11\20\14\0"+
|
||||
"\3\20\36\17\15\20\2\17\12\20\54\17\16\20\14\0\44\17\24\20"+
|
||||
"\10\0\12\20\3\0\3\17\12\20\44\17\122\0\3\20\1\0\25\20"+
|
||||
"\4\17\1\20\4\17\3\20\2\17\11\0\300\17\47\20\25\0\4\20"+
|
||||
"\u0116\17\2\0\6\17\2\0\46\17\2\0\6\17\2\0\10\17\1\0"+
|
||||
"\1\17\1\0\1\17\1\0\1\17\1\0\37\17\2\0\65\17\1\0"+
|
||||
"\7\17\1\0\1\17\3\0\3\17\1\0\7\17\3\0\4\17\2\0"+
|
||||
"\6\17\4\0\15\17\5\0\3\17\1\0\7\17\16\0\5\20\32\0"+
|
||||
"\5\20\20\0\2\17\23\0\1\17\13\0\5\20\5\0\6\20\1\0"+
|
||||
"\1\17\15\0\1\17\20\0\15\17\3\0\33\17\25\0\15\20\4\0"+
|
||||
"\1\20\3\0\14\20\21\0\1\17\4\0\1\17\2\0\12\17\1\0"+
|
||||
"\1\17\3\0\5\17\6\0\1\17\1\0\1\17\1\0\1\17\1\0"+
|
||||
"\4\17\1\0\13\17\2\0\4\17\5\0\5\17\4\0\1\17\21\0"+
|
||||
"\51\17\u0a77\0\57\17\1\0\57\17\1\0\205\17\6\0\4\17\3\20"+
|
||||
"\2\17\14\0\46\17\1\0\1\17\5\0\1\17\2\0\70\17\7\0"+
|
||||
"\1\17\17\0\1\20\27\17\11\0\7\17\1\0\7\17\1\0\7\17"+
|
||||
"\1\0\7\17\1\0\7\17\1\0\7\17\1\0\7\17\1\0\7\17"+
|
||||
"\1\0\40\20\57\0\1\17\u01d5\0\3\17\31\0\11\17\6\20\1\0"+
|
||||
"\5\17\2\0\5\17\4\0\126\17\2\0\2\20\2\0\3\17\1\0"+
|
||||
"\132\17\1\0\4\17\5\0\51\17\3\0\136\17\21\0\33\17\65\0"+
|
||||
"\20\17\u0200\0\u19b6\17\112\0\u51cd\17\63\0\u048d\17\103\0\56\17\2\0"+
|
||||
"\u010d\17\3\0\20\17\12\20\2\17\24\0\57\17\1\20\4\0\12\20"+
|
||||
"\1\0\31\17\7\0\1\20\120\17\2\20\45\0\11\17\2\0\147\17"+
|
||||
"\2\0\4\17\1\0\4\17\14\0\13\17\115\0\12\17\1\20\3\17"+
|
||||
"\1\20\4\17\1\20\27\17\5\20\20\0\1\17\7\0\64\17\14\0"+
|
||||
"\2\20\62\17\21\20\13\0\12\20\6\0\22\20\6\17\3\0\1\17"+
|
||||
"\4\0\12\20\34\17\10\20\2\0\27\17\15\20\14\0\35\17\3\0"+
|
||||
"\4\20\57\17\16\20\16\0\1\17\12\20\46\0\51\17\16\20\11\0"+
|
||||
"\3\17\1\20\10\17\2\20\2\0\12\20\6\0\27\17\3\0\1\17"+
|
||||
"\1\20\4\0\60\17\1\20\1\17\3\20\2\17\2\20\5\17\2\20"+
|
||||
"\1\17\1\20\1\17\30\0\3\17\2\0\13\17\5\20\2\0\3\17"+
|
||||
"\2\20\12\0\6\17\2\0\6\17\2\0\6\17\11\0\7\17\1\0"+
|
||||
"\7\17\221\0\43\17\10\20\1\0\2\20\2\0\12\20\6\0\u2ba4\17"+
|
||||
"\14\0\27\17\4\0\61\17\u2104\0\u016e\17\2\0\152\17\46\0\7\17"+
|
||||
"\14\0\5\17\5\0\1\17\1\20\12\17\1\0\15\17\1\0\5\17"+
|
||||
"\1\0\1\17\1\0\2\17\1\0\2\17\1\0\154\17\41\0\u016b\17"+
|
||||
"\22\0\100\17\2\0\66\17\50\0\15\17\3\0\20\20\20\0\7\20"+
|
||||
"\14\0\2\17\30\0\3\17\31\0\1\17\6\0\5\17\1\0\207\17"+
|
||||
"\2\0\1\20\4\0\1\17\13\0\12\20\7\0\32\17\4\0\1\17"+
|
||||
"\1\0\32\17\13\0\131\17\3\0\6\17\2\0\6\17\2\0\6\17"+
|
||||
"\2\0\3\17\3\0\2\17\3\0\2\17\22\0\3\20\4\0";
|
||||
"\11\22\1\2\1\1\1\4\1\5\1\1\16\22\4\0\1\2\1\0"+
|
||||
"\1\10\1\0\1\21\2\0\1\12\2\0\1\7\1\20\1\27\1\13"+
|
||||
"\1\16\1\3\1\14\11\15\1\30\6\0\4\21\1\17\25\21\1\25"+
|
||||
"\1\11\1\26\1\0\1\21\1\0\1\36\3\21\1\34\1\35\5\21"+
|
||||
"\1\37\1\21\1\41\3\21\1\32\1\40\1\31\1\33\5\21\1\23"+
|
||||
"\1\0\1\24\1\0\6\22\1\6\32\22\2\0\4\21\4\0\1\21"+
|
||||
"\2\0\1\22\7\0\1\21\4\0\1\21\5\0\27\21\1\0\37\21"+
|
||||
"\1\0\u01ca\21\4\0\14\21\16\0\5\21\7\0\1\21\1\0\1\21"+
|
||||
"\21\0\160\22\5\21\1\0\2\21\2\0\4\21\10\0\1\21\1\0"+
|
||||
"\3\21\1\0\1\21\1\0\24\21\1\0\123\21\1\0\213\21\1\0"+
|
||||
"\5\22\2\0\236\21\11\0\46\21\2\0\1\21\7\0\47\21\7\0"+
|
||||
"\1\21\1\0\55\22\1\0\1\22\1\0\2\22\1\0\2\22\1\0"+
|
||||
"\1\22\10\0\33\21\5\0\3\21\15\0\5\22\6\0\1\21\4\0"+
|
||||
"\13\22\5\0\53\21\37\22\4\0\2\21\1\22\143\21\1\0\1\21"+
|
||||
"\10\22\1\0\6\22\2\21\2\22\1\0\4\22\2\21\12\22\3\21"+
|
||||
"\2\0\1\21\17\0\1\22\1\21\1\22\36\21\33\22\2\0\131\21"+
|
||||
"\13\22\1\21\16\0\12\22\41\21\11\22\2\21\4\0\1\21\5\0"+
|
||||
"\26\21\4\22\1\21\11\22\1\21\3\22\1\21\5\22\22\0\31\21"+
|
||||
"\3\22\104\0\1\21\1\0\13\21\67\0\33\22\1\0\4\22\66\21"+
|
||||
"\3\22\1\21\22\22\1\21\7\22\12\21\2\22\2\0\12\22\1\0"+
|
||||
"\7\21\1\0\7\21\1\0\3\22\1\0\10\21\2\0\2\21\2\0"+
|
||||
"\26\21\1\0\7\21\1\0\1\21\3\0\4\21\2\0\1\22\1\21"+
|
||||
"\7\22\2\0\2\22\2\0\3\22\1\21\10\0\1\22\4\0\2\21"+
|
||||
"\1\0\3\21\2\22\2\0\12\22\4\21\7\0\1\21\5\0\3\22"+
|
||||
"\1\0\6\21\4\0\2\21\2\0\26\21\1\0\7\21\1\0\2\21"+
|
||||
"\1\0\2\21\1\0\2\21\2\0\1\22\1\0\5\22\4\0\2\22"+
|
||||
"\2\0\3\22\3\0\1\22\7\0\4\21\1\0\1\21\7\0\14\22"+
|
||||
"\3\21\1\22\13\0\3\22\1\0\11\21\1\0\3\21\1\0\26\21"+
|
||||
"\1\0\7\21\1\0\2\21\1\0\5\21\2\0\1\22\1\21\10\22"+
|
||||
"\1\0\3\22\1\0\3\22\2\0\1\21\17\0\2\21\2\22\2\0"+
|
||||
"\12\22\1\0\1\21\17\0\3\22\1\0\10\21\2\0\2\21\2\0"+
|
||||
"\26\21\1\0\7\21\1\0\2\21\1\0\5\21\2\0\1\22\1\21"+
|
||||
"\7\22\2\0\2\22\2\0\3\22\10\0\2\22\4\0\2\21\1\0"+
|
||||
"\3\21\2\22\2\0\12\22\1\0\1\21\20\0\1\22\1\21\1\0"+
|
||||
"\6\21\3\0\3\21\1\0\4\21\3\0\2\21\1\0\1\21\1\0"+
|
||||
"\2\21\3\0\2\21\3\0\3\21\3\0\14\21\4\0\5\22\3\0"+
|
||||
"\3\22\1\0\4\22\2\0\1\21\6\0\1\22\16\0\12\22\11\0"+
|
||||
"\1\21\7\0\3\22\1\0\10\21\1\0\3\21\1\0\27\21\1\0"+
|
||||
"\12\21\1\0\5\21\3\0\1\21\7\22\1\0\3\22\1\0\4\22"+
|
||||
"\7\0\2\22\1\0\2\21\6\0\2\21\2\22\2\0\12\22\22\0"+
|
||||
"\2\22\1\0\10\21\1\0\3\21\1\0\27\21\1\0\12\21\1\0"+
|
||||
"\5\21\2\0\1\22\1\21\7\22\1\0\3\22\1\0\4\22\7\0"+
|
||||
"\2\22\7\0\1\21\1\0\2\21\2\22\2\0\12\22\1\0\2\21"+
|
||||
"\17\0\2\22\1\0\10\21\1\0\3\21\1\0\51\21\2\0\1\21"+
|
||||
"\7\22\1\0\3\22\1\0\4\22\1\21\10\0\1\22\10\0\2\21"+
|
||||
"\2\22\2\0\12\22\12\0\6\21\2\0\2\22\1\0\22\21\3\0"+
|
||||
"\30\21\1\0\11\21\1\0\1\21\2\0\7\21\3\0\1\22\4\0"+
|
||||
"\6\22\1\0\1\22\1\0\10\22\22\0\2\22\15\0\60\21\1\22"+
|
||||
"\2\21\7\22\4\0\10\21\10\22\1\0\12\22\47\0\2\21\1\0"+
|
||||
"\1\21\2\0\2\21\1\0\1\21\2\0\1\21\6\0\4\21\1\0"+
|
||||
"\7\21\1\0\3\21\1\0\1\21\1\0\1\21\2\0\2\21\1\0"+
|
||||
"\4\21\1\22\2\21\6\22\1\0\2\22\1\21\2\0\5\21\1\0"+
|
||||
"\1\21\1\0\6\22\2\0\12\22\2\0\4\21\40\0\1\21\27\0"+
|
||||
"\2\22\6\0\12\22\13\0\1\22\1\0\1\22\1\0\1\22\4\0"+
|
||||
"\2\22\10\21\1\0\44\21\4\0\24\22\1\0\2\22\5\21\13\22"+
|
||||
"\1\0\44\22\11\0\1\22\71\0\53\21\24\22\1\21\12\22\6\0"+
|
||||
"\6\21\4\22\4\21\3\22\1\21\3\22\2\21\7\22\3\21\4\22"+
|
||||
"\15\21\14\22\1\21\17\22\2\0\46\21\1\0\1\21\5\0\1\21"+
|
||||
"\2\0\53\21\1\0\u014d\21\1\0\4\21\2\0\7\21\1\0\1\21"+
|
||||
"\1\0\4\21\2\0\51\21\1\0\4\21\2\0\41\21\1\0\4\21"+
|
||||
"\2\0\7\21\1\0\1\21\1\0\4\21\2\0\17\21\1\0\71\21"+
|
||||
"\1\0\4\21\2\0\103\21\2\0\3\22\40\0\20\21\20\0\125\21"+
|
||||
"\14\0\u026c\21\2\0\21\21\1\0\32\21\5\0\113\21\3\0\3\21"+
|
||||
"\17\0\15\21\1\0\4\21\3\22\13\0\22\21\3\22\13\0\22\21"+
|
||||
"\2\22\14\0\15\21\1\0\3\21\1\0\2\22\14\0\64\21\40\22"+
|
||||
"\3\0\1\21\3\0\2\21\1\22\2\0\12\22\41\0\3\22\2\0"+
|
||||
"\12\22\6\0\130\21\10\0\51\21\1\22\1\21\5\0\106\21\12\0"+
|
||||
"\35\21\3\0\14\22\4\0\14\22\12\0\12\22\36\21\2\0\5\21"+
|
||||
"\13\0\54\21\4\0\21\22\7\21\2\22\6\0\12\22\46\0\27\21"+
|
||||
"\5\22\4\0\65\21\12\22\1\0\35\22\2\0\13\22\6\0\12\22"+
|
||||
"\15\0\1\21\130\0\5\22\57\21\21\22\7\21\4\0\12\22\21\0"+
|
||||
"\11\22\14\0\3\22\36\21\15\22\2\21\12\22\54\21\16\22\14\0"+
|
||||
"\44\21\24\22\10\0\12\22\3\0\3\21\12\22\44\21\122\0\3\22"+
|
||||
"\1\0\25\22\4\21\1\22\4\21\3\22\2\21\11\0\300\21\47\22"+
|
||||
"\25\0\4\22\u0116\21\2\0\6\21\2\0\46\21\2\0\6\21\2\0"+
|
||||
"\10\21\1\0\1\21\1\0\1\21\1\0\1\21\1\0\37\21\2\0"+
|
||||
"\65\21\1\0\7\21\1\0\1\21\3\0\3\21\1\0\7\21\3\0"+
|
||||
"\4\21\2\0\6\21\4\0\15\21\5\0\3\21\1\0\7\21\16\0"+
|
||||
"\5\22\30\0\1\4\1\4\5\22\20\0\2\21\23\0\1\21\13\0"+
|
||||
"\5\22\5\0\6\22\1\0\1\21\15\0\1\21\20\0\15\21\3\0"+
|
||||
"\33\21\25\0\15\22\4\0\1\22\3\0\14\22\21\0\1\21\4\0"+
|
||||
"\1\21\2\0\12\21\1\0\1\21\3\0\5\21\6\0\1\21\1\0"+
|
||||
"\1\21\1\0\1\21\1\0\4\21\1\0\13\21\2\0\4\21\5\0"+
|
||||
"\5\21\4\0\1\21\21\0\51\21\u0a77\0\57\21\1\0\57\21\1\0"+
|
||||
"\205\21\6\0\4\21\3\22\2\21\14\0\46\21\1\0\1\21\5\0"+
|
||||
"\1\21\2\0\70\21\7\0\1\21\17\0\1\22\27\21\11\0\7\21"+
|
||||
"\1\0\7\21\1\0\7\21\1\0\7\21\1\0\7\21\1\0\7\21"+
|
||||
"\1\0\7\21\1\0\7\21\1\0\40\22\57\0\1\21\u01d5\0\3\21"+
|
||||
"\31\0\11\21\6\22\1\0\5\21\2\0\5\21\4\0\126\21\2\0"+
|
||||
"\2\22\2\0\3\21\1\0\132\21\1\0\4\21\5\0\51\21\3\0"+
|
||||
"\136\21\21\0\33\21\65\0\20\21\u0200\0\u19b6\21\112\0\u51cd\21\63\0"+
|
||||
"\u048d\21\103\0\56\21\2\0\u010d\21\3\0\20\21\12\22\2\21\24\0"+
|
||||
"\57\21\1\22\4\0\12\22\1\0\31\21\7\0\1\22\120\21\2\22"+
|
||||
"\45\0\11\21\2\0\147\21\2\0\4\21\1\0\4\21\14\0\13\21"+
|
||||
"\115\0\12\21\1\22\3\21\1\22\4\21\1\22\27\21\5\22\20\0"+
|
||||
"\1\21\7\0\64\21\14\0\2\22\62\21\21\22\13\0\12\22\6\0"+
|
||||
"\22\22\6\21\3\0\1\21\4\0\12\22\34\21\10\22\2\0\27\21"+
|
||||
"\15\22\14\0\35\21\3\0\4\22\57\21\16\22\16\0\1\21\12\22"+
|
||||
"\46\0\51\21\16\22\11\0\3\21\1\22\10\21\2\22\2\0\12\22"+
|
||||
"\6\0\27\21\3\0\1\21\1\22\4\0\60\21\1\22\1\21\3\22"+
|
||||
"\2\21\2\22\5\21\2\22\1\21\1\22\1\21\30\0\3\21\2\0"+
|
||||
"\13\21\5\22\2\0\3\21\2\22\12\0\6\21\2\0\6\21\2\0"+
|
||||
"\6\21\11\0\7\21\1\0\7\21\221\0\43\21\10\22\1\0\2\22"+
|
||||
"\2\0\12\22\6\0\u2ba4\21\14\0\27\21\4\0\61\21\u2104\0\u016e\21"+
|
||||
"\2\0\152\21\46\0\7\21\14\0\5\21\5\0\1\21\1\22\12\21"+
|
||||
"\1\0\15\21\1\0\5\21\1\0\1\21\1\0\2\21\1\0\2\21"+
|
||||
"\1\0\154\21\41\0\u016b\21\22\0\100\21\2\0\66\21\50\0\15\21"+
|
||||
"\3\0\20\22\20\0\7\22\14\0\2\21\30\0\3\21\31\0\1\21"+
|
||||
"\6\0\5\21\1\0\207\21\2\0\1\22\4\0\1\21\13\0\12\22"+
|
||||
"\7\0\32\21\4\0\1\21\1\0\32\21\13\0\131\21\3\0\6\21"+
|
||||
"\2\0\6\21\2\0\6\21\2\0\3\21\3\0\2\21\3\0\2\21"+
|
||||
"\22\0\3\22\4\0\14\21\1\0\32\21\1\0\23\21\1\0\2\21"+
|
||||
"\1\0\17\21\2\0\16\21\42\0\173\21\105\0\65\21\210\0\1\22"+
|
||||
"\202\0\35\21\3\0\61\21\57\0\37\21\21\0\33\21\65\0\36\21"+
|
||||
"\2\0\44\21\4\0\10\21\1\0\5\21\52\0\236\21\2\0\12\22"+
|
||||
"\u0356\0\6\21\2\0\1\21\1\0\54\21\1\0\2\21\3\0\1\21"+
|
||||
"\2\0\27\21\252\0\26\21\12\0\32\21\106\0\70\21\6\0\2\21"+
|
||||
"\100\0\1\21\3\22\1\0\2\22\5\0\4\22\4\21\1\0\3\21"+
|
||||
"\1\0\33\21\4\0\3\22\4\0\1\22\40\0\35\21\203\0\66\21"+
|
||||
"\12\0\26\21\12\0\23\21\215\0\111\21\u03b7\0\3\22\65\21\17\22"+
|
||||
"\37\0\12\22\20\0\3\22\55\21\13\22\2\0\1\22\22\0\31\21"+
|
||||
"\7\0\12\22\6\0\3\22\44\21\16\22\1\0\12\22\100\0\3\22"+
|
||||
"\60\21\16\22\4\21\13\0\12\22\u04a6\0\53\21\15\22\10\0\12\22"+
|
||||
"\u0936\0\u036f\21\221\0\143\21\u0b9d\0\u042f\21\u33d1\0\u0239\21\u04c7\0\105\21"+
|
||||
"\13\0\1\21\56\22\20\0\4\22\15\21\u4060\0\2\21\u2163\0\5\22"+
|
||||
"\3\0\26\22\2\0\7\22\36\0\4\22\224\0\3\22\u01bb\0\125\21"+
|
||||
"\1\0\107\21\1\0\2\21\2\0\1\21\2\0\2\21\2\0\4\21"+
|
||||
"\1\0\14\21\1\0\1\21\1\0\7\21\1\0\101\21\1\0\4\21"+
|
||||
"\2\0\10\21\1\0\7\21\1\0\34\21\1\0\4\21\1\0\5\21"+
|
||||
"\1\0\1\21\3\0\7\21\1\0\u0154\21\2\0\31\21\1\0\31\21"+
|
||||
"\1\0\37\21\1\0\31\21\1\0\37\21\1\0\31\21\1\0\37\21"+
|
||||
"\1\0\31\21\1\0\37\21\1\0\31\21\1\0\10\21\2\0\62\22"+
|
||||
"\u1600\0\4\21\1\0\33\21\1\0\2\21\1\0\1\21\2\0\1\21"+
|
||||
"\1\0\12\21\1\0\4\21\1\0\1\21\1\0\1\21\6\0\1\21"+
|
||||
"\4\0\1\21\1\0\1\21\1\0\1\21\1\0\3\21\1\0\2\21"+
|
||||
"\1\0\1\21\2\0\1\21\1\0\1\21\1\0\1\21\1\0\1\21"+
|
||||
"\1\0\1\21\1\0\2\21\1\0\1\21\2\0\4\21\1\0\7\21"+
|
||||
"\1\0\4\21\1\0\4\21\1\0\1\21\1\0\12\21\1\0\21\21"+
|
||||
"\5\0\3\21\1\0\5\21\1\0\21\21\u1144\0\ua6d7\21\51\0\u1035\21"+
|
||||
"\13\0\336\21\u3fe2\0\u021e\21\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\u05ee\0"+
|
||||
"\1\22\36\0\140\22\200\0\360\22\uffff\0\uffff\0\ufe12\0";
|
||||
|
||||
/**
|
||||
* Translates characters to character classes
|
||||
@@ -187,12 +220,12 @@ public class _JsonLexer implements FlexLexer {
|
||||
private static final int [] ZZ_ROWMAP = zzUnpackRowMap();
|
||||
|
||||
private static final String ZZ_ROWMAP_PACKED_0 =
|
||||
"\0\0\0\40\0\100\0\140\0\200\0\240\0\300\0\340"+
|
||||
"\0\u0100\0\u0120\0\40\0\40\0\40\0\40\0\40\0\40"+
|
||||
"\0\u0140\0\u0160\0\u0180\0\u01a0\0\u01c0\0\40\0\u01e0\0\u0200"+
|
||||
"\0\40\0\u0220\0\u0240\0\u0260\0\u0280\0\u02a0\0\u02c0\0\u02e0"+
|
||||
"\0\u0300\0\u0320\0\u0340\0\u0360\0\40\0\u0120\0\u0380\0\u0120"+
|
||||
"\0\u0120";
|
||||
"\0\0\0\42\0\104\0\146\0\210\0\252\0\314\0\356"+
|
||||
"\0\u0110\0\u0132\0\42\0\42\0\42\0\42\0\42\0\42"+
|
||||
"\0\u0154\0\u0176\0\u0198\0\u01ba\0\u01dc\0\42\0\u01fe\0\u0220"+
|
||||
"\0\42\0\u0242\0\u0264\0\u0286\0\u02a8\0\u02ca\0\u02ec\0\u030e"+
|
||||
"\0\u0330\0\u0352\0\u0374\0\u0396\0\42\0\u0132\0\u03b8\0\u0132"+
|
||||
"\0\u0132";
|
||||
|
||||
private static int [] zzUnpackRowMap() {
|
||||
int [] result = new int[41];
|
||||
@@ -218,34 +251,38 @@ public class _JsonLexer implements FlexLexer {
|
||||
private static final int [] ZZ_TRANS = zzUnpackTrans();
|
||||
|
||||
private static final String ZZ_TRANS_PACKED_0 =
|
||||
"\1\2\3\3\1\4\1\2\1\5\1\2\1\6\1\7"+
|
||||
"\1\10\1\11\1\2\1\12\1\2\1\12\1\2\1\13"+
|
||||
"\1\14\1\15\1\16\1\17\1\20\1\21\3\12\1\22"+
|
||||
"\3\12\1\23\41\0\3\3\40\0\1\24\1\25\32\0"+
|
||||
"\1\5\2\0\3\5\1\26\1\27\30\5\1\6\2\0"+
|
||||
"\4\6\1\30\1\31\27\6\12\0\1\10\1\11\40\0"+
|
||||
"\1\32\1\33\14\0\1\33\17\0\2\11\1\32\1\33"+
|
||||
"\14\0\1\33\17\0\2\12\1\0\1\12\1\0\2\12"+
|
||||
"\6\0\11\12\12\0\2\12\1\0\1\12\1\0\2\12"+
|
||||
"\6\0\1\12\1\34\7\12\12\0\2\12\1\0\1\12"+
|
||||
"\1\0\2\12\6\0\5\12\1\35\3\12\12\0\2\12"+
|
||||
"\1\0\1\12\1\0\2\12\6\0\2\12\1\36\6\12"+
|
||||
"\2\24\1\0\35\24\5\25\1\37\32\25\1\5\2\0"+
|
||||
"\35\5\1\6\2\0\35\6\12\0\2\40\35\0\3\41"+
|
||||
"\2\0\1\41\33\0\2\12\1\0\1\12\1\0\2\12"+
|
||||
"\6\0\2\12\1\42\6\12\12\0\2\12\1\0\1\12"+
|
||||
"\1\0\2\12\6\0\6\12\1\43\2\12\12\0\2\12"+
|
||||
"\1\0\1\12\1\0\2\12\6\0\6\12\1\44\2\12"+
|
||||
"\4\25\1\45\1\37\32\25\12\0\2\40\1\0\1\33"+
|
||||
"\14\0\1\33\17\0\2\41\36\0\2\12\1\0\1\12"+
|
||||
"\1\0\2\12\6\0\3\12\1\46\5\12\12\0\2\12"+
|
||||
"\1\0\1\12\1\0\2\12\6\0\7\12\1\47\1\12"+
|
||||
"\12\0\2\12\1\0\1\12\1\0\2\12\6\0\6\12"+
|
||||
"\1\50\2\12\12\0\2\12\1\0\1\12\1\0\2\12"+
|
||||
"\6\0\3\12\1\51\5\12";
|
||||
"\1\2\2\3\1\4\1\2\1\3\2\2\1\5\1\2"+
|
||||
"\1\6\1\7\1\10\1\11\1\2\1\12\1\2\1\12"+
|
||||
"\1\2\1\13\1\14\1\15\1\16\1\17\1\20\1\21"+
|
||||
"\3\12\1\22\3\12\1\23\43\0\2\3\2\0\1\3"+
|
||||
"\37\0\1\24\3\0\1\25\32\0\1\5\1\0\6\5"+
|
||||
"\1\26\1\27\30\5\1\6\1\0\7\6\1\30\1\31"+
|
||||
"\27\6\14\0\1\10\1\11\42\0\1\32\1\33\14\0"+
|
||||
"\1\33\21\0\2\11\1\32\1\33\14\0\1\33\13\0"+
|
||||
"\1\12\5\0\2\12\1\0\1\12\1\0\2\12\6\0"+
|
||||
"\11\12\6\0\1\12\5\0\2\12\1\0\1\12\1\0"+
|
||||
"\2\12\6\0\1\12\1\34\7\12\6\0\1\12\5\0"+
|
||||
"\2\12\1\0\1\12\1\0\2\12\6\0\5\12\1\35"+
|
||||
"\3\12\6\0\1\12\5\0\2\12\1\0\1\12\1\0"+
|
||||
"\2\12\6\0\2\12\1\36\6\12\1\24\1\0\2\24"+
|
||||
"\3\0\33\24\7\25\1\37\32\25\1\5\1\0\40\5"+
|
||||
"\1\6\1\0\40\6\14\0\2\40\37\0\3\41\2\0"+
|
||||
"\1\41\27\0\1\12\5\0\2\12\1\0\1\12\1\0"+
|
||||
"\2\12\6\0\2\12\1\42\6\12\6\0\1\12\5\0"+
|
||||
"\2\12\1\0\1\12\1\0\2\12\6\0\6\12\1\43"+
|
||||
"\2\12\6\0\1\12\5\0\2\12\1\0\1\12\1\0"+
|
||||
"\2\12\6\0\6\12\1\44\2\12\3\25\1\45\3\25"+
|
||||
"\1\37\32\25\14\0\2\40\1\0\1\33\14\0\1\33"+
|
||||
"\21\0\2\41\32\0\1\12\5\0\2\12\1\0\1\12"+
|
||||
"\1\0\2\12\6\0\3\12\1\46\5\12\6\0\1\12"+
|
||||
"\5\0\2\12\1\0\1\12\1\0\2\12\6\0\7\12"+
|
||||
"\1\47\1\12\6\0\1\12\5\0\2\12\1\0\1\12"+
|
||||
"\1\0\2\12\6\0\6\12\1\50\2\12\6\0\1\12"+
|
||||
"\5\0\2\12\1\0\1\12\1\0\2\12\6\0\3\12"+
|
||||
"\1\51\5\12";
|
||||
|
||||
private static int [] zzUnpackTrans() {
|
||||
int [] result = new int[928];
|
||||
int [] result = new int[986];
|
||||
int offset = 0;
|
||||
offset = zzUnpackTrans(ZZ_TRANS_PACKED_0, offset, result);
|
||||
return result;
|
||||
@@ -269,13 +306,10 @@ public class _JsonLexer 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"
|
||||
};
|
||||
@@ -308,6 +342,9 @@ public class _JsonLexer implements FlexLexer {
|
||||
return j;
|
||||
}
|
||||
|
||||
/** the input device */
|
||||
private java.io.Reader zzReader;
|
||||
|
||||
/** the current state of the DFA */
|
||||
private int zzState;
|
||||
|
||||
@@ -318,15 +355,9 @@ public class _JsonLexer 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;
|
||||
|
||||
@@ -345,25 +376,24 @@ public class _JsonLexer 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 _JsonLexer() {
|
||||
this((java.io.Reader)null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates a new scanner
|
||||
*
|
||||
* @param in the java.io.Reader to read input from.
|
||||
*/
|
||||
public _JsonLexer(java.io.Reader in) {
|
||||
this.zzReader = in;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new scanner.
|
||||
* There is also java.io.Reader version of this constructor.
|
||||
*
|
||||
* @param in the java.io.Inputstream to read input from.
|
||||
*/
|
||||
public _JsonLexer(java.io.InputStream in) {
|
||||
this(new java.io.InputStreamReader(in));
|
||||
}
|
||||
|
||||
/**
|
||||
* Unpacks the compressed character translation table.
|
||||
@@ -372,10 +402,10 @@ public class _JsonLexer 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 < 2218) {
|
||||
while (i < 2828) {
|
||||
int count = packed.charAt(i++);
|
||||
char value = packed.charAt(i++);
|
||||
do map[j++] = value; while (--count > 0);
|
||||
@@ -383,19 +413,17 @@ public class _JsonLexer 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;
|
||||
@@ -452,7 +480,7 @@ public class _JsonLexer 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);
|
||||
}
|
||||
|
||||
|
||||
@@ -523,7 +551,6 @@ public class _JsonLexer implements FlexLexer {
|
||||
int zzMarkedPosL;
|
||||
int zzEndReadL = zzEndRead;
|
||||
CharSequence zzBufferL = zzBuffer;
|
||||
char[] zzBufferArrayL = zzBufferArray;
|
||||
char [] zzCMapL = ZZ_CMAP;
|
||||
|
||||
int [] zzTransL = ZZ_TRANS;
|
||||
@@ -539,12 +566,20 @@ public class _JsonLexer 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;
|
||||
@@ -564,14 +599,15 @@ public class _JsonLexer 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;
|
||||
@@ -584,81 +620,81 @@ public class _JsonLexer implements FlexLexer {
|
||||
// store back cached position
|
||||
zzMarkedPos = zzMarkedPosL;
|
||||
|
||||
switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) {
|
||||
case 8:
|
||||
{ return R_CURLY;
|
||||
}
|
||||
case 18: break;
|
||||
case 7:
|
||||
{ return L_CURLY;
|
||||
}
|
||||
case 19: break;
|
||||
case 16:
|
||||
{ return NULL;
|
||||
}
|
||||
case 20: break;
|
||||
case 6:
|
||||
{ return INDENTIFIER;
|
||||
}
|
||||
case 21: break;
|
||||
case 9:
|
||||
{ return L_BRACKET;
|
||||
}
|
||||
case 22: break;
|
||||
case 13:
|
||||
{ return LINE_COMMENT;
|
||||
}
|
||||
case 23: break;
|
||||
case 11:
|
||||
{ return COMMA;
|
||||
}
|
||||
case 24: break;
|
||||
case 2:
|
||||
{ return com.intellij.psi.TokenType.WHITE_SPACE;
|
||||
}
|
||||
case 25: break;
|
||||
case 3:
|
||||
{ return DOUBLE_QUOTED_STRING;
|
||||
}
|
||||
case 26: break;
|
||||
case 1:
|
||||
{ return com.intellij.psi.TokenType.BAD_CHARACTER;
|
||||
}
|
||||
case 27: break;
|
||||
case 15:
|
||||
{ return TRUE;
|
||||
}
|
||||
case 28: break;
|
||||
case 12:
|
||||
{ return COLON;
|
||||
}
|
||||
case 29: break;
|
||||
case 4:
|
||||
{ return SINGLE_QUOTED_STRING;
|
||||
}
|
||||
case 30: break;
|
||||
case 5:
|
||||
{ return NUMBER;
|
||||
}
|
||||
case 31: break;
|
||||
case 17:
|
||||
{ return FALSE;
|
||||
}
|
||||
case 32: break;
|
||||
case 14:
|
||||
{ return BLOCK_COMMENT;
|
||||
}
|
||||
case 33: break;
|
||||
case 10:
|
||||
{ return R_BRACKET;
|
||||
}
|
||||
case 34: 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 18: break;
|
||||
case 2:
|
||||
{ return com.intellij.psi.TokenType.WHITE_SPACE;
|
||||
}
|
||||
case 19: break;
|
||||
case 3:
|
||||
{ return DOUBLE_QUOTED_STRING;
|
||||
}
|
||||
case 20: break;
|
||||
case 4:
|
||||
{ return SINGLE_QUOTED_STRING;
|
||||
}
|
||||
case 21: break;
|
||||
case 5:
|
||||
{ return NUMBER;
|
||||
}
|
||||
case 22: break;
|
||||
case 6:
|
||||
{ return INDENTIFIER;
|
||||
}
|
||||
case 23: break;
|
||||
case 7:
|
||||
{ return L_CURLY;
|
||||
}
|
||||
case 24: break;
|
||||
case 8:
|
||||
{ return R_CURLY;
|
||||
}
|
||||
case 25: break;
|
||||
case 9:
|
||||
{ return L_BRACKET;
|
||||
}
|
||||
case 26: break;
|
||||
case 10:
|
||||
{ return R_BRACKET;
|
||||
}
|
||||
case 27: break;
|
||||
case 11:
|
||||
{ return COMMA;
|
||||
}
|
||||
case 28: break;
|
||||
case 12:
|
||||
{ return COLON;
|
||||
}
|
||||
case 29: break;
|
||||
case 13:
|
||||
{ return LINE_COMMENT;
|
||||
}
|
||||
case 30: break;
|
||||
case 14:
|
||||
{ return BLOCK_COMMENT;
|
||||
}
|
||||
case 31: break;
|
||||
case 15:
|
||||
{ return TRUE;
|
||||
}
|
||||
case 32: break;
|
||||
case 16:
|
||||
{ return NULL;
|
||||
}
|
||||
case 33: break;
|
||||
case 17:
|
||||
{ return FALSE;
|
||||
}
|
||||
case 34: break;
|
||||
default:
|
||||
zzScanError(ZZ_NO_MATCH);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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