diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java index a45a9bda8..73ba8bb9a 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java @@ -107,12 +107,14 @@ import com.jpexs.decompiler.flash.tags.base.DrawableTag; import com.jpexs.decompiler.flash.tags.base.Exportable; import com.jpexs.decompiler.flash.tags.base.FontTag; import com.jpexs.decompiler.flash.tags.base.ImageTag; +import com.jpexs.decompiler.flash.tags.base.ImportTag; import com.jpexs.decompiler.flash.tags.base.MorphShapeTag; import com.jpexs.decompiler.flash.tags.base.PlaceObjectTypeTag; import com.jpexs.decompiler.flash.tags.base.RemoveTag; import com.jpexs.decompiler.flash.tags.base.RenderContext; import com.jpexs.decompiler.flash.tags.base.ShapeTag; import com.jpexs.decompiler.flash.tags.base.SoundTag; +import com.jpexs.decompiler.flash.tags.base.SymbolClassTypeTag; import com.jpexs.decompiler.flash.tags.base.TextTag; import com.jpexs.decompiler.flash.tags.enums.ImageFormat; import com.jpexs.decompiler.flash.timeline.AS2Package; @@ -161,6 +163,7 @@ import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; +import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; @@ -214,6 +217,9 @@ public final class SWF implements SWFContainerItem, Timelined { @Internal public ReadOnlyTagList readOnlyTags; + @Internal + public ReadOnlyTagList readOnlyLocalTags; + public boolean hasEndTag = true; /** @@ -494,6 +500,20 @@ public final class SWF implements SWFContainerItem, Timelined { return exportName; } + public FontTag getFontByClass(String fontClass) { + if (fontClass == null) { + return null; + } + for (Tag t : getTags()) { + if (t instanceof FontTag) { + if (fontClass.equals(((FontTag) t).getClassName())) { + return (FontTag) t; + } + } + } + return null; + } + public FontTag getFont(int fontId) { CharacterTag characterTag = getCharacters().get(fontId); if (characterTag instanceof FontTag) { @@ -593,7 +613,13 @@ public final class SWF implements SWFContainerItem, Timelined { public int getNextCharacterId() { int max = 0; - for (int characterId : getCharacters().keySet()) { + Set ids = new HashSet<>(getCharacters().keySet()); + for (Tag t : tags) { + if (t instanceof ImportTag) { + ids.addAll(((ImportTag) t).getAssets().keySet()); + } + } + for (int characterId : ids) { if (characterId > max) { max = characterId; } @@ -824,7 +850,7 @@ public final class SWF implements SWFContainerItem, Timelined { sos.writeFIXED8(frameRate); sos.writeUI16(frameCount); - sos.writeTags(getTags()); + sos.writeTags(getLocalTags()); if (hasEndTag) { sos.writeUI16(0); } @@ -1066,6 +1092,10 @@ public final class SWF implements SWFContainerItem, Timelined { decompress(is, new NulStream(), true); } + public SWF(InputStream is, String file, String fileTitle, ProgressListener listener, boolean parallelRead, boolean checkOnly, boolean lazy) throws IOException, InterruptedException { + this(is, file, fileTitle, listener, parallelRead, checkOnly, lazy, null); + } + /** * Construct SWF from stream * @@ -1076,10 +1106,11 @@ public final class SWF implements SWFContainerItem, Timelined { * @param parallelRead Use parallel threads? * @param checkOnly Check only file validity * @param lazy + * @param resolver Resolver for imported tags * @throws IOException * @throws java.lang.InterruptedException */ - public SWF(InputStream is, String file, String fileTitle, ProgressListener listener, boolean parallelRead, boolean checkOnly, boolean lazy) throws IOException, InterruptedException { + public SWF(InputStream is, String file, String fileTitle, ProgressListener listener, boolean parallelRead, boolean checkOnly, boolean lazy, UrlResolver resolver) throws IOException, InterruptedException { this.file = file; this.fileTitle = fileTitle; ByteArrayOutputStream baos = new ByteArrayOutputStream(); @@ -1112,11 +1143,15 @@ public final class SWF implements SWFContainerItem, Timelined { } this.tags = tags; readOnlyTags = null; + readOnlyLocalTags = null; if (!checkOnly) { checkInvalidSprites(); updateCharacters(); assignExportNamesToSymbols(); assignClassesToSymbols(); + if (resolver != null) { + resolveImported(resolver); + } SWFDecompilerPlugin.fireSwfParsed(this); } else { boolean hasNonUnknownTag = false; @@ -1139,6 +1174,94 @@ public final class SWF implements SWFContainerItem, Timelined { getASMs(true); // Add scriptNames to ASMs } + private void resolveImported(UrlResolver resolver) { + for (int p = 0; p < tags.size(); p++) { + Tag t = tags.get(p); + if (t instanceof ImportTag) { + ImportTag importTag = (ImportTag) t; + + SWF iSwf = resolver.resolveUrl(importTag.getUrl()); + if (iSwf != null) { + Map exportedMap1 = new HashMap<>(); + Map classesMap1 = new HashMap<>(); + + for (Tag t2 : iSwf.tags) { + if (t2 instanceof ExportAssetsTag) { + ExportAssetsTag sc = (ExportAssetsTag) t2; + Map m2 = sc.getTagToNameMap(); + for (int key : m2.keySet()) { + if (!exportedMap1.containsKey(key)) { + exportedMap1.put(key, m2.get(key)); + } + } + } + if (t2 instanceof SymbolClassTag) { + SymbolClassTag sc = (SymbolClassTag) t2; + Map m2 = sc.getTagToNameMap(); + for (int key : m2.keySet()) { + if (!classesMap1.containsKey(key)) { + classesMap1.put(key, m2.get(key)); + } + } + } + } + Map exportedMap2 = new HashMap<>(); + for (int k : exportedMap1.keySet()) { + exportedMap2.put(exportedMap1.get(k), k); + } + + Map classesMap2 = new HashMap<>(); + for (int k : classesMap1.keySet()) { + classesMap2.put(classesMap1.get(k), k); + } + + Map importedMap1 = importTag.getAssets(); + Map importedMap2 = new HashMap<>(); + for (int k : importedMap1.keySet()) { + importedMap2.put(importedMap1.get(k), k); + } + + int pos = 0; + for (String key : importedMap2.keySet()) { + if (!exportedMap2.containsKey(key)) { + continue; //? + } + int exportedId = exportedMap2.get(key); + int importedId = importedMap2.get(key); + for (Tag cht : iSwf.tags) { + if ((cht instanceof CharacterIdTag) && (((CharacterIdTag) cht).getCharacterId() == exportedId) && !(cht instanceof PlaceObjectTypeTag) && !(cht instanceof RemoveTag)) { + CharacterIdTag ch = (CharacterIdTag) cht; + cht.setSwf(this); + ch.setCharacterId(importedId); + cht.setImported(true); + tags.add(p + 1 + pos, cht); + pos++; + } + } + } + + int newId = getNextCharacterId(); + pos = 0; + for (String key : classesMap2.keySet()) { + int exportedId = classesMap2.get(key); + int importedId = newId++; + for (Tag cht : iSwf.tags) { + if ((cht instanceof CharacterIdTag) && (((CharacterIdTag) cht).getCharacterId() == exportedId) && !(cht instanceof PlaceObjectTypeTag) && !(cht instanceof RemoveTag)) { + CharacterIdTag ch = (CharacterIdTag) cht; + cht.setSwf(this); + ch.setCharacterId(importedId); + cht.setImported(true); + tags.add(p + 1 + pos, cht); + pos++; + } + } + } + updateCharacters(); + } + } + } + } + @Override public SWF getSwf() { return this; @@ -2338,6 +2461,7 @@ public final class SWF implements SWFContainerItem, Timelined { public void clearReadOnlyListCache() { readOnlyTags = null; + readOnlyLocalTags = null; for (Tag tag : tags) { if (tag instanceof DefineSpriteTag) { ((DefineSpriteTag) tag).clearReadOnlyListCache(); @@ -3059,13 +3183,15 @@ public final class SWF implements SWFContainerItem, Timelined { timelined.setModified(true); timelined.resetTimeline(); } else // timeline should be always the swf here - if (removeDependencies) { - removeTagWithDependenciesFromTimeline(tag, timelined.getTimeline()); - timelined.setModified(true); - } else { - boolean modified = removeTagFromTimeline(tag, timelined.getTimeline()); - if (modified) { + { + if (removeDependencies) { + removeTagWithDependenciesFromTimeline(tag, timelined.getTimeline()); timelined.setModified(true); + } else { + boolean modified = removeTagFromTimeline(tag, timelined.getTimeline()); + if (modified) { + timelined.setModified(true); + } } } } @@ -3079,6 +3205,20 @@ public final class SWF implements SWFContainerItem, Timelined { return readOnlyTags; } + public ReadOnlyTagList getLocalTags() { + if (readOnlyLocalTags == null) { + List localTags = new ArrayList<>(); + for (Tag t : tags) { + if (!t.isImported()) { + localTags.add(t); + } + } + readOnlyLocalTags = new ReadOnlyTagList(localTags); + } + + return readOnlyLocalTags; + } + /** * Adds a tag to the SWF * diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/UrlResolver.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/UrlResolver.java new file mode 100644 index 000000000..0dc8b138a --- /dev/null +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/UrlResolver.java @@ -0,0 +1,10 @@ +package com.jpexs.decompiler.flash; + +/** + * + * @author JPEXS + */ +public interface UrlResolver { + + public SWF resolveUrl(String url); +} diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScriptLexer.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScriptLexer.java index 61a9ff209..85eb0fdce 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScriptLexer.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScriptLexer.java @@ -17,973 +17,920 @@ * License along with this library. */ package com.jpexs.decompiler.flash.abc.avm2.parser.script; - import com.jpexs.decompiler.flash.abc.avm2.parser.AVM2ParseException; import java.io.StringReader; import java.util.ArrayList; import java.util.List; import java.util.Stack; + /** - * This class is a scanner generated by + * This class is a scanner generated by * JFlex 1.6.0 - * from the specification file - * C:/FFDec/jpexs-decompiler/libsrc/ffdec_lib/lexers/actionscript3_script.flex + * from the specification file D:/Dropbox/Programovani/JavaSE/FFDec/libsrc/ffdec_lib/lexers/actionscript3_script.flex */ public final class ActionScriptLexer { - /** - * This character denotes the end of file - */ - public static final int YYEOF = -1; + /** 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; + /** initial size of the lookahead buffer */ + private static final int ZZ_BUFFERSIZE = 16384; - /** - * lexical states - */ - public static final int YYINITIAL = 0; + /** lexical states */ + public static final int YYINITIAL = 0; + public static final int STRING = 2; + public static final int CHARLITERAL = 4; + public static final int XMLOPENTAG = 6; + public static final int XMLOPENTAGATTRIB = 8; + public static final int XMLINSTROPENTAG = 10; + public static final int XMLINSTRATTRIB = 12; + public static final int XMLCDATA = 14; + public static final int XMLCOMMENT = 16; + public static final int XML = 18; + public static final int OIDENTIFIER = 20; - public static final int STRING = 2; + /** + * ZZ_LEXSTATE[l] is the state in the DFA for the lexical state l + * ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l + * at the beginning of a line + * l is of the form l = 2*k, k a non negative integer + */ + private static final int ZZ_LEXSTATE[] = { + 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, + 8, 8, 9, 9, 10, 10 + }; - public static final int CHARLITERAL = 4; + /** + * Translates characters to character classes + */ + private static final String ZZ_CMAP_PACKED = + "\11\0\1\13\1\2\1\112\1\3\1\1\22\0\1\13\1\14\1\33"+ + "\1\0\1\6\1\110\1\105\1\34\1\76\1\77\1\5\1\45\1\103"+ + "\1\15\1\11\1\4\1\35\3\41\4\42\2\21\1\17\1\102\1\12"+ + "\1\32\1\16\1\23\1\111\1\27\1\20\1\25\1\26\1\43\1\20"+ + "\2\10\1\74\4\10\1\75\5\10\1\30\3\10\1\37\2\10\1\24"+ + "\1\46\1\31\1\107\1\10\1\0\1\52\1\50\1\54\1\63\1\44"+ + "\1\40\1\73\1\66\1\61\1\10\1\53\1\64\1\71\1\57\1\56"+ + "\1\67\1\10\1\51\1\55\1\60\1\62\1\72\1\65\1\36\1\70"+ + "\1\10\1\100\1\106\1\101\1\104\6\0\1\112\41\0\1\47\2\0"+ + "\1\6\12\0\1\6\1\0\1\22\2\0\1\6\5\0\27\6\1\0"+ + "\37\6\1\0\u01ca\6\4\0\14\6\16\0\5\6\7\0\1\6\1\0"+ + "\1\6\21\0\160\7\5\6\1\0\2\6\2\0\4\6\1\0\1\6"+ + "\6\0\1\6\1\0\3\6\1\0\1\6\1\0\24\6\1\0\123\6"+ + "\1\0\213\6\1\0\5\7\2\0\246\6\1\0\46\6\2\0\1\6"+ + "\7\0\47\6\11\0\55\7\1\0\1\7\1\0\2\7\1\0\2\7"+ + "\1\0\1\7\10\0\33\6\5\0\3\6\35\0\13\7\5\0\53\6"+ + "\37\7\4\0\2\6\1\7\143\6\1\0\1\6\7\7\2\0\6\7"+ + "\2\6\2\7\1\0\4\7\2\6\12\7\3\6\2\0\1\6\20\0"+ + "\1\6\1\7\36\6\33\7\2\0\131\6\13\7\1\6\16\0\12\7"+ + "\41\6\11\7\2\6\4\0\1\6\5\0\26\6\4\7\1\6\11\7"+ + "\1\6\3\7\1\6\5\7\22\0\31\6\3\7\104\0\23\6\61\0"+ + "\40\7\66\6\3\7\1\6\22\7\1\6\7\7\12\6\2\7\2\0"+ + "\12\7\1\0\20\6\3\7\1\0\10\6\2\0\2\6\2\0\26\6"+ + "\1\0\7\6\1\0\1\6\3\0\4\6\2\0\1\7\1\6\7\7"+ + "\2\0\2\7\2\0\3\7\1\6\10\0\1\7\4\0\2\6\1\0"+ + "\3\6\2\7\2\0\12\7\2\6\17\0\3\7\1\0\6\6\4\0"+ + "\2\6\2\0\26\6\1\0\7\6\1\0\2\6\1\0\2\6\1\0"+ + "\2\6\2\0\1\7\1\0\5\7\4\0\2\7\2\0\3\7\3\0"+ + "\1\7\7\0\4\6\1\0\1\6\7\0\14\7\3\6\1\7\13\0"+ + "\3\7\1\0\11\6\1\0\3\6\1\0\26\6\1\0\7\6\1\0"+ + "\2\6\1\0\5\6\2\0\1\7\1\6\10\7\1\0\3\7\1\0"+ + "\3\7\2\0\1\6\17\0\2\6\2\7\2\0\12\7\21\0\3\7"+ + "\1\0\10\6\2\0\2\6\2\0\26\6\1\0\7\6\1\0\2\6"+ + "\1\0\5\6\2\0\1\7\1\6\7\7\2\0\2\7\2\0\3\7"+ + "\10\0\2\7\4\0\2\6\1\0\3\6\2\7\2\0\12\7\1\0"+ + "\1\6\20\0\1\7\1\6\1\0\6\6\3\0\3\6\1\0\4\6"+ + "\3\0\2\6\1\0\1\6\1\0\2\6\3\0\2\6\3\0\3\6"+ + "\3\0\14\6\4\0\5\7\3\0\3\7\1\0\4\7\2\0\1\6"+ + "\6\0\1\7\16\0\12\7\20\0\4\7\1\0\10\6\1\0\3\6"+ + "\1\0\27\6\1\0\20\6\3\0\1\6\7\7\1\0\3\7\1\0"+ + "\4\7\7\0\2\7\1\0\2\6\6\0\2\6\2\7\2\0\12\7"+ + "\21\0\3\7\1\0\10\6\1\0\3\6\1\0\27\6\1\0\12\6"+ + "\1\0\5\6\2\0\1\7\1\6\7\7\1\0\3\7\1\0\4\7"+ + "\7\0\2\7\7\0\1\6\1\0\2\6\2\7\2\0\12\7\1\0"+ + "\2\6\16\0\3\7\1\0\10\6\1\0\3\6\1\0\51\6\2\0"+ + "\1\6\7\7\1\0\3\7\1\0\4\7\1\6\10\0\1\7\10\0"+ + "\2\6\2\7\2\0\12\7\12\0\6\6\2\0\2\7\1\0\22\6"+ + "\3\0\30\6\1\0\11\6\1\0\1\6\2\0\7\6\3\0\1\7"+ + "\4\0\6\7\1\0\1\7\1\0\10\7\6\0\12\7\2\0\2\7"+ + "\15\0\60\6\1\7\2\6\7\7\5\0\7\6\10\7\1\0\12\7"+ + "\47\0\2\6\1\0\1\6\2\0\2\6\1\0\1\6\2\0\1\6"+ + "\6\0\4\6\1\0\7\6\1\0\3\6\1\0\1\6\1\0\1\6"+ + "\2\0\2\6\1\0\4\6\1\7\2\6\6\7\1\0\2\7\1\6"+ + "\2\0\5\6\1\0\1\6\1\0\6\7\2\0\12\7\2\0\4\6"+ + "\40\0\1\6\27\0\2\7\6\0\12\7\13\0\1\7\1\0\1\7"+ + "\1\0\1\7\4\0\2\7\10\6\1\0\44\6\4\0\24\7\1\0"+ + "\2\7\5\6\13\7\1\0\44\7\11\0\1\7\71\0\53\6\24\7"+ + "\1\6\12\7\6\0\6\6\4\7\4\6\3\7\1\6\3\7\2\6"+ + "\7\7\3\6\4\7\15\6\14\7\1\6\17\7\2\0\46\6\1\0"+ + "\1\6\5\0\1\6\2\0\53\6\1\0\u014d\6\1\0\4\6\2\0"+ + "\7\6\1\0\1\6\1\0\4\6\2\0\51\6\1\0\4\6\2\0"+ + "\41\6\1\0\4\6\2\0\7\6\1\0\1\6\1\0\4\6\2\0"+ + "\17\6\1\0\71\6\1\0\4\6\2\0\103\6\2\0\3\7\40\0"+ + "\20\6\20\0\125\6\14\0\u026c\6\2\0\21\6\1\0\32\6\5\0"+ + "\113\6\3\0\3\7\10\6\7\0\15\6\1\0\4\6\3\7\13\0"+ + "\22\6\3\7\13\0\22\6\2\7\14\0\15\6\1\0\3\6\1\0"+ + "\2\7\14\0\64\6\40\7\3\0\1\6\4\0\1\6\1\7\2\0"+ + "\12\7\41\0\3\7\2\0\12\7\6\0\130\6\10\0\51\6\1\7"+ + "\1\6\5\0\106\6\12\0\37\6\1\0\14\7\4\0\14\7\12\0"+ + "\12\7\36\6\2\0\5\6\13\0\54\6\4\0\21\7\7\6\2\7"+ + "\6\0\12\7\46\0\27\6\5\7\4\0\65\6\12\7\1\0\35\7"+ + "\2\0\13\7\6\0\12\7\15\0\1\6\10\0\16\7\102\0\5\7"+ + "\57\6\21\7\7\6\4\0\12\7\21\0\11\7\14\0\3\7\36\6"+ + "\15\7\2\6\12\7\54\6\16\7\14\0\44\6\24\7\10\0\12\7"+ + "\3\0\3\6\12\7\44\6\122\0\3\7\1\0\25\7\4\6\1\7"+ + "\4\6\3\7\2\6\1\0\2\7\6\0\300\6\66\7\6\0\4\7"+ + "\u0116\6\2\0\6\6\2\0\46\6\2\0\6\6\2\0\10\6\1\0"+ + "\1\6\1\0\1\6\1\0\1\6\1\0\37\6\2\0\65\6\1\0"+ + "\7\6\1\0\1\6\3\0\3\6\1\0\7\6\3\0\4\6\2\0"+ + "\6\6\4\0\15\6\5\0\3\6\1\0\7\6\3\0\14\0\2\0"+ + "\32\0\1\112\1\112\25\0\2\7\23\0\1\7\33\0\1\0\1\6"+ + "\15\0\1\6\20\0\15\6\63\0\15\7\4\0\1\7\3\0\14\7"+ + "\21\0\1\6\4\0\1\6\2\0\12\6\1\0\1\6\3\0\5\6"+ + "\6\0\1\6\1\0\1\6\1\0\1\6\1\0\4\6\1\0\13\6"+ + "\2\0\4\6\5\0\5\6\4\0\1\6\21\0\43\7\2\6\4\7"+ + "\7\0\u0a70\0\57\6\1\0\57\6\1\0\205\6\6\0\4\6\3\7"+ + "\2\6\14\0\46\6\1\0\1\6\5\0\1\6\2\0\70\6\7\0"+ + "\1\6\17\0\1\7\27\6\11\0\7\6\1\0\7\6\1\0\7\6"+ + "\1\0\7\6\1\0\7\6\1\0\7\6\1\0\7\6\1\0\7\6"+ + "\1\0\40\7\57\0\1\6\u01c0\0\21\0\4\0\2\6\1\7\31\0"+ + "\17\7\1\0\5\6\2\0\3\7\2\6\4\0\126\6\2\0\2\7"+ + "\2\0\3\6\1\0\132\6\1\0\4\6\5\0\51\6\3\0\136\6"+ + "\21\0\33\6\65\0\20\6\u0200\0\u19b6\6\112\0\u51cd\6\63\0\u048d\6"+ + "\103\0\56\6\2\0\u010d\6\3\0\20\6\12\7\2\6\24\0\57\6"+ + "\1\7\4\0\12\7\1\0\37\6\1\0\1\7\106\6\14\7\45\0"+ + "\11\6\2\0\147\6\2\0\4\6\1\0\36\6\2\0\2\6\105\0"+ + "\13\6\1\7\3\6\1\7\4\6\1\7\27\6\5\7\30\0\64\6"+ + "\14\0\2\7\62\6\21\7\13\0\12\7\6\0\22\7\6\6\3\0"+ + "\1\6\4\0\12\7\34\6\10\7\2\0\27\6\15\7\14\0\35\6"+ + "\3\0\4\7\57\6\16\7\16\0\1\6\12\7\6\0\5\6\1\7"+ + "\12\6\12\7\5\6\1\0\51\6\16\7\11\0\3\6\1\7\10\6"+ + "\2\7\2\0\12\7\6\0\27\6\3\0\1\6\3\7\62\6\1\7"+ + "\1\6\3\7\2\6\2\7\5\6\2\7\1\6\1\7\1\6\30\0"+ + "\3\6\2\0\13\6\5\7\2\0\3\6\2\7\12\0\6\6\2\0"+ + "\6\6\2\0\6\6\11\0\7\6\1\0\7\6\1\0\53\6\1\0"+ + "\4\6\4\0\2\6\132\0\43\6\10\7\1\0\2\7\2\0\12\7"+ + "\6\0\u2ba4\6\14\0\27\6\4\0\61\6\4\0\u1800\0\u0900\0\u016e\6"+ + "\2\0\152\6\46\0\7\6\14\0\5\6\5\0\1\6\1\7\12\6"+ + "\1\0\15\6\1\0\5\6\1\0\1\6\1\0\2\6\1\0\2\6"+ + "\1\0\154\6\41\0\u016b\6\22\0\100\6\2\0\66\6\10\0\40\0"+ + "\14\6\4\0\20\7\20\0\16\7\5\0\2\7\30\0\3\7\40\0"+ + "\5\6\1\0\207\6\23\0\12\7\7\0\32\6\4\0\1\7\1\0"+ + "\32\6\13\0\131\6\3\0\6\6\2\0\6\6\2\0\6\6\2\0"+ + "\3\6\41\0\2\0\14\6\1\0\32\6\1\0\23\6\1\0\2\6"+ + "\1\0\17\6\2\0\16\6\42\0\173\6\105\0\65\7\210\0\1\7"+ + "\202\0\35\6\3\0\61\6\17\0\1\7\37\0\40\6\20\0\21\6"+ + "\1\7\10\6\1\7\5\0\46\6\5\7\5\0\36\6\2\0\44\6"+ + "\4\0\10\6\1\0\5\7\52\0\236\6\2\0\12\7\126\0\50\6"+ + "\10\0\64\6\234\0\u0137\6\11\0\26\6\12\0\10\6\230\0\6\6"+ + "\2\0\1\6\1\0\54\6\1\0\2\6\3\0\1\6\2\0\27\6"+ + "\12\0\27\6\11\0\37\6\141\0\26\6\12\0\32\6\106\0\70\6"+ + "\6\0\2\6\100\0\1\6\3\7\1\0\2\7\5\0\4\7\4\6"+ + "\1\0\3\6\1\0\33\6\4\0\3\7\4\0\1\7\40\0\35\6"+ + "\3\0\35\6\43\0\10\6\1\0\34\6\2\7\31\0\66\6\12\0"+ + "\26\6\12\0\23\6\15\0\22\6\156\0\111\6\u03b7\0\3\7\65\6"+ + "\17\7\37\0\12\7\17\0\4\7\55\6\13\7\25\0\31\6\7\0"+ + "\12\7\6\0\3\7\44\6\16\7\1\0\12\7\20\0\43\6\1\7"+ + "\2\0\1\6\11\0\3\7\60\6\16\7\4\6\13\0\12\7\1\6"+ + "\45\0\22\6\1\0\31\6\14\7\170\0\57\6\14\7\5\0\12\7"+ + "\7\0\3\7\1\0\10\6\2\0\2\6\2\0\26\6\1\0\7\6"+ + "\1\0\2\6\1\0\5\6\2\0\1\7\1\6\7\7\2\0\2\7"+ + "\2\0\3\7\11\0\1\7\5\0\5\6\2\7\2\0\7\7\3\0"+ + "\5\7\u010b\0\60\6\24\7\2\6\1\0\1\6\10\0\12\7\246\0"+ + "\57\6\7\7\2\0\11\7\77\0\60\6\21\7\3\0\1\6\13\0"+ + "\12\7\46\0\53\6\15\7\10\0\12\7\u01d6\0\100\6\12\7\25\0"+ + "\1\6\u01c0\0\71\6\u0507\0\u0399\6\147\0\157\7\u0b91\0\u042f\6\u33d1\0"+ + "\u0239\6\7\0\37\6\1\0\12\7\146\0\36\6\2\0\5\7\13\0"+ + "\60\6\7\7\11\0\4\6\14\0\12\7\11\0\25\6\5\0\23\6"+ + "\u0370\0\105\6\13\0\1\6\56\7\20\0\4\7\15\6\u4060\0\2\6"+ + "\u0bfe\0\153\6\5\0\15\6\3\0\11\6\7\0\12\6\3\0\2\7"+ + "\u14c6\0\5\7\3\0\6\7\10\0\10\7\2\0\7\7\36\0\4\7"+ + "\224\0\3\7\u01bb\0\125\6\1\0\107\6\1\0\2\6\2\0\1\6"+ + "\2\0\2\6\2\0\4\6\1\0\14\6\1\0\1\6\1\0\7\6"+ + "\1\0\101\6\1\0\4\6\2\0\10\6\1\0\7\6\1\0\34\6"+ + "\1\0\4\6\1\0\5\6\1\0\1\6\3\0\7\6\1\0\u0154\6"+ + "\2\0\31\6\1\0\31\6\1\0\37\6\1\0\31\6\1\0\37\6"+ + "\1\0\31\6\1\0\37\6\1\0\31\6\1\0\37\6\1\0\31\6"+ + "\1\0\10\6\2\0\62\7\u1000\0\305\6\13\0\7\7\u0529\0\4\6"+ + "\1\0\33\6\1\0\2\6\1\0\1\6\2\0\1\6\1\0\12\6"+ + "\1\0\4\6\1\0\1\6\1\0\1\6\6\0\1\6\4\0\1\6"+ + "\1\0\1\6\1\0\1\6\1\0\3\6\1\0\2\6\1\0\1\6"+ + "\2\0\1\6\1\0\1\6\1\0\1\6\1\0\1\6\1\0\1\6"+ + "\1\0\2\6\1\0\1\6\2\0\4\6\1\0\7\6\1\0\4\6"+ + "\1\0\4\6\1\0\1\6\1\0\12\6\1\0\21\6\5\0\3\6"+ + "\1\0\5\6\1\0\21\6\u1144\0\ua6d7\6\51\0\u1035\6\13\0\336\6"+ + "\u3fe2\0\u021e\6\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\u06ed\0"+ + "\360\7\uffff\0\uffff\0\ufe12\0"; - public static final int XMLOPENTAG = 6; + /** + * Translates characters to character classes + */ + private static final char [] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED); - public static final int XMLOPENTAGATTRIB = 8; + /** + * Translates DFA states to action switch labels. + */ + private static final int [] ZZ_ACTION = zzUnpackAction(); - public static final int XMLINSTROPENTAG = 10; + private static final String ZZ_ACTION_PACKED_0 = + "\13\0\1\1\2\2\1\3\1\4\1\5\1\6\1\7"+ + "\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\17"+ + "\1\20\1\21\1\22\1\23\1\15\2\6\1\24\1\25"+ + "\21\6\1\26\1\27\1\30\1\31\1\32\1\33\1\34"+ + "\1\35\1\36\1\37\1\40\1\41\1\42\2\43\1\44"+ + "\1\1\1\42\2\45\2\46\1\42\2\1\1\47\1\50"+ + "\1\1\1\51\2\1\1\52\1\1\1\53\2\42\2\54"+ + "\2\42\1\55\1\42\1\1\1\56\1\3\1\0\1\57"+ + "\1\60\1\61\1\62\1\63\1\64\1\65\1\66\1\67"+ + "\1\70\1\71\1\72\1\73\1\74\1\75\1\76\1\0"+ + "\1\77\1\63\1\100\1\0\2\100\7\6\1\101\1\102"+ + "\1\0\2\6\1\103\16\6\1\104\1\105\1\106\4\6"+ + "\1\107\13\6\1\110\1\111\1\112\1\113\1\114\1\115"+ + "\1\116\1\117\1\120\1\116\1\121\1\122\1\123\1\124"+ + "\1\125\1\126\1\116\1\127\1\0\1\130\1\0\1\131"+ + "\1\0\1\132\1\133\1\0\1\134\4\0\1\135\2\0"+ + "\1\136\2\137\1\140\1\137\2\3\2\0\1\141\1\142"+ + "\1\143\1\144\1\145\1\0\1\63\1\146\2\147\1\100"+ + "\1\6\1\150\5\6\1\151\6\6\1\152\4\6\1\153"+ + "\4\6\1\154\6\6\1\155\12\6\1\156\1\6\1\157"+ + "\1\6\1\160\3\0\1\134\1\161\1\162\1\0\1\163"+ + "\2\0\1\164\1\165\1\0\1\166\1\147\1\100\4\6"+ + "\1\167\1\170\2\6\1\171\12\6\1\172\1\173\1\6"+ + "\1\174\11\6\1\175\5\6\1\176\1\6\1\177\2\0"+ + "\1\200\1\201\1\0\1\147\1\100\1\202\1\203\2\6"+ + "\1\204\1\6\1\205\1\206\1\6\1\207\1\6\1\210"+ + "\4\6\1\211\11\6\1\212\5\6\1\0\1\147\1\100"+ + "\3\6\1\213\1\6\1\214\1\215\1\6\1\216\1\6"+ + "\1\217\3\6\1\220\3\6\1\221\4\6\1\222\1\6"+ + "\1\0\1\147\1\100\1\223\1\6\1\224\10\6\1\225"+ + "\1\226\1\6\1\227\1\230\1\6\1\0\1\147\1\100"+ + "\1\231\1\232\1\233\3\6\1\234\3\6\1\235\1\0"+ + "\1\147\1\100\1\236\1\6\1\237\1\6\1\240\1\241"+ + "\1\242\1\147\1\100\1\243\1\244\6\100"; - public static final int XMLINSTRATTRIB = 12; + private static int [] zzUnpackAction() { + int [] result = new int[447]; + int offset = 0; + offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result); + return result; + } - public static final int XMLCDATA = 14; - - public static final int XMLCOMMENT = 16; - - public static final int XML = 18; - - public static final int OIDENTIFIER = 20; - - /** - * ZZ_LEXSTATE[l] is the state in the DFA for the lexical state l - * ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l - * at the beginning of a line - * l is of the form l = 2*k, k a non negative integer - */ - private static final int ZZ_LEXSTATE[] = { - 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, - 8, 8, 9, 9, 10, 10 - }; - - /** - * Translates characters to character classes - */ - private static final String ZZ_CMAP_PACKED - = "\11\0\1\13\1\2\1\112\1\3\1\1\22\0\1\13\1\14\1\33" - + "\1\0\1\6\1\110\1\105\1\34\1\76\1\77\1\5\1\45\1\103" - + "\1\15\1\11\1\4\1\35\3\41\4\42\2\21\1\17\1\102\1\12" - + "\1\32\1\16\1\23\1\111\1\27\1\20\1\25\1\26\1\43\1\20" - + "\2\10\1\74\4\10\1\75\5\10\1\30\3\10\1\37\2\10\1\24" - + "\1\46\1\31\1\107\1\10\1\0\1\52\1\50\1\54\1\63\1\44" - + "\1\40\1\73\1\66\1\61\1\10\1\53\1\64\1\71\1\57\1\56" - + "\1\67\1\10\1\51\1\55\1\60\1\62\1\72\1\65\1\36\1\70" - + "\1\10\1\100\1\106\1\101\1\104\6\0\1\112\41\0\1\47\2\0" - + "\1\6\12\0\1\6\1\0\1\22\2\0\1\6\5\0\27\6\1\0" - + "\37\6\1\0\u01ca\6\4\0\14\6\16\0\5\6\7\0\1\6\1\0" - + "\1\6\21\0\160\7\5\6\1\0\2\6\2\0\4\6\1\0\1\6" - + "\6\0\1\6\1\0\3\6\1\0\1\6\1\0\24\6\1\0\123\6" - + "\1\0\213\6\1\0\5\7\2\0\246\6\1\0\46\6\2\0\1\6" - + "\7\0\47\6\11\0\55\7\1\0\1\7\1\0\2\7\1\0\2\7" - + "\1\0\1\7\10\0\33\6\5\0\3\6\35\0\13\7\5\0\53\6" - + "\37\7\4\0\2\6\1\7\143\6\1\0\1\6\7\7\2\0\6\7" - + "\2\6\2\7\1\0\4\7\2\6\12\7\3\6\2\0\1\6\20\0" - + "\1\6\1\7\36\6\33\7\2\0\131\6\13\7\1\6\16\0\12\7" - + "\41\6\11\7\2\6\4\0\1\6\5\0\26\6\4\7\1\6\11\7" - + "\1\6\3\7\1\6\5\7\22\0\31\6\3\7\104\0\23\6\61\0" - + "\40\7\66\6\3\7\1\6\22\7\1\6\7\7\12\6\2\7\2\0" - + "\12\7\1\0\20\6\3\7\1\0\10\6\2\0\2\6\2\0\26\6" - + "\1\0\7\6\1\0\1\6\3\0\4\6\2\0\1\7\1\6\7\7" - + "\2\0\2\7\2\0\3\7\1\6\10\0\1\7\4\0\2\6\1\0" - + "\3\6\2\7\2\0\12\7\2\6\17\0\3\7\1\0\6\6\4\0" - + "\2\6\2\0\26\6\1\0\7\6\1\0\2\6\1\0\2\6\1\0" - + "\2\6\2\0\1\7\1\0\5\7\4\0\2\7\2\0\3\7\3\0" - + "\1\7\7\0\4\6\1\0\1\6\7\0\14\7\3\6\1\7\13\0" - + "\3\7\1\0\11\6\1\0\3\6\1\0\26\6\1\0\7\6\1\0" - + "\2\6\1\0\5\6\2\0\1\7\1\6\10\7\1\0\3\7\1\0" - + "\3\7\2\0\1\6\17\0\2\6\2\7\2\0\12\7\21\0\3\7" - + "\1\0\10\6\2\0\2\6\2\0\26\6\1\0\7\6\1\0\2\6" - + "\1\0\5\6\2\0\1\7\1\6\7\7\2\0\2\7\2\0\3\7" - + "\10\0\2\7\4\0\2\6\1\0\3\6\2\7\2\0\12\7\1\0" - + "\1\6\20\0\1\7\1\6\1\0\6\6\3\0\3\6\1\0\4\6" - + "\3\0\2\6\1\0\1\6\1\0\2\6\3\0\2\6\3\0\3\6" - + "\3\0\14\6\4\0\5\7\3\0\3\7\1\0\4\7\2\0\1\6" - + "\6\0\1\7\16\0\12\7\20\0\4\7\1\0\10\6\1\0\3\6" - + "\1\0\27\6\1\0\20\6\3\0\1\6\7\7\1\0\3\7\1\0" - + "\4\7\7\0\2\7\1\0\2\6\6\0\2\6\2\7\2\0\12\7" - + "\21\0\3\7\1\0\10\6\1\0\3\6\1\0\27\6\1\0\12\6" - + "\1\0\5\6\2\0\1\7\1\6\7\7\1\0\3\7\1\0\4\7" - + "\7\0\2\7\7\0\1\6\1\0\2\6\2\7\2\0\12\7\1\0" - + "\2\6\16\0\3\7\1\0\10\6\1\0\3\6\1\0\51\6\2\0" - + "\1\6\7\7\1\0\3\7\1\0\4\7\1\6\10\0\1\7\10\0" - + "\2\6\2\7\2\0\12\7\12\0\6\6\2\0\2\7\1\0\22\6" - + "\3\0\30\6\1\0\11\6\1\0\1\6\2\0\7\6\3\0\1\7" - + "\4\0\6\7\1\0\1\7\1\0\10\7\6\0\12\7\2\0\2\7" - + "\15\0\60\6\1\7\2\6\7\7\5\0\7\6\10\7\1\0\12\7" - + "\47\0\2\6\1\0\1\6\2\0\2\6\1\0\1\6\2\0\1\6" - + "\6\0\4\6\1\0\7\6\1\0\3\6\1\0\1\6\1\0\1\6" - + "\2\0\2\6\1\0\4\6\1\7\2\6\6\7\1\0\2\7\1\6" - + "\2\0\5\6\1\0\1\6\1\0\6\7\2\0\12\7\2\0\4\6" - + "\40\0\1\6\27\0\2\7\6\0\12\7\13\0\1\7\1\0\1\7" - + "\1\0\1\7\4\0\2\7\10\6\1\0\44\6\4\0\24\7\1\0" - + "\2\7\5\6\13\7\1\0\44\7\11\0\1\7\71\0\53\6\24\7" - + "\1\6\12\7\6\0\6\6\4\7\4\6\3\7\1\6\3\7\2\6" - + "\7\7\3\6\4\7\15\6\14\7\1\6\17\7\2\0\46\6\1\0" - + "\1\6\5\0\1\6\2\0\53\6\1\0\u014d\6\1\0\4\6\2\0" - + "\7\6\1\0\1\6\1\0\4\6\2\0\51\6\1\0\4\6\2\0" - + "\41\6\1\0\4\6\2\0\7\6\1\0\1\6\1\0\4\6\2\0" - + "\17\6\1\0\71\6\1\0\4\6\2\0\103\6\2\0\3\7\40\0" - + "\20\6\20\0\125\6\14\0\u026c\6\2\0\21\6\1\0\32\6\5\0" - + "\113\6\3\0\3\7\10\6\7\0\15\6\1\0\4\6\3\7\13\0" - + "\22\6\3\7\13\0\22\6\2\7\14\0\15\6\1\0\3\6\1\0" - + "\2\7\14\0\64\6\40\7\3\0\1\6\4\0\1\6\1\7\2\0" - + "\12\7\41\0\3\7\2\0\12\7\6\0\130\6\10\0\51\6\1\7" - + "\1\6\5\0\106\6\12\0\37\6\1\0\14\7\4\0\14\7\12\0" - + "\12\7\36\6\2\0\5\6\13\0\54\6\4\0\21\7\7\6\2\7" - + "\6\0\12\7\46\0\27\6\5\7\4\0\65\6\12\7\1\0\35\7" - + "\2\0\13\7\6\0\12\7\15\0\1\6\10\0\16\7\102\0\5\7" - + "\57\6\21\7\7\6\4\0\12\7\21\0\11\7\14\0\3\7\36\6" - + "\15\7\2\6\12\7\54\6\16\7\14\0\44\6\24\7\10\0\12\7" - + "\3\0\3\6\12\7\44\6\122\0\3\7\1\0\25\7\4\6\1\7" - + "\4\6\3\7\2\6\1\0\2\7\6\0\300\6\66\7\6\0\4\7" - + "\u0116\6\2\0\6\6\2\0\46\6\2\0\6\6\2\0\10\6\1\0" - + "\1\6\1\0\1\6\1\0\1\6\1\0\37\6\2\0\65\6\1\0" - + "\7\6\1\0\1\6\3\0\3\6\1\0\7\6\3\0\4\6\2\0" - + "\6\6\4\0\15\6\5\0\3\6\1\0\7\6\3\0\14\0\2\0" - + "\32\0\1\112\1\112\25\0\2\7\23\0\1\7\33\0\1\0\1\6" - + "\15\0\1\6\20\0\15\6\63\0\15\7\4\0\1\7\3\0\14\7" - + "\21\0\1\6\4\0\1\6\2\0\12\6\1\0\1\6\3\0\5\6" - + "\6\0\1\6\1\0\1\6\1\0\1\6\1\0\4\6\1\0\13\6" - + "\2\0\4\6\5\0\5\6\4\0\1\6\21\0\43\7\2\6\4\7" - + "\7\0\u0a70\0\57\6\1\0\57\6\1\0\205\6\6\0\4\6\3\7" - + "\2\6\14\0\46\6\1\0\1\6\5\0\1\6\2\0\70\6\7\0" - + "\1\6\17\0\1\7\27\6\11\0\7\6\1\0\7\6\1\0\7\6" - + "\1\0\7\6\1\0\7\6\1\0\7\6\1\0\7\6\1\0\7\6" - + "\1\0\40\7\57\0\1\6\u01c0\0\21\0\4\0\2\6\1\7\31\0" - + "\17\7\1\0\5\6\2\0\3\7\2\6\4\0\126\6\2\0\2\7" - + "\2\0\3\6\1\0\132\6\1\0\4\6\5\0\51\6\3\0\136\6" - + "\21\0\33\6\65\0\20\6\u0200\0\u19b6\6\112\0\u51cd\6\63\0\u048d\6" - + "\103\0\56\6\2\0\u010d\6\3\0\20\6\12\7\2\6\24\0\57\6" - + "\1\7\4\0\12\7\1\0\37\6\1\0\1\7\106\6\14\7\45\0" - + "\11\6\2\0\147\6\2\0\4\6\1\0\36\6\2\0\2\6\105\0" - + "\13\6\1\7\3\6\1\7\4\6\1\7\27\6\5\7\30\0\64\6" - + "\14\0\2\7\62\6\21\7\13\0\12\7\6\0\22\7\6\6\3\0" - + "\1\6\4\0\12\7\34\6\10\7\2\0\27\6\15\7\14\0\35\6" - + "\3\0\4\7\57\6\16\7\16\0\1\6\12\7\6\0\5\6\1\7" - + "\12\6\12\7\5\6\1\0\51\6\16\7\11\0\3\6\1\7\10\6" - + "\2\7\2\0\12\7\6\0\27\6\3\0\1\6\3\7\62\6\1\7" - + "\1\6\3\7\2\6\2\7\5\6\2\7\1\6\1\7\1\6\30\0" - + "\3\6\2\0\13\6\5\7\2\0\3\6\2\7\12\0\6\6\2\0" - + "\6\6\2\0\6\6\11\0\7\6\1\0\7\6\1\0\53\6\1\0" - + "\4\6\4\0\2\6\132\0\43\6\10\7\1\0\2\7\2\0\12\7" - + "\6\0\u2ba4\6\14\0\27\6\4\0\61\6\4\0\u1800\0\u0900\0\u016e\6" - + "\2\0\152\6\46\0\7\6\14\0\5\6\5\0\1\6\1\7\12\6" - + "\1\0\15\6\1\0\5\6\1\0\1\6\1\0\2\6\1\0\2\6" - + "\1\0\154\6\41\0\u016b\6\22\0\100\6\2\0\66\6\10\0\40\0" - + "\14\6\4\0\20\7\20\0\16\7\5\0\2\7\30\0\3\7\40\0" - + "\5\6\1\0\207\6\23\0\12\7\7\0\32\6\4\0\1\7\1\0" - + "\32\6\13\0\131\6\3\0\6\6\2\0\6\6\2\0\6\6\2\0" - + "\3\6\41\0\2\0\14\6\1\0\32\6\1\0\23\6\1\0\2\6" - + "\1\0\17\6\2\0\16\6\42\0\173\6\105\0\65\7\210\0\1\7" - + "\202\0\35\6\3\0\61\6\17\0\1\7\37\0\40\6\20\0\21\6" - + "\1\7\10\6\1\7\5\0\46\6\5\7\5\0\36\6\2\0\44\6" - + "\4\0\10\6\1\0\5\7\52\0\236\6\2\0\12\7\126\0\50\6" - + "\10\0\64\6\234\0\u0137\6\11\0\26\6\12\0\10\6\230\0\6\6" - + "\2\0\1\6\1\0\54\6\1\0\2\6\3\0\1\6\2\0\27\6" - + "\12\0\27\6\11\0\37\6\141\0\26\6\12\0\32\6\106\0\70\6" - + "\6\0\2\6\100\0\1\6\3\7\1\0\2\7\5\0\4\7\4\6" - + "\1\0\3\6\1\0\33\6\4\0\3\7\4\0\1\7\40\0\35\6" - + "\3\0\35\6\43\0\10\6\1\0\34\6\2\7\31\0\66\6\12\0" - + "\26\6\12\0\23\6\15\0\22\6\156\0\111\6\u03b7\0\3\7\65\6" - + "\17\7\37\0\12\7\17\0\4\7\55\6\13\7\25\0\31\6\7\0" - + "\12\7\6\0\3\7\44\6\16\7\1\0\12\7\20\0\43\6\1\7" - + "\2\0\1\6\11\0\3\7\60\6\16\7\4\6\13\0\12\7\1\6" - + "\45\0\22\6\1\0\31\6\14\7\170\0\57\6\14\7\5\0\12\7" - + "\7\0\3\7\1\0\10\6\2\0\2\6\2\0\26\6\1\0\7\6" - + "\1\0\2\6\1\0\5\6\2\0\1\7\1\6\7\7\2\0\2\7" - + "\2\0\3\7\11\0\1\7\5\0\5\6\2\7\2\0\7\7\3\0" - + "\5\7\u010b\0\60\6\24\7\2\6\1\0\1\6\10\0\12\7\246\0" - + "\57\6\7\7\2\0\11\7\77\0\60\6\21\7\3\0\1\6\13\0" - + "\12\7\46\0\53\6\15\7\10\0\12\7\u01d6\0\100\6\12\7\25\0" - + "\1\6\u01c0\0\71\6\u0507\0\u0399\6\147\0\157\7\u0b91\0\u042f\6\u33d1\0" - + "\u0239\6\7\0\37\6\1\0\12\7\146\0\36\6\2\0\5\7\13\0" - + "\60\6\7\7\11\0\4\6\14\0\12\7\11\0\25\6\5\0\23\6" - + "\u0370\0\105\6\13\0\1\6\56\7\20\0\4\7\15\6\u4060\0\2\6" - + "\u0bfe\0\153\6\5\0\15\6\3\0\11\6\7\0\12\6\3\0\2\7" - + "\u14c6\0\5\7\3\0\6\7\10\0\10\7\2\0\7\7\36\0\4\7" - + "\224\0\3\7\u01bb\0\125\6\1\0\107\6\1\0\2\6\2\0\1\6" - + "\2\0\2\6\2\0\4\6\1\0\14\6\1\0\1\6\1\0\7\6" - + "\1\0\101\6\1\0\4\6\2\0\10\6\1\0\7\6\1\0\34\6" - + "\1\0\4\6\1\0\5\6\1\0\1\6\3\0\7\6\1\0\u0154\6" - + "\2\0\31\6\1\0\31\6\1\0\37\6\1\0\31\6\1\0\37\6" - + "\1\0\31\6\1\0\37\6\1\0\31\6\1\0\37\6\1\0\31\6" - + "\1\0\10\6\2\0\62\7\u1000\0\305\6\13\0\7\7\u0529\0\4\6" - + "\1\0\33\6\1\0\2\6\1\0\1\6\2\0\1\6\1\0\12\6" - + "\1\0\4\6\1\0\1\6\1\0\1\6\6\0\1\6\4\0\1\6" - + "\1\0\1\6\1\0\1\6\1\0\3\6\1\0\2\6\1\0\1\6" - + "\2\0\1\6\1\0\1\6\1\0\1\6\1\0\1\6\1\0\1\6" - + "\1\0\2\6\1\0\1\6\2\0\4\6\1\0\7\6\1\0\4\6" - + "\1\0\4\6\1\0\1\6\1\0\12\6\1\0\21\6\5\0\3\6" - + "\1\0\5\6\1\0\21\6\u1144\0\ua6d7\6\51\0\u1035\6\13\0\336\6" - + "\u3fe2\0\u021e\6\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\u06ed\0" - + "\360\7\uffff\0\uffff\0\ufe12\0"; - - /** - * Translates characters to character classes - */ - private static final char[] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED); - - /** - * Translates DFA states to action switch labels. - */ - private static final int[] ZZ_ACTION = zzUnpackAction(); - - private static final String ZZ_ACTION_PACKED_0 - = "\13\0\1\1\2\2\1\3\1\4\1\5\1\6\1\7" - + "\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\17" - + "\1\20\1\21\1\22\1\23\1\15\2\6\1\24\1\25" - + "\21\6\1\26\1\27\1\30\1\31\1\32\1\33\1\34" - + "\1\35\1\36\1\37\1\40\1\41\1\42\2\43\1\44" - + "\1\1\1\42\2\45\2\46\1\42\2\1\1\47\1\50" - + "\1\1\1\51\2\1\1\52\1\1\1\53\2\42\2\54" - + "\2\42\1\55\1\42\1\1\1\56\1\3\1\0\1\57" - + "\1\60\1\61\1\62\1\63\1\64\1\65\1\66\1\67" - + "\1\70\1\71\1\72\1\73\1\74\1\75\1\76\1\0" - + "\1\77\1\63\1\100\1\0\2\100\7\6\1\101\1\102" - + "\1\0\2\6\1\103\16\6\1\104\1\105\1\106\4\6" - + "\1\107\13\6\1\110\1\111\1\112\1\113\1\114\1\115" - + "\1\116\1\117\1\120\1\116\1\121\1\122\1\123\1\124" - + "\1\125\1\126\1\116\1\127\1\0\1\130\1\0\1\131" - + "\1\0\1\132\1\133\1\0\1\134\4\0\1\135\2\0" - + "\1\136\2\137\1\140\1\137\2\3\2\0\1\141\1\142" - + "\1\143\1\144\1\145\1\0\1\63\1\146\2\147\1\100" - + "\1\6\1\150\5\6\1\151\6\6\1\152\4\6\1\153" - + "\4\6\1\154\6\6\1\155\12\6\1\156\1\6\1\157" - + "\1\6\1\160\3\0\1\134\1\161\1\162\1\0\1\163" - + "\2\0\1\164\1\165\1\0\1\166\1\147\1\100\4\6" - + "\1\167\1\170\2\6\1\171\12\6\1\172\1\173\1\6" - + "\1\174\11\6\1\175\5\6\1\176\1\6\1\177\2\0" - + "\1\200\1\201\1\0\1\147\1\100\1\202\1\203\2\6" - + "\1\204\1\6\1\205\1\206\1\6\1\207\1\6\1\210" - + "\4\6\1\211\11\6\1\212\5\6\1\0\1\147\1\100" - + "\3\6\1\213\1\6\1\214\1\215\1\6\1\216\1\6" - + "\1\217\3\6\1\220\3\6\1\221\4\6\1\222\1\6" - + "\1\0\1\147\1\100\1\223\1\6\1\224\10\6\1\225" - + "\1\226\1\6\1\227\1\230\1\6\1\0\1\147\1\100" - + "\1\231\1\232\1\233\3\6\1\234\3\6\1\235\1\0" - + "\1\147\1\100\1\236\1\6\1\237\1\6\1\240\1\241" - + "\1\242\1\147\1\100\1\243\1\244\6\100"; - - private static int[] zzUnpackAction() { - int[] result = new int[447]; - int offset = 0; - offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result); - return result; + private static int zzUnpackAction(String packed, int offset, int [] result) { + int i = 0; /* index in packed string */ + int j = offset; /* index in unpacked array */ + int l = packed.length(); + while (i < l) { + int count = packed.charAt(i++); + int value = packed.charAt(i++); + do result[j++] = value; while (--count > 0); } + return j; + } - private static int zzUnpackAction(String packed, int offset, int[] result) { - int i = 0; /* index in packed string */ - int j = offset; /* index in unpacked array */ + /** + * Translates a state to a row index in the transition table + */ + private static final int [] ZZ_ROWMAP = zzUnpackRowMap(); - int l = packed.length(); - while (i < l) { - int count = packed.charAt(i++); - int value = packed.charAt(i++); - do { - result[j++] = value; - } while (--count > 0); - } - return j; + private static final String ZZ_ROWMAP_PACKED_0 = + "\0\0\0\113\0\226\0\341\0\u012c\0\u0177\0\u01c2\0\u020d"+ + "\0\u0258\0\u02a3\0\u02ee\0\u0339\0\u0384\0\u0339\0\u03cf\0\u041a"+ + "\0\u0465\0\u04b0\0\u04fb\0\u0546\0\u0591\0\u05dc\0\u0627\0\u0672"+ + "\0\u06bd\0\u0339\0\u0339\0\u0339\0\u0708\0\u0339\0\u0339\0\u0753"+ + "\0\u079e\0\u07e9\0\u0834\0\u087f\0\u08ca\0\u0915\0\u0960\0\u09ab"+ + "\0\u09f6\0\u0a41\0\u0a8c\0\u0ad7\0\u0b22\0\u0b6d\0\u0bb8\0\u0c03"+ + "\0\u0c4e\0\u0c99\0\u0ce4\0\u0d2f\0\u0d7a\0\u0339\0\u0339\0\u0339"+ + "\0\u0339\0\u0339\0\u0339\0\u0339\0\u0dc5\0\u0e10\0\u0e5b\0\u0ea6"+ + "\0\u0339\0\u0ef1\0\u0f3c\0\u0339\0\u0339\0\u0f87\0\u0fd2\0\u101d"+ + "\0\u0339\0\u1068\0\u0339\0\u10b3\0\u10fe\0\u1149\0\u0339\0\u0339"+ + "\0\u1194\0\u0339\0\u11df\0\u122a\0\u0339\0\u1275\0\u0339\0\u0339"+ + "\0\u12c0\0\u130b\0\u0339\0\u1356\0\u13a1\0\u0339\0\u13ec\0\u1437"+ + "\0\u0339\0\u1482\0\u14cd\0\u0339\0\u0339\0\u1518\0\u0339\0\u1563"+ + "\0\u0339\0\u15ae\0\u15f9\0\u0339\0\u0339\0\u1644\0\u0339\0\u0339"+ + "\0\u168f\0\u0339\0\u0339\0\u16da\0\u1725\0\u1770\0\u17bb\0\u1806"+ + "\0\u1851\0\u189c\0\u18e7\0\u1932\0\u197d\0\u19c8\0\u1a13\0\u1a5e"+ + "\0\u1aa9\0\u0339\0\u0339\0\u1af4\0\u1b3f\0\u1b8a\0\u04b0\0\u1bd5"+ + "\0\u1c20\0\u1c6b\0\u1cb6\0\u1d01\0\u1d4c\0\u1d97\0\u1de2\0\u1e2d"+ + "\0\u1e78\0\u1ec3\0\u1f0e\0\u1f59\0\u1fa4\0\u04b0\0\u04b0\0\u1fef"+ + "\0\u203a\0\u2085\0\u20d0\0\u211b\0\u04b0\0\u2166\0\u21b1\0\u21fc"+ + "\0\u2247\0\u2292\0\u22dd\0\u2328\0\u2373\0\u23be\0\u2409\0\u2454"+ + "\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339"+ + "\0\u0339\0\u249f\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339"+ + "\0\u24ea\0\u0339\0\u1149\0\u0339\0\u1194\0\u0339\0\u11df\0\u0339"+ + "\0\u0339\0\u1275\0\u2535\0\u2580\0\u25cb\0\u2616\0\u2661\0\u26ac"+ + "\0\u26f7\0\u2742\0\u0339\0\u0339\0\u249f\0\u0339\0\u24ea\0\u278d"+ + "\0\u0339\0\u27d8\0\u2823\0\u0339\0\u0339\0\u0339\0\u286e\0\u0339"+ + "\0\u28b9\0\u28b9\0\u0339\0\u2904\0\u1806\0\u294f\0\u299a\0\u04b0"+ + "\0\u29e5\0\u2a30\0\u2a7b\0\u2ac6\0\u2b11\0\u2b5c\0\u2ba7\0\u2bf2"+ + "\0\u2c3d\0\u2c88\0\u2cd3\0\u2d1e\0\u04b0\0\u2d69\0\u2db4\0\u2dff"+ + "\0\u2e4a\0\u04b0\0\u2e95\0\u2ee0\0\u2f2b\0\u2f76\0\u04b0\0\u2fc1"+ + "\0\u300c\0\u3057\0\u30a2\0\u30ed\0\u3138\0\u04b0\0\u3183\0\u31ce"+ + "\0\u3219\0\u3264\0\u32af\0\u32fa\0\u3345\0\u3390\0\u33db\0\u3426"+ + "\0\u04b0\0\u3471\0\u04b0\0\u34bc\0\u04b0\0\u3507\0\u3552\0\u2535"+ + "\0\u0339\0\u0339\0\u0339\0\u359d\0\u0339\0\u35e8\0\u3633\0\u367e"+ + "\0\u0339\0\u36c9\0\u0339\0\u3714\0\u375f\0\u37aa\0\u37f5\0\u3840"+ + "\0\u388b\0\u04b0\0\u04b0\0\u38d6\0\u3921\0\u04b0\0\u396c\0\u39b7"+ + "\0\u3a02\0\u3a4d\0\u3a98\0\u3ae3\0\u3b2e\0\u3b79\0\u3bc4\0\u3c0f"+ + "\0\u04b0\0\u04b0\0\u3c5a\0\u04b0\0\u3ca5\0\u3cf0\0\u3d3b\0\u3d86"+ + "\0\u3dd1\0\u3e1c\0\u3e67\0\u3eb2\0\u3efd\0\u04b0\0\u3f48\0\u3f93"+ + "\0\u3fde\0\u4029\0\u4074\0\u04b0\0\u40bf\0\u0339\0\u249f\0\u410a"+ + "\0\u0339\0\u0339\0\u4155\0\u41a0\0\u41eb\0\u04b0\0\u4236\0\u4281"+ + "\0\u42cc\0\u04b0\0\u4317\0\u04b0\0\u04b0\0\u4362\0\u04b0\0\u43ad"+ + "\0\u04b0\0\u43f8\0\u4443\0\u448e\0\u44d9\0\u04b0\0\u4524\0\u456f"+ + "\0\u45ba\0\u4605\0\u4650\0\u469b\0\u46e6\0\u4731\0\u477c\0\u04b0"+ + "\0\u47c7\0\u4812\0\u485d\0\u48a8\0\u48f3\0\u493e\0\u4989\0\u49d4"+ + "\0\u4a1f\0\u4a6a\0\u4ab5\0\u04b0\0\u4b00\0\u04b0\0\u04b0\0\u4b4b"+ + "\0\u04b0\0\u4b96\0\u04b0\0\u4be1\0\u4c2c\0\u4c77\0\u04b0\0\u4cc2"+ + "\0\u4d0d\0\u4d58\0\u04b0\0\u4da3\0\u4dee\0\u4e39\0\u4e84\0\u04b0"+ + "\0\u4ecf\0\u4f1a\0\u4f65\0\u4fb0\0\u04b0\0\u4ffb\0\u04b0\0\u5046"+ + "\0\u5091\0\u50dc\0\u5127\0\u5172\0\u51bd\0\u5208\0\u5253\0\u04b0"+ + "\0\u04b0\0\u529e\0\u04b0\0\u04b0\0\u52e9\0\u5334\0\u537f\0\u53ca"+ + "\0\u04b0\0\u04b0\0\u04b0\0\u5415\0\u5460\0\u54ab\0\u04b0\0\u54f6"+ + "\0\u5541\0\u558c\0\u04b0\0\u55d7\0\u5622\0\u566d\0\u04b0\0\u56b8"+ + "\0\u04b0\0\u5703\0\u04b0\0\u04b0\0\u0339\0\u0339\0\u574e\0\u04b0"+ + "\0\u04b0\0\u5799\0\u57e4\0\u582f\0\u587a\0\u58c5\0\u1770"; + + private static int [] zzUnpackRowMap() { + int [] result = new int[447]; + int offset = 0; + offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result); + return result; + } + + private static int zzUnpackRowMap(String packed, int offset, int [] result) { + int i = 0; /* index in packed string */ + int j = offset; /* index in unpacked array */ + int l = packed.length(); + while (i < l) { + int high = packed.charAt(i++) << 16; + result[j++] = high | packed.charAt(i++); } + return j; + } - /** - * Translates a state to a row index in the transition table - */ - private static final int[] ZZ_ROWMAP = zzUnpackRowMap(); + /** + * The transition table of the DFA + */ + private static final int [] ZZ_TRANS = zzUnpackTrans(); - private static final String ZZ_ROWMAP_PACKED_0 - = "\0\0\0\113\0\226\0\341\0\u012c\0\u0177\0\u01c2\0\u020d" - + "\0\u0258\0\u02a3\0\u02ee\0\u0339\0\u0384\0\u0339\0\u03cf\0\u041a" - + "\0\u0465\0\u04b0\0\u04fb\0\u0546\0\u0591\0\u05dc\0\u0627\0\u0672" - + "\0\u06bd\0\u0339\0\u0339\0\u0339\0\u0708\0\u0339\0\u0339\0\u0753" - + "\0\u079e\0\u07e9\0\u0834\0\u087f\0\u08ca\0\u0915\0\u0960\0\u09ab" - + "\0\u09f6\0\u0a41\0\u0a8c\0\u0ad7\0\u0b22\0\u0b6d\0\u0bb8\0\u0c03" - + "\0\u0c4e\0\u0c99\0\u0ce4\0\u0d2f\0\u0d7a\0\u0339\0\u0339\0\u0339" - + "\0\u0339\0\u0339\0\u0339\0\u0339\0\u0dc5\0\u0e10\0\u0e5b\0\u0ea6" - + "\0\u0339\0\u0ef1\0\u0f3c\0\u0339\0\u0339\0\u0f87\0\u0fd2\0\u101d" - + "\0\u0339\0\u1068\0\u0339\0\u10b3\0\u10fe\0\u1149\0\u0339\0\u0339" - + "\0\u1194\0\u0339\0\u11df\0\u122a\0\u0339\0\u1275\0\u0339\0\u0339" - + "\0\u12c0\0\u130b\0\u0339\0\u1356\0\u13a1\0\u0339\0\u13ec\0\u1437" - + "\0\u0339\0\u1482\0\u14cd\0\u0339\0\u0339\0\u1518\0\u0339\0\u1563" - + "\0\u0339\0\u15ae\0\u15f9\0\u0339\0\u0339\0\u1644\0\u0339\0\u0339" - + "\0\u168f\0\u0339\0\u0339\0\u16da\0\u1725\0\u1770\0\u17bb\0\u1806" - + "\0\u1851\0\u189c\0\u18e7\0\u1932\0\u197d\0\u19c8\0\u1a13\0\u1a5e" - + "\0\u1aa9\0\u0339\0\u0339\0\u1af4\0\u1b3f\0\u1b8a\0\u04b0\0\u1bd5" - + "\0\u1c20\0\u1c6b\0\u1cb6\0\u1d01\0\u1d4c\0\u1d97\0\u1de2\0\u1e2d" - + "\0\u1e78\0\u1ec3\0\u1f0e\0\u1f59\0\u1fa4\0\u04b0\0\u04b0\0\u1fef" - + "\0\u203a\0\u2085\0\u20d0\0\u211b\0\u04b0\0\u2166\0\u21b1\0\u21fc" - + "\0\u2247\0\u2292\0\u22dd\0\u2328\0\u2373\0\u23be\0\u2409\0\u2454" - + "\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339" - + "\0\u0339\0\u249f\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339\0\u0339" - + "\0\u24ea\0\u0339\0\u1149\0\u0339\0\u1194\0\u0339\0\u11df\0\u0339" - + "\0\u0339\0\u1275\0\u2535\0\u2580\0\u25cb\0\u2616\0\u2661\0\u26ac" - + "\0\u26f7\0\u2742\0\u0339\0\u0339\0\u249f\0\u0339\0\u24ea\0\u278d" - + "\0\u0339\0\u27d8\0\u2823\0\u0339\0\u0339\0\u0339\0\u286e\0\u0339" - + "\0\u28b9\0\u28b9\0\u0339\0\u2904\0\u1806\0\u294f\0\u299a\0\u04b0" - + "\0\u29e5\0\u2a30\0\u2a7b\0\u2ac6\0\u2b11\0\u2b5c\0\u2ba7\0\u2bf2" - + "\0\u2c3d\0\u2c88\0\u2cd3\0\u2d1e\0\u04b0\0\u2d69\0\u2db4\0\u2dff" - + "\0\u2e4a\0\u04b0\0\u2e95\0\u2ee0\0\u2f2b\0\u2f76\0\u04b0\0\u2fc1" - + "\0\u300c\0\u3057\0\u30a2\0\u30ed\0\u3138\0\u04b0\0\u3183\0\u31ce" - + "\0\u3219\0\u3264\0\u32af\0\u32fa\0\u3345\0\u3390\0\u33db\0\u3426" - + "\0\u04b0\0\u3471\0\u04b0\0\u34bc\0\u04b0\0\u3507\0\u3552\0\u2535" - + "\0\u0339\0\u0339\0\u0339\0\u359d\0\u0339\0\u35e8\0\u3633\0\u367e" - + "\0\u0339\0\u36c9\0\u0339\0\u3714\0\u375f\0\u37aa\0\u37f5\0\u3840" - + "\0\u388b\0\u04b0\0\u04b0\0\u38d6\0\u3921\0\u04b0\0\u396c\0\u39b7" - + "\0\u3a02\0\u3a4d\0\u3a98\0\u3ae3\0\u3b2e\0\u3b79\0\u3bc4\0\u3c0f" - + "\0\u04b0\0\u04b0\0\u3c5a\0\u04b0\0\u3ca5\0\u3cf0\0\u3d3b\0\u3d86" - + "\0\u3dd1\0\u3e1c\0\u3e67\0\u3eb2\0\u3efd\0\u04b0\0\u3f48\0\u3f93" - + "\0\u3fde\0\u4029\0\u4074\0\u04b0\0\u40bf\0\u0339\0\u249f\0\u410a" - + "\0\u0339\0\u0339\0\u4155\0\u41a0\0\u41eb\0\u04b0\0\u4236\0\u4281" - + "\0\u42cc\0\u04b0\0\u4317\0\u04b0\0\u04b0\0\u4362\0\u04b0\0\u43ad" - + "\0\u04b0\0\u43f8\0\u4443\0\u448e\0\u44d9\0\u04b0\0\u4524\0\u456f" - + "\0\u45ba\0\u4605\0\u4650\0\u469b\0\u46e6\0\u4731\0\u477c\0\u04b0" - + "\0\u47c7\0\u4812\0\u485d\0\u48a8\0\u48f3\0\u493e\0\u4989\0\u49d4" - + "\0\u4a1f\0\u4a6a\0\u4ab5\0\u04b0\0\u4b00\0\u04b0\0\u04b0\0\u4b4b" - + "\0\u04b0\0\u4b96\0\u04b0\0\u4be1\0\u4c2c\0\u4c77\0\u04b0\0\u4cc2" - + "\0\u4d0d\0\u4d58\0\u04b0\0\u4da3\0\u4dee\0\u4e39\0\u4e84\0\u04b0" - + "\0\u4ecf\0\u4f1a\0\u4f65\0\u4fb0\0\u04b0\0\u4ffb\0\u04b0\0\u5046" - + "\0\u5091\0\u50dc\0\u5127\0\u5172\0\u51bd\0\u5208\0\u5253\0\u04b0" - + "\0\u04b0\0\u529e\0\u04b0\0\u04b0\0\u52e9\0\u5334\0\u537f\0\u53ca" - + "\0\u04b0\0\u04b0\0\u04b0\0\u5415\0\u5460\0\u54ab\0\u04b0\0\u54f6" - + "\0\u5541\0\u558c\0\u04b0\0\u55d7\0\u5622\0\u566d\0\u04b0\0\u56b8" - + "\0\u04b0\0\u5703\0\u04b0\0\u04b0\0\u0339\0\u0339\0\u574e\0\u04b0" - + "\0\u04b0\0\u5799\0\u57e4\0\u582f\0\u587a\0\u58c5\0\u1770"; + private static final String ZZ_TRANS_PACKED_0 = + "\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\14"+ + "\1\22\1\23\1\24\1\17\1\25\1\26\1\27\1\30"+ + "\1\22\1\31\1\14\1\32\1\33\4\22\1\34\1\35"+ + "\1\36\1\37\1\40\2\22\1\41\2\31\1\22\1\42"+ + "\1\43\1\14\1\44\1\45\1\46\1\47\1\22\1\50"+ + "\1\51\1\52\1\53\1\54\1\55\1\56\1\57\1\22"+ + "\1\60\1\22\1\61\2\22\1\62\1\63\1\64\1\65"+ + "\1\66\1\67\1\70\1\71\1\72\1\73\1\74\1\75"+ + "\1\76\1\77\1\100\1\101\1\14\1\102\1\103\1\104"+ + "\30\102\1\105\12\102\1\106\44\102\1\107\1\110\1\111"+ + "\31\107\1\105\11\107\1\106\44\107\1\14\1\112\1\113"+ + "\1\114\1\115\3\14\1\116\2\14\1\114\2\14\1\117"+ + "\2\116\4\14\4\116\5\14\3\116\2\14\2\116\3\14"+ + "\26\116\2\14\1\120\45\14\1\121\44\14\1\122\13\14"+ + "\1\112\1\113\1\114\4\14\1\123\2\14\1\114\3\14"+ + "\2\123\2\14\1\124\1\14\4\123\5\14\3\123\2\14"+ + "\2\123\3\14\26\123\2\14\1\125\45\14\1\126\44\14"+ + "\1\127\12\14\1\130\1\112\1\113\26\130\1\131\62\130"+ + "\1\132\1\133\12\130\1\134\76\130\1\112\1\113\7\130"+ + "\1\135\65\130\1\136\12\130\1\137\1\110\1\111\43\137"+ + "\1\140\1\141\43\137\115\0\1\16\113\0\1\17\7\0"+ + "\1\17\103\0\1\142\1\143\24\0\1\144\112\0\1\145"+ + "\66\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\26\22\26\0\1\146\1\147\6\0\1\150\13\0"+ + "\1\150\3\0\2\150\33\0\1\151\24\0\1\152\1\0"+ + "\1\153\4\0\2\152\4\0\4\152\1\0\1\154\3\0"+ + "\3\152\2\0\2\152\3\0\26\152\2\0\1\155\44\0"+ + "\1\156\75\0\1\157\14\0\1\160\76\0\1\161\13\0"+ + "\1\162\77\0\1\163\104\0\1\150\7\0\1\31\13\0"+ + "\1\31\3\0\2\31\2\164\100\0\1\165\71\0\1\150"+ + "\7\0\1\166\13\0\1\167\2\170\1\0\1\171\1\172"+ + "\2\164\54\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\2\22\1\173\3\22\1\174\2\22\1\175"+ + "\1\176\13\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\1\22\1\177\6\22\3\0\2\22\1\200\11\22"+ + "\1\201\11\22\47\0\1\202\12\0\1\203\114\0\1\204"+ + "\51\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\1\22\1\205\24\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\7\22\1\206\3\0\26\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\5\22\1\207\20\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\2\22\1\210\3\22\1\211"+ + "\5\22\1\212\11\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\7\22\1\213\3\0\10\22\1\214\1\22"+ + "\1\215\2\22\1\216\10\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\22\22\1\217\3\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22"+ + "\1\220\3\0\2\22\1\221\7\22\1\222\13\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\1\22\1\223\14\22\1\224\1\22\1\225\5\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\3\22\1\226"+ + "\4\22\3\0\5\22\1\227\1\22\1\230\11\22\1\231"+ + "\4\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\5\22\1\232\1\22\1\233\16\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\7\22\1\234"+ + "\3\0\6\22\1\235\11\22\1\236\5\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\11\22"+ + "\1\237\4\22\1\240\7\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\1\22\1\241\1\242"+ + "\7\22\1\243\13\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\2\22\1\244\3\22\1\245"+ + "\17\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\7\22\1\246\3\0\26\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\7\22\1\247\16\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\2\22\1\250\23\22\47\0\1\251\52\0\1\252"+ + "\37\0\1\253\53\0\1\254\36\0\1\255\112\0\1\256"+ + "\60\0\1\102\2\0\30\102\1\0\12\102\1\0\44\102"+ + "\2\0\1\104\110\0\1\257\3\0\27\257\1\260\1\261"+ + "\1\257\1\262\1\257\1\263\5\257\1\264\1\257\1\265"+ + "\1\266\5\257\1\267\1\270\1\257\1\271\27\257\1\0"+ + "\1\107\2\0\31\107\1\0\11\107\1\0\44\107\2\0"+ + "\1\111\112\0\1\113\113\0\1\114\7\0\1\114\115\0"+ + "\1\272\104\0\2\273\3\0\1\273\1\0\4\273\2\0"+ + "\4\273\1\0\1\274\2\0\10\273\3\0\26\273\15\0"+ + "\1\275\2\0\30\275\1\276\57\275\10\0\2\277\3\0"+ + "\1\277\1\0\4\277\2\0\4\277\1\0\1\300\2\0"+ + "\10\277\3\0\26\277\33\0\1\301\74\0\1\302\2\0"+ + "\30\302\1\303\1\304\56\302\31\0\1\305\63\0\1\133"+ + "\125\0\1\306\101\0\1\307\3\0\1\310\3\0\1\311"+ + "\2\0\2\310\2\0\1\312\1\0\4\310\5\0\3\310"+ + "\2\0\2\310\3\0\26\310\2\0\1\313\12\0\1\137"+ + "\2\0\43\137\2\0\43\137\1\314\3\0\32\314\1\315"+ + "\1\314\1\263\5\314\1\264\1\316\1\265\1\266\5\314"+ + "\1\267\1\270\1\314\1\317\27\314\1\0\1\142\1\320"+ + "\1\321\110\142\5\322\1\323\105\322\11\0\1\324\122\0"+ + "\1\150\13\0\1\150\3\0\2\150\2\164\56\0\2\152"+ + "\3\0\1\152\1\0\4\152\2\0\4\152\4\0\10\152"+ + "\3\0\26\152\47\0\1\325\112\0\1\326\76\0\1\327"+ + "\13\0\1\330\75\0\1\331\3\0\1\332\13\0\1\332"+ + "\3\0\2\332\2\0\1\331\77\0\1\333\71\0\1\150"+ + "\7\0\1\166\13\0\1\166\3\0\2\166\2\164\57\0"+ + "\1\150\7\0\1\166\13\0\1\167\3\0\1\171\1\172"+ + "\2\164\66\0\2\334\3\0\3\334\5\0\1\335\2\0"+ + "\5\334\3\0\1\334\1\0\1\334\1\0\1\334\6\0"+ + "\1\334\40\0\1\150\7\0\1\166\13\0\1\172\3\0"+ + "\2\172\2\164\57\0\1\150\7\0\1\166\13\0\1\336"+ + "\3\0\2\336\2\164\54\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\14\22\1\337\11\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\1\22\1\340\24\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\7\22\1\341\16\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\7\22\1\342\16\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\10\22\1\343\15\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\4\22\1\344\21\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\5\22\1\345\20\22\23\0"+ + "\1\346\1\0\1\346\7\0\1\346\4\0\4\346\5\0"+ + "\3\346\2\0\2\346\3\0\26\346\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\7\22\1\347\3\0\26\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\10\22\1\350\15\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\5\22\1\351\2\22"+ + "\1\352\15\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\7\22\1\353\16\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\2\22"+ + "\1\354\23\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\10\22\1\355\15\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\2\22"+ + "\1\356\23\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\17\22\1\357\6\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\11\22"+ + "\1\360\14\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\7\22\1\361\3\0\26\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\15\22\1\362"+ + "\10\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\10\22\1\363\10\22\1\364\4\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\14\22\1\365\11\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\12\22\1\366\5\22\1\367"+ + "\5\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\1\22\1\370\7\22\1\371\14\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\17\22\1\372\6\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\5\22\1\373\2\22\1\374"+ + "\15\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\17\22\1\375\6\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\7\22\1\376\3\0\26\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\13\22\1\377\12\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\3\22\1\u0100\4\22\3\0\14\22"+ + "\1\u0101\11\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\7\22\1\u0102\16\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\10\22"+ + "\1\u0103\15\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\11\22\1\u0104\14\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\6\22"+ + "\1\u0105\2\22\1\u0106\14\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\4\22\1\u0107\21\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\1\u0108\25\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\1\22\1\u0109\24\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\11\22\1\u010a\14\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\10\22\1\u010b\15\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\3\22\1\u010c"+ + "\4\22\3\0\26\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\25\22\1\u010d\35\0\2\u010e"+ + "\3\0\3\u010e\5\0\1\u010e\2\0\5\u010e\3\0\1\u010e"+ + "\1\0\1\u010e\1\0\1\u010e\6\0\1\u010e\47\0\2\u010f"+ + "\3\0\3\u010f\5\0\1\u010f\2\0\5\u010f\3\0\1\u010f"+ + "\1\0\1\u010f\1\0\1\u010f\6\0\1\u010f\27\0\1\u0110"+ + "\2\0\30\u0110\1\303\1\0\56\u0110\1\304\2\0\30\304"+ + "\1\u0111\57\304\16\0\1\u0112\112\0\1\u0113\104\0\1\u0114"+ + "\6\0\2\u0114\4\0\4\u0114\5\0\3\u0114\2\0\2\u0114"+ + "\3\0\26\u0114\2\0\1\u0115\22\0\2\310\3\0\1\310"+ + "\1\0\4\310\2\0\4\310\4\0\10\310\3\0\26\310"+ + "\32\0\1\u0116\6\0\1\u0117\76\0\1\u0118\6\0\2\u0118"+ + "\4\0\4\u0118\5\0\3\u0118\2\0\2\u0118\3\0\26\u0118"+ + "\2\0\1\u0119\14\0\1\321\110\0\5\322\1\u011a\105\322"+ + "\4\0\1\321\1\323\137\0\1\u011b\101\0\1\332\13\0"+ + "\1\332\3\0\2\332\70\0\2\u011c\3\0\3\u011c\5\0"+ + "\1\u011c\2\0\5\u011c\3\0\1\u011c\1\0\1\u011c\1\0"+ + "\1\u011c\6\0\1\u011c\40\0\1\150\7\0\1\166\13\0"+ + "\1\u011d\3\0\2\u011d\2\164\54\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\5\22\1\u011e\20\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\2\22\1\u011f\23\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\4\22\1\u0120\21\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22"+ + "\1\u0121\3\0\26\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\16\22\1\u0122\7\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\7\22\1\u0123"+ + "\3\0\26\22\23\0\3\346\7\0\2\346\3\0\4\346"+ + "\4\0\10\346\3\0\26\346\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\2\22\1\u0124\23\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\12\22\1\u0125\13\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\7\22\1\u0126\3\0\26\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\4\22\1\u0127\21\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\5\22\1\u0128\2\22\1\u0129"+ + "\15\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\5\22\1\u012a\20\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\10\22\1\u012b"+ + "\15\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\7\22\1\u012c\3\0\26\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\10\22\1\u012d\15\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\1\22\1\u012e\24\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\11\22\1\u012f\14\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22"+ + "\1\u0130\3\0\26\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\14\22\1\u0131\11\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\7\22\1\u0132"+ + "\3\0\26\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\6\22\1\u0133\17\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\5\22"+ + "\1\u0134\20\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\7\22\1\u0135\3\0\26\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\10\22\1\u0136"+ + "\15\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\7\22\1\u0137\3\0\26\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\6\22\1\u0138\5\22"+ + "\1\u0139\11\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\7\22\1\u013a\3\0\26\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\2\22\1\u013b"+ + "\23\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\7\22\1\u013c\3\0\26\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\2\22\1\u013d\23\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\16\22\1\u013e\7\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\14\22\1\u013f\11\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\10\22\1\u0140\15\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\22\22\1\u0141\3\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\3\22\1\u0142\22\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\14\22\1\u0143\11\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\13\22\1\u0144\12\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\11\22\1\u0145\14\22"+ + "\35\0\2\u0146\3\0\3\u0146\5\0\1\u0146\2\0\5\u0146"+ + "\3\0\1\u0146\1\0\1\u0146\1\0\1\u0146\6\0\1\u0146"+ + "\47\0\2\u0147\3\0\3\u0147\5\0\1\u0147\2\0\5\u0147"+ + "\3\0\1\u0147\1\0\1\u0147\1\0\1\u0147\6\0\1\u0147"+ + "\30\0\2\u0148\5\0\2\u0114\1\0\1\u0148\1\0\1\u0114"+ + "\1\u0149\4\u0114\2\0\4\u0114\4\0\10\u0114\3\0\26\u0114"+ + "\32\0\1\u014a\122\0\1\u014b\75\0\2\u0118\3\0\1\u0118"+ + "\1\0\4\u0118\2\0\4\u0118\4\0\10\u0118\3\0\26\u0118"+ + "\15\0\4\322\1\321\1\u011a\105\322\20\0\2\u014c\3\0"+ + "\3\u014c\5\0\1\u014c\2\0\5\u014c\3\0\1\u014c\1\0"+ + "\1\u014c\1\0\1\u014c\6\0\1\u014c\40\0\1\150\7\0"+ + "\1\166\13\0\1\u014d\3\0\2\u014d\2\164\54\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\7\22\1\u014e\3\0"+ + "\26\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\14\22\1\u014f\11\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\10\22\1\u0150"+ + "\15\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\7\22\1\u0151\16\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\3\22\1\u0152"+ + "\22\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\1\22\1\u0153\24\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\16\22\1\u0154"+ + "\7\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\10\22\1\u0155\15\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\11\22\1\u0156"+ + "\14\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\5\22\1\u0157\20\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\11\22\1\u0158"+ + "\14\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\1\22\1\u0159\24\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\4\22\1\u015a"+ + "\21\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\1\22\1\u015b\24\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\22\22\1\u015c"+ + "\3\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\5\22\1\u015d\20\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\15\22\1\u015e"+ + "\10\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\6\22\1\u015f\17\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\2\22\1\u0160"+ + "\23\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\1\22\1\u0161\24\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\1\22\1\u0162"+ + "\24\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\7\22\1\u0163\3\0\26\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\3\22\1\u0164\4\22\3\0\26\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\12\22\1\u0165\13\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\10\22\1\u0166\15\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\21\22\1\u0167\4\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\7\22\1\u0168\3\0\26\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\7\22\1\u0169"+ + "\3\0\26\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\2\22\1\u016a\23\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\2\22"+ + "\1\u016b\23\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\11\22\1\u016c\14\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\7\22"+ + "\1\u016d\16\22\16\0\2\u0148\10\0\1\u0148\2\0\1\u0149"+ + "\122\0\1\u016e\104\0\2\u016f\3\0\3\u016f\5\0\1\u016f"+ + "\2\0\5\u016f\3\0\1\u016f\1\0\1\u016f\1\0\1\u016f"+ + "\6\0\1\u016f\40\0\1\150\7\0\1\166\13\0\1\u0170"+ + "\3\0\2\u0170\2\164\54\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\14\22\1\u0171\11\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\11\22\1\u0172\14\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\13\22\1\u0173\12\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\7\22\1\u0174\16\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\7\22\1\u0175\16\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\4\22\1\u0176\21\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\16\22\1\u0177\7\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\11\22\1\u0178\14\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\7\22\1\u0179\3\0\26\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\17\22"+ + "\1\u017a\6\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\3\22\1\u017b\4\22\3\0\26\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\7\22"+ + "\1\u017c\16\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\3\22\1\u017d\4\22\3\0\7\22\1\u017e\16\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\10\22\1\u017f\15\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\21\22\1\u0180\4\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22"+ + "\3\0\11\22\1\u0181\14\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\14\22\1\u0182\11\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22"+ + "\1\u0183\3\0\26\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\11\22\1\u0184\14\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\4\22\1\u0185\21\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\10\22\1\u0186\15\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\23\22\1\u0187\2\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\4\22\1\u0188\21\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\11\22\1\u0189\14\22\44\0\1\u018a\103\0\2\u018b\3\0"+ + "\3\u018b\5\0\1\u018b\2\0\5\u018b\3\0\1\u018b\1\0"+ + "\1\u018b\1\0\1\u018b\6\0\1\u018b\40\0\1\150\7\0"+ + "\1\166\13\0\1\u018c\3\0\2\u018c\2\164\54\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\20\22"+ + "\1\u018d\5\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\6\22\1\u018e\17\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\5\22"+ + "\1\u018f\20\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\12\22\1\u0190\13\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\13\22"+ + "\1\u0191\12\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\2\22\1\u0192\23\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\4\22"+ + "\1\u0193\21\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\2\22\1\u0194\23\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\2\22"+ + "\1\u0195\23\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\7\22\1\u0196\3\0\26\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\7\22\1\u0197"+ + "\16\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\10\22\1\u0198\15\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\4\22\1\u0199"+ + "\21\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\10\22\1\u019a\15\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\7\22\1\u019b\3\0\26\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22"+ + "\1\u019c\3\0\26\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\10\22\1\u019d\15\22\45\0"+ + "\1\u019e\102\0\2\u019f\3\0\3\u019f\5\0\1\u019f\2\0"+ + "\5\u019f\3\0\1\u019f\1\0\1\u019f\1\0\1\u019f\6\0"+ + "\1\u019f\40\0\1\150\7\0\1\166\13\0\1\u01a0\3\0"+ + "\2\u01a0\2\164\54\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\7\22\1\u01a1\16\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\7\22\1\u01a2\3\0"+ + "\26\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\7\22\1\u01a3\3\0\26\22\23\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\10\22\3\0\4\22\1\u01a4\21\22"+ + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22"+ + "\1\u01a5\3\0\26\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\4\22\1\u01a6\21\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\14\22\1\u01a7\11\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\10\22\3\0\7\22\1\u01a8\16\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\7\22\1\u01a9"+ + "\3\0\26\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\7\22\1\u01aa\3\0\26\22\23\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\10\22\3\0\20\22\1\u01ab"+ + "\5\22\44\0\1\u01ac\103\0\2\u01ad\3\0\3\u01ad\5\0"+ + "\1\u01ad\2\0\5\u01ad\3\0\1\u01ad\1\0\1\u01ad\1\0"+ + "\1\u01ad\6\0\1\u01ad\40\0\1\150\7\0\1\166\13\0"+ + "\1\u01ae\3\0\2\u01ae\2\164\54\0\3\22\7\0\2\22"+ + "\3\0\4\22\4\0\7\22\1\u01af\3\0\26\22\23\0"+ + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0"+ + "\6\22\1\u01b0\17\22\23\0\3\22\7\0\2\22\3\0"+ + "\4\22\4\0\7\22\1\u01b1\3\0\26\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\10\22"+ + "\1\u01b2\15\22\23\0\3\22\7\0\2\22\3\0\4\22"+ + "\4\0\10\22\3\0\13\22\1\u01b3\12\22\23\0\3\22"+ + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\13\22"+ + "\1\u01b4\12\22\41\0\1\u01b5\106\0\2\u01b6\3\0\3\u01b6"+ + "\5\0\1\u01b6\2\0\5\u01b6\3\0\1\u01b6\1\0\1\u01b6"+ + "\1\0\1\u01b6\6\0\1\u01b6\40\0\1\150\7\0\1\166"+ + "\13\0\1\u01b7\3\0\2\u01b7\2\164\54\0\3\22\7\0"+ + "\2\22\3\0\4\22\4\0\3\22\1\u01b8\4\22\3\0"+ + "\26\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0"+ + "\10\22\3\0\5\22\1\u01b9\20\22\26\0\1\150\7\0"+ + "\1\166\13\0\1\u01ba\3\0\2\u01ba\2\164\57\0\1\150"+ + "\7\0\1\166\13\0\1\u01bb\3\0\2\u01bb\2\164\57\0"+ + "\1\150\7\0\1\166\13\0\1\u01bc\3\0\2\u01bc\2\164"+ + "\57\0\1\150\7\0\1\166\13\0\1\u01bd\3\0\2\u01bd"+ + "\2\164\57\0\1\150\7\0\1\166\13\0\1\u01be\3\0"+ + "\2\u01be\2\164\57\0\1\150\7\0\1\166\13\0\1\u01bf"+ + "\3\0\2\u01bf\2\164\46\0"; - private static int[] zzUnpackRowMap() { - int[] result = new int[447]; - int offset = 0; - offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result); - return result; + private static int [] zzUnpackTrans() { + int [] result = new int[22800]; + int offset = 0; + offset = zzUnpackTrans(ZZ_TRANS_PACKED_0, offset, result); + return result; + } + + private static int zzUnpackTrans(String packed, int offset, int [] result) { + int i = 0; /* index in packed string */ + int j = offset; /* index in unpacked array */ + int l = packed.length(); + while (i < l) { + int count = packed.charAt(i++); + int value = packed.charAt(i++); + value--; + do result[j++] = value; while (--count > 0); } + return j; + } - private static int zzUnpackRowMap(String packed, int offset, int[] result) { - int i = 0; /* index in packed string */ - int j = offset; /* index in unpacked array */ + /* error codes */ + private static final int ZZ_UNKNOWN_ERROR = 0; + private static final int ZZ_NO_MATCH = 1; + private static final int ZZ_PUSHBACK_2BIG = 2; - int l = packed.length(); - while (i < l) { - int high = packed.charAt(i++) << 16; - result[j++] = high | packed.charAt(i++); - } - return j; + /* error messages for the codes above */ + private static final String ZZ_ERROR_MSG[] = { + "Unkown internal scanner error", + "Error: could not match input", + "Error: pushback value was too large" + }; + + /** + * ZZ_ATTRIBUTE[aState] contains the attributes of state aState + */ + private static final int [] ZZ_ATTRIBUTE = zzUnpackAttribute(); + + private static final String ZZ_ATTRIBUTE_PACKED_0 = + "\13\0\1\11\1\1\1\11\13\1\3\11\1\1\2\11"+ + "\26\1\7\11\4\1\1\11\2\1\2\11\3\1\1\11"+ + "\1\1\1\11\3\1\2\11\1\1\1\11\2\1\1\11"+ + "\1\1\2\11\2\1\1\11\2\1\1\11\2\1\1\11"+ + "\1\1\1\0\2\11\1\1\1\11\1\1\1\11\2\1"+ + "\2\11\1\1\2\11\1\1\2\11\1\0\3\1\1\0"+ + "\11\1\2\11\1\0\44\1\11\11\1\1\6\11\1\1"+ + "\1\11\1\0\1\11\1\0\1\11\1\0\2\11\1\0"+ + "\1\1\4\0\1\1\2\0\2\11\1\1\1\11\2\1"+ + "\1\11\2\0\3\11\1\1\1\11\1\0\1\1\1\11"+ + "\62\1\3\0\3\11\1\0\1\11\2\0\1\1\1\11"+ + "\1\0\1\11\52\1\1\11\2\0\2\11\1\0\42\1"+ + "\1\0\33\1\1\0\23\1\1\0\15\1\1\0\10\1"+ + "\2\11\11\1"; + + private static int [] zzUnpackAttribute() { + int [] result = new int[447]; + int offset = 0; + offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result); + return result; + } + + private static int zzUnpackAttribute(String packed, int offset, int [] result) { + int i = 0; /* index in packed string */ + int j = offset; /* index in unpacked array */ + int l = packed.length(); + while (i < l) { + int count = packed.charAt(i++); + int value = packed.charAt(i++); + do result[j++] = value; while (--count > 0); } + return j; + } - /** - * The transition table of the DFA - */ - private static final int[] ZZ_TRANS = zzUnpackTrans(); + /** the input device */ + private java.io.Reader zzReader; - private static final String ZZ_TRANS_PACKED_0 - = "\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\14" - + "\1\22\1\23\1\24\1\17\1\25\1\26\1\27\1\30" - + "\1\22\1\31\1\14\1\32\1\33\4\22\1\34\1\35" - + "\1\36\1\37\1\40\2\22\1\41\2\31\1\22\1\42" - + "\1\43\1\14\1\44\1\45\1\46\1\47\1\22\1\50" - + "\1\51\1\52\1\53\1\54\1\55\1\56\1\57\1\22" - + "\1\60\1\22\1\61\2\22\1\62\1\63\1\64\1\65" - + "\1\66\1\67\1\70\1\71\1\72\1\73\1\74\1\75" - + "\1\76\1\77\1\100\1\101\1\14\1\102\1\103\1\104" - + "\30\102\1\105\12\102\1\106\44\102\1\107\1\110\1\111" - + "\31\107\1\105\11\107\1\106\44\107\1\14\1\112\1\113" - + "\1\114\1\115\3\14\1\116\2\14\1\114\2\14\1\117" - + "\2\116\4\14\4\116\5\14\3\116\2\14\2\116\3\14" - + "\26\116\2\14\1\120\45\14\1\121\44\14\1\122\13\14" - + "\1\112\1\113\1\114\4\14\1\123\2\14\1\114\3\14" - + "\2\123\2\14\1\124\1\14\4\123\5\14\3\123\2\14" - + "\2\123\3\14\26\123\2\14\1\125\45\14\1\126\44\14" - + "\1\127\12\14\1\130\1\112\1\113\26\130\1\131\62\130" - + "\1\132\1\133\12\130\1\134\76\130\1\112\1\113\7\130" - + "\1\135\65\130\1\136\12\130\1\137\1\110\1\111\43\137" - + "\1\140\1\141\43\137\115\0\1\16\113\0\1\17\7\0" - + "\1\17\103\0\1\142\1\143\24\0\1\144\112\0\1\145" - + "\66\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\26\22\26\0\1\146\1\147\6\0\1\150\13\0" - + "\1\150\3\0\2\150\33\0\1\151\24\0\1\152\1\0" - + "\1\153\4\0\2\152\4\0\4\152\1\0\1\154\3\0" - + "\3\152\2\0\2\152\3\0\26\152\2\0\1\155\44\0" - + "\1\156\75\0\1\157\14\0\1\160\76\0\1\161\13\0" - + "\1\162\77\0\1\163\104\0\1\150\7\0\1\31\13\0" - + "\1\31\3\0\2\31\2\164\100\0\1\165\71\0\1\150" - + "\7\0\1\166\13\0\1\167\2\170\1\0\1\171\1\172" - + "\2\164\54\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\2\22\1\173\3\22\1\174\2\22\1\175" - + "\1\176\13\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\1\22\1\177\6\22\3\0\2\22\1\200\11\22" - + "\1\201\11\22\47\0\1\202\12\0\1\203\114\0\1\204" - + "\51\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\1\22\1\205\24\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\7\22\1\206\3\0\26\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\5\22\1\207\20\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\2\22\1\210\3\22\1\211" - + "\5\22\1\212\11\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\7\22\1\213\3\0\10\22\1\214\1\22" - + "\1\215\2\22\1\216\10\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\22\22\1\217\3\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22" - + "\1\220\3\0\2\22\1\221\7\22\1\222\13\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\1\22\1\223\14\22\1\224\1\22\1\225\5\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\3\22\1\226" - + "\4\22\3\0\5\22\1\227\1\22\1\230\11\22\1\231" - + "\4\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\5\22\1\232\1\22\1\233\16\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\7\22\1\234" - + "\3\0\6\22\1\235\11\22\1\236\5\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\11\22" - + "\1\237\4\22\1\240\7\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\1\22\1\241\1\242" - + "\7\22\1\243\13\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\2\22\1\244\3\22\1\245" - + "\17\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\7\22\1\246\3\0\26\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\7\22\1\247\16\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\2\22\1\250\23\22\47\0\1\251\52\0\1\252" - + "\37\0\1\253\53\0\1\254\36\0\1\255\112\0\1\256" - + "\60\0\1\102\2\0\30\102\1\0\12\102\1\0\44\102" - + "\2\0\1\104\110\0\1\257\3\0\27\257\1\260\1\261" - + "\1\257\1\262\1\257\1\263\5\257\1\264\1\257\1\265" - + "\1\266\5\257\1\267\1\270\1\257\1\271\27\257\1\0" - + "\1\107\2\0\31\107\1\0\11\107\1\0\44\107\2\0" - + "\1\111\112\0\1\113\113\0\1\114\7\0\1\114\115\0" - + "\1\272\104\0\2\273\3\0\1\273\1\0\4\273\2\0" - + "\4\273\1\0\1\274\2\0\10\273\3\0\26\273\15\0" - + "\1\275\2\0\30\275\1\276\57\275\10\0\2\277\3\0" - + "\1\277\1\0\4\277\2\0\4\277\1\0\1\300\2\0" - + "\10\277\3\0\26\277\33\0\1\301\74\0\1\302\2\0" - + "\30\302\1\303\1\304\56\302\31\0\1\305\63\0\1\133" - + "\125\0\1\306\101\0\1\307\3\0\1\310\3\0\1\311" - + "\2\0\2\310\2\0\1\312\1\0\4\310\5\0\3\310" - + "\2\0\2\310\3\0\26\310\2\0\1\313\12\0\1\137" - + "\2\0\43\137\2\0\43\137\1\314\3\0\32\314\1\315" - + "\1\314\1\263\5\314\1\264\1\316\1\265\1\266\5\314" - + "\1\267\1\270\1\314\1\317\27\314\1\0\1\142\1\320" - + "\1\321\110\142\5\322\1\323\105\322\11\0\1\324\122\0" - + "\1\150\13\0\1\150\3\0\2\150\2\164\56\0\2\152" - + "\3\0\1\152\1\0\4\152\2\0\4\152\4\0\10\152" - + "\3\0\26\152\47\0\1\325\112\0\1\326\76\0\1\327" - + "\13\0\1\330\75\0\1\331\3\0\1\332\13\0\1\332" - + "\3\0\2\332\2\0\1\331\77\0\1\333\71\0\1\150" - + "\7\0\1\166\13\0\1\166\3\0\2\166\2\164\57\0" - + "\1\150\7\0\1\166\13\0\1\167\3\0\1\171\1\172" - + "\2\164\66\0\2\334\3\0\3\334\5\0\1\335\2\0" - + "\5\334\3\0\1\334\1\0\1\334\1\0\1\334\6\0" - + "\1\334\40\0\1\150\7\0\1\166\13\0\1\172\3\0" - + "\2\172\2\164\57\0\1\150\7\0\1\166\13\0\1\336" - + "\3\0\2\336\2\164\54\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\14\22\1\337\11\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\1\22\1\340\24\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\7\22\1\341\16\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\7\22\1\342\16\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\10\22\1\343\15\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\4\22\1\344\21\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\5\22\1\345\20\22\23\0" - + "\1\346\1\0\1\346\7\0\1\346\4\0\4\346\5\0" - + "\3\346\2\0\2\346\3\0\26\346\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\7\22\1\347\3\0\26\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\10\22\1\350\15\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\5\22\1\351\2\22" - + "\1\352\15\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\7\22\1\353\16\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\2\22" - + "\1\354\23\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\10\22\1\355\15\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\2\22" - + "\1\356\23\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\17\22\1\357\6\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\11\22" - + "\1\360\14\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\7\22\1\361\3\0\26\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\15\22\1\362" - + "\10\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\10\22\1\363\10\22\1\364\4\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\14\22\1\365\11\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\12\22\1\366\5\22\1\367" - + "\5\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\1\22\1\370\7\22\1\371\14\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\17\22\1\372\6\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\5\22\1\373\2\22\1\374" - + "\15\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\17\22\1\375\6\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\7\22\1\376\3\0\26\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\13\22\1\377\12\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\3\22\1\u0100\4\22\3\0\14\22" - + "\1\u0101\11\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\7\22\1\u0102\16\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\10\22" - + "\1\u0103\15\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\11\22\1\u0104\14\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\6\22" - + "\1\u0105\2\22\1\u0106\14\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\4\22\1\u0107\21\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\1\u0108\25\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\1\22\1\u0109\24\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\11\22\1\u010a\14\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\10\22\1\u010b\15\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\3\22\1\u010c" - + "\4\22\3\0\26\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\25\22\1\u010d\35\0\2\u010e" - + "\3\0\3\u010e\5\0\1\u010e\2\0\5\u010e\3\0\1\u010e" - + "\1\0\1\u010e\1\0\1\u010e\6\0\1\u010e\47\0\2\u010f" - + "\3\0\3\u010f\5\0\1\u010f\2\0\5\u010f\3\0\1\u010f" - + "\1\0\1\u010f\1\0\1\u010f\6\0\1\u010f\27\0\1\u0110" - + "\2\0\30\u0110\1\303\1\0\56\u0110\1\304\2\0\30\304" - + "\1\u0111\57\304\16\0\1\u0112\112\0\1\u0113\104\0\1\u0114" - + "\6\0\2\u0114\4\0\4\u0114\5\0\3\u0114\2\0\2\u0114" - + "\3\0\26\u0114\2\0\1\u0115\22\0\2\310\3\0\1\310" - + "\1\0\4\310\2\0\4\310\4\0\10\310\3\0\26\310" - + "\32\0\1\u0116\6\0\1\u0117\76\0\1\u0118\6\0\2\u0118" - + "\4\0\4\u0118\5\0\3\u0118\2\0\2\u0118\3\0\26\u0118" - + "\2\0\1\u0119\14\0\1\321\110\0\5\322\1\u011a\105\322" - + "\4\0\1\321\1\323\137\0\1\u011b\101\0\1\332\13\0" - + "\1\332\3\0\2\332\70\0\2\u011c\3\0\3\u011c\5\0" - + "\1\u011c\2\0\5\u011c\3\0\1\u011c\1\0\1\u011c\1\0" - + "\1\u011c\6\0\1\u011c\40\0\1\150\7\0\1\166\13\0" - + "\1\u011d\3\0\2\u011d\2\164\54\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\5\22\1\u011e\20\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\2\22\1\u011f\23\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\4\22\1\u0120\21\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22" - + "\1\u0121\3\0\26\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\16\22\1\u0122\7\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\7\22\1\u0123" - + "\3\0\26\22\23\0\3\346\7\0\2\346\3\0\4\346" - + "\4\0\10\346\3\0\26\346\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\2\22\1\u0124\23\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\12\22\1\u0125\13\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\7\22\1\u0126\3\0\26\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\4\22\1\u0127\21\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\5\22\1\u0128\2\22\1\u0129" - + "\15\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\5\22\1\u012a\20\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\10\22\1\u012b" - + "\15\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\7\22\1\u012c\3\0\26\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\10\22\1\u012d\15\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\1\22\1\u012e\24\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\11\22\1\u012f\14\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22" - + "\1\u0130\3\0\26\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\14\22\1\u0131\11\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\7\22\1\u0132" - + "\3\0\26\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\6\22\1\u0133\17\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\5\22" - + "\1\u0134\20\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\7\22\1\u0135\3\0\26\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\10\22\1\u0136" - + "\15\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\7\22\1\u0137\3\0\26\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\6\22\1\u0138\5\22" - + "\1\u0139\11\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\7\22\1\u013a\3\0\26\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\2\22\1\u013b" - + "\23\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\7\22\1\u013c\3\0\26\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\2\22\1\u013d\23\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\16\22\1\u013e\7\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\14\22\1\u013f\11\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\10\22\1\u0140\15\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\22\22\1\u0141\3\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\3\22\1\u0142\22\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\14\22\1\u0143\11\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\13\22\1\u0144\12\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\11\22\1\u0145\14\22" - + "\35\0\2\u0146\3\0\3\u0146\5\0\1\u0146\2\0\5\u0146" - + "\3\0\1\u0146\1\0\1\u0146\1\0\1\u0146\6\0\1\u0146" - + "\47\0\2\u0147\3\0\3\u0147\5\0\1\u0147\2\0\5\u0147" - + "\3\0\1\u0147\1\0\1\u0147\1\0\1\u0147\6\0\1\u0147" - + "\30\0\2\u0148\5\0\2\u0114\1\0\1\u0148\1\0\1\u0114" - + "\1\u0149\4\u0114\2\0\4\u0114\4\0\10\u0114\3\0\26\u0114" - + "\32\0\1\u014a\122\0\1\u014b\75\0\2\u0118\3\0\1\u0118" - + "\1\0\4\u0118\2\0\4\u0118\4\0\10\u0118\3\0\26\u0118" - + "\15\0\4\322\1\321\1\u011a\105\322\20\0\2\u014c\3\0" - + "\3\u014c\5\0\1\u014c\2\0\5\u014c\3\0\1\u014c\1\0" - + "\1\u014c\1\0\1\u014c\6\0\1\u014c\40\0\1\150\7\0" - + "\1\166\13\0\1\u014d\3\0\2\u014d\2\164\54\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\7\22\1\u014e\3\0" - + "\26\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\14\22\1\u014f\11\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\10\22\1\u0150" - + "\15\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\7\22\1\u0151\16\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\3\22\1\u0152" - + "\22\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\1\22\1\u0153\24\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\16\22\1\u0154" - + "\7\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\10\22\1\u0155\15\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\11\22\1\u0156" - + "\14\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\5\22\1\u0157\20\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\11\22\1\u0158" - + "\14\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\1\22\1\u0159\24\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\4\22\1\u015a" - + "\21\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\1\22\1\u015b\24\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\22\22\1\u015c" - + "\3\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\5\22\1\u015d\20\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\15\22\1\u015e" - + "\10\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\6\22\1\u015f\17\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\2\22\1\u0160" - + "\23\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\1\22\1\u0161\24\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\1\22\1\u0162" - + "\24\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\7\22\1\u0163\3\0\26\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\3\22\1\u0164\4\22\3\0\26\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\12\22\1\u0165\13\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\10\22\1\u0166\15\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\21\22\1\u0167\4\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\7\22\1\u0168\3\0\26\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\7\22\1\u0169" - + "\3\0\26\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\2\22\1\u016a\23\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\2\22" - + "\1\u016b\23\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\11\22\1\u016c\14\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\7\22" - + "\1\u016d\16\22\16\0\2\u0148\10\0\1\u0148\2\0\1\u0149" - + "\122\0\1\u016e\104\0\2\u016f\3\0\3\u016f\5\0\1\u016f" - + "\2\0\5\u016f\3\0\1\u016f\1\0\1\u016f\1\0\1\u016f" - + "\6\0\1\u016f\40\0\1\150\7\0\1\166\13\0\1\u0170" - + "\3\0\2\u0170\2\164\54\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\14\22\1\u0171\11\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\11\22\1\u0172\14\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\13\22\1\u0173\12\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\7\22\1\u0174\16\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\7\22\1\u0175\16\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\4\22\1\u0176\21\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\16\22\1\u0177\7\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\11\22\1\u0178\14\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\7\22\1\u0179\3\0\26\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\17\22" - + "\1\u017a\6\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\3\22\1\u017b\4\22\3\0\26\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\7\22" - + "\1\u017c\16\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\3\22\1\u017d\4\22\3\0\7\22\1\u017e\16\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\10\22\1\u017f\15\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\21\22\1\u0180\4\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\10\22" - + "\3\0\11\22\1\u0181\14\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\14\22\1\u0182\11\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22" - + "\1\u0183\3\0\26\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\11\22\1\u0184\14\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\4\22\1\u0185\21\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\10\22\1\u0186\15\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\23\22\1\u0187\2\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\4\22\1\u0188\21\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\11\22\1\u0189\14\22\44\0\1\u018a\103\0\2\u018b\3\0" - + "\3\u018b\5\0\1\u018b\2\0\5\u018b\3\0\1\u018b\1\0" - + "\1\u018b\1\0\1\u018b\6\0\1\u018b\40\0\1\150\7\0" - + "\1\166\13\0\1\u018c\3\0\2\u018c\2\164\54\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\20\22" - + "\1\u018d\5\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\6\22\1\u018e\17\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\5\22" - + "\1\u018f\20\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\12\22\1\u0190\13\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\13\22" - + "\1\u0191\12\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\2\22\1\u0192\23\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\4\22" - + "\1\u0193\21\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\2\22\1\u0194\23\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\2\22" - + "\1\u0195\23\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\7\22\1\u0196\3\0\26\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\7\22\1\u0197" - + "\16\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\10\22\1\u0198\15\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\4\22\1\u0199" - + "\21\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\10\22\1\u019a\15\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\7\22\1\u019b\3\0\26\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22" - + "\1\u019c\3\0\26\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\10\22\1\u019d\15\22\45\0" - + "\1\u019e\102\0\2\u019f\3\0\3\u019f\5\0\1\u019f\2\0" - + "\5\u019f\3\0\1\u019f\1\0\1\u019f\1\0\1\u019f\6\0" - + "\1\u019f\40\0\1\150\7\0\1\166\13\0\1\u01a0\3\0" - + "\2\u01a0\2\164\54\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\7\22\1\u01a1\16\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\7\22\1\u01a2\3\0" - + "\26\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\7\22\1\u01a3\3\0\26\22\23\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\10\22\3\0\4\22\1\u01a4\21\22" - + "\23\0\3\22\7\0\2\22\3\0\4\22\4\0\7\22" - + "\1\u01a5\3\0\26\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\4\22\1\u01a6\21\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\14\22\1\u01a7\11\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\10\22\3\0\7\22\1\u01a8\16\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\7\22\1\u01a9" - + "\3\0\26\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\7\22\1\u01aa\3\0\26\22\23\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\10\22\3\0\20\22\1\u01ab" - + "\5\22\44\0\1\u01ac\103\0\2\u01ad\3\0\3\u01ad\5\0" - + "\1\u01ad\2\0\5\u01ad\3\0\1\u01ad\1\0\1\u01ad\1\0" - + "\1\u01ad\6\0\1\u01ad\40\0\1\150\7\0\1\166\13\0" - + "\1\u01ae\3\0\2\u01ae\2\164\54\0\3\22\7\0\2\22" - + "\3\0\4\22\4\0\7\22\1\u01af\3\0\26\22\23\0" - + "\3\22\7\0\2\22\3\0\4\22\4\0\10\22\3\0" - + "\6\22\1\u01b0\17\22\23\0\3\22\7\0\2\22\3\0" - + "\4\22\4\0\7\22\1\u01b1\3\0\26\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\10\22" - + "\1\u01b2\15\22\23\0\3\22\7\0\2\22\3\0\4\22" - + "\4\0\10\22\3\0\13\22\1\u01b3\12\22\23\0\3\22" - + "\7\0\2\22\3\0\4\22\4\0\10\22\3\0\13\22" - + "\1\u01b4\12\22\41\0\1\u01b5\106\0\2\u01b6\3\0\3\u01b6" - + "\5\0\1\u01b6\2\0\5\u01b6\3\0\1\u01b6\1\0\1\u01b6" - + "\1\0\1\u01b6\6\0\1\u01b6\40\0\1\150\7\0\1\166" - + "\13\0\1\u01b7\3\0\2\u01b7\2\164\54\0\3\22\7\0" - + "\2\22\3\0\4\22\4\0\3\22\1\u01b8\4\22\3\0" - + "\26\22\23\0\3\22\7\0\2\22\3\0\4\22\4\0" - + "\10\22\3\0\5\22\1\u01b9\20\22\26\0\1\150\7\0" - + "\1\166\13\0\1\u01ba\3\0\2\u01ba\2\164\57\0\1\150" - + "\7\0\1\166\13\0\1\u01bb\3\0\2\u01bb\2\164\57\0" - + "\1\150\7\0\1\166\13\0\1\u01bc\3\0\2\u01bc\2\164" - + "\57\0\1\150\7\0\1\166\13\0\1\u01bd\3\0\2\u01bd" - + "\2\164\57\0\1\150\7\0\1\166\13\0\1\u01be\3\0" - + "\2\u01be\2\164\57\0\1\150\7\0\1\166\13\0\1\u01bf" - + "\3\0\2\u01bf\2\164\46\0"; + /** the current state of the DFA */ + private int zzState; - private static int[] zzUnpackTrans() { - int[] result = new int[22800]; - int offset = 0; - offset = zzUnpackTrans(ZZ_TRANS_PACKED_0, offset, result); - return result; - } + /** the current lexical state */ + private int zzLexicalState = YYINITIAL; - private static int zzUnpackTrans(String packed, int offset, int[] result) { - int i = 0; /* index in packed string */ + /** this buffer contains the current text to be matched and is + the source of the yytext() string */ + private char zzBuffer[] = new char[ZZ_BUFFERSIZE]; - int j = offset; /* index in unpacked array */ + /** the textposition at the last accepting state */ + private int zzMarkedPos; - int l = packed.length(); - while (i < l) { - int count = packed.charAt(i++); - int value = packed.charAt(i++); - value--; - do { - result[j++] = value; - } while (--count > 0); - } - return j; - } + /** the current text position in the buffer */ + private int zzCurrentPos; + /** startRead marks the beginning of the yytext() string in the buffer */ + private int zzStartRead; - /* error codes */ - private static final int ZZ_UNKNOWN_ERROR = 0; + /** endRead marks the last character in the buffer, that has been read + from input */ + private int zzEndRead; - private static final int ZZ_NO_MATCH = 1; + /** number of newlines encountered up to the start of the matched text */ + private int yyline; - private static final int ZZ_PUSHBACK_2BIG = 2; + /** the number of characters up to the start of the matched text */ + private int yychar; - /* error messages for the codes above */ - private static final String ZZ_ERROR_MSG[] = { - "Unkown internal scanner error", - "Error: could not match input", - "Error: pushback value was too large" - }; + /** + * the number of characters from the last newline up to the start of the + * matched text + */ + private int yycolumn; - /** - * ZZ_ATTRIBUTE[aState] contains the attributes of state aState - */ - private static final int[] ZZ_ATTRIBUTE = zzUnpackAttribute(); + /** + * zzAtBOL == true <=> the scanner is currently at the beginning of a line + */ + private boolean zzAtBOL = true; - private static final String ZZ_ATTRIBUTE_PACKED_0 - = "\13\0\1\11\1\1\1\11\13\1\3\11\1\1\2\11" - + "\26\1\7\11\4\1\1\11\2\1\2\11\3\1\1\11" - + "\1\1\1\11\3\1\2\11\1\1\1\11\2\1\1\11" - + "\1\1\2\11\2\1\1\11\2\1\1\11\2\1\1\11" - + "\1\1\1\0\2\11\1\1\1\11\1\1\1\11\2\1" - + "\2\11\1\1\2\11\1\1\2\11\1\0\3\1\1\0" - + "\11\1\2\11\1\0\44\1\11\11\1\1\6\11\1\1" - + "\1\11\1\0\1\11\1\0\1\11\1\0\2\11\1\0" - + "\1\1\4\0\1\1\2\0\2\11\1\1\1\11\2\1" - + "\1\11\2\0\3\11\1\1\1\11\1\0\1\1\1\11" - + "\62\1\3\0\3\11\1\0\1\11\2\0\1\1\1\11" - + "\1\0\1\11\52\1\1\11\2\0\2\11\1\0\42\1" - + "\1\0\33\1\1\0\23\1\1\0\15\1\1\0\10\1" - + "\2\11\11\1"; + /** zzAtEOF == true <=> the scanner is at the EOF */ + private boolean zzAtEOF; - private static int[] zzUnpackAttribute() { - int[] result = new int[447]; - int offset = 0; - offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result); - return result; - } + /** denotes if the user-EOF-code has already been executed */ + private boolean zzEOFDone; + + /** + * The number of occupied positions in zzBuffer beyond zzEndRead. + * When a lead/high surrogate has been read from the input stream + * into the final zzBuffer position, this will have a value of 1; + * otherwise, it will have a value of 0. + */ + private int zzFinalHighSurrogate = 0; - private static int zzUnpackAttribute(String packed, int offset, int[] result) { - int i = 0; /* index in packed string */ + /* user code: */ - int j = offset; /* index in unpacked array */ - - int l = packed.length(); - while (i < l) { - int count = packed.charAt(i++); - int value = packed.charAt(i++); - do { - result[j++] = value; - } while (--count > 0); - } - return j; - } - - /** - * the input device - */ - private java.io.Reader zzReader; - - /** - * the current state of the DFA - */ - private int zzState; - - /** - * the current lexical state - */ - private int zzLexicalState = YYINITIAL; - - /** - * this buffer contains the current text to be matched and is - * the source of the yytext() string - */ - private char zzBuffer[] = new char[ZZ_BUFFERSIZE]; - - /** - * the textposition at the last accepting state - */ - private int zzMarkedPos; - - /** - * the current text position in the buffer - */ - private int zzCurrentPos; - - /** - * startRead marks the beginning of the yytext() string in the buffer - */ - private int zzStartRead; - - /** - * endRead marks the last character in the buffer, that has been read - * from input - */ - private int zzEndRead; - - /** - * number of newlines encountered up to the start of the matched text - */ - private int yyline; - - /** - * the number of characters up to the start of the matched text - */ - private int yychar; - - /** - * the number of characters from the last newline up to the start of the - * matched text - */ - private int yycolumn; - - /** - * zzAtBOL == true <=> the scanner is currently at the beginning of a line - */ - private boolean zzAtBOL = true; - - /** - * zzAtEOF == true <=> the scanner is at the EOF - */ - private boolean zzAtEOF; - - /** - * denotes if the user-EOF-code has already been executed - */ - private boolean zzEOFDone; - - /** - * The number of occupied positions in zzBuffer beyond zzEndRead. - * When a lead/high surrogate has been read from the input stream - * into the final zzBuffer position, this will have a value of 1; - * otherwise, it will have a value of 0. - */ - private int zzFinalHighSurrogate = 0; - - /* user code: */ private String sourceCode; - public ActionScriptLexer(String sourceCode) { + public ActionScriptLexer(String sourceCode){ this(new StringReader(sourceCode)); this.sourceCode = sourceCode; } - public void yypushbackstr(String s, int state) { + public void yypushbackstr(String s, int state) + { sourceCode = s + sourceCode.substring(yychar + yylength()); yyreset(new StringReader(sourceCode)); yybegin(state); } - public void yypushbackstr(String s) { + public void yypushbackstr(String s) + { yypushbackstr(s, YYINITIAL); } @@ -1001,24 +948,24 @@ public final class ActionScriptLexer { return yyline + 1; } - private List listeners = new ArrayList<>(); + private List listeners=new ArrayList<>(); - public void addListener(LexListener listener) { + public void addListener(LexListener listener){ listeners.add(listener); } - public void removeListener(LexListener listener) { + public void removeListener(LexListener listener){ listeners.remove(listener); } - public void informListenersLex(ParsedSymbol s) { - for (LexListener l : listeners) { + public void informListenersLex(ParsedSymbol s){ + for(LexListener l:listeners){ l.onLex(s); } } - public void informListenersPushBack(ParsedSymbol s) { - for (LexListener l : listeners) { + public void informListenersPushBack(ParsedSymbol s){ + for(LexListener l:listeners){ l.onPushBack(s); } } @@ -1030,10 +977,9 @@ public final class ActionScriptLexer { } ParsedSymbol last; - - public ParsedSymbol lex() throws java.io.IOException, AVM2ParseException { + public ParsedSymbol lex() throws java.io.IOException, AVM2ParseException{ ParsedSymbol ret = null; - if (!pushedBack.isEmpty()) { + if (!pushedBack.isEmpty()){ ret = last = pushedBack.pop(); } else { ret = last = yylex(); @@ -1042,1264 +988,1094 @@ public final class ActionScriptLexer { return ret; } - /** - * Creates a new scanner - * - * @param in the java.io.Reader to read input from. - */ - public ActionScriptLexer(java.io.Reader in) { - this.zzReader = in; + + + /** + * Creates a new scanner + * + * @param in the java.io.Reader to read input from. + */ + public ActionScriptLexer(java.io.Reader in) { + this.zzReader = in; + } + + + /** + * Unpacks the compressed character translation table. + * + * @param packed the packed character translation table + * @return the unpacked character translation table + */ + private static char [] zzUnpackCMap(String packed) { + char [] map = new char[0x110000]; + int i = 0; /* index in packed string */ + int j = 0; /* index in unpacked array */ + while (i < 3136) { + int count = packed.charAt(i++); + char value = packed.charAt(i++); + do map[j++] = value; while (--count > 0); + } + return map; + } + + + /** + * Refills the input buffer. + * + * @return false, iff there was new input. + * + * @exception java.io.IOException if any I/O-Error occurs + */ + private boolean zzRefill() throws java.io.IOException { + + /* first: make room (if you can) */ + if (zzStartRead > 0) { + zzEndRead += zzFinalHighSurrogate; + zzFinalHighSurrogate = 0; + System.arraycopy(zzBuffer, zzStartRead, + zzBuffer, 0, + zzEndRead-zzStartRead); + + /* translate stored positions */ + zzEndRead-= zzStartRead; + zzCurrentPos-= zzStartRead; + zzMarkedPos-= zzStartRead; + zzStartRead = 0; } - /** - * Unpacks the compressed character translation table. - * - * @param packed the packed character translation table - * @return the unpacked character translation table - */ - private static char[] zzUnpackCMap(String packed) { - char[] map = new char[0x110000]; - int i = 0; /* index in packed string */ + /* is the buffer big enough? */ + if (zzCurrentPos >= zzBuffer.length - zzFinalHighSurrogate) { + /* if not: blow it up */ + char newBuffer[] = new char[zzBuffer.length*2]; + System.arraycopy(zzBuffer, 0, newBuffer, 0, zzBuffer.length); + zzBuffer = newBuffer; + zzEndRead += zzFinalHighSurrogate; + zzFinalHighSurrogate = 0; + } - int j = 0; /* index in unpacked array */ + /* fill the buffer with new input */ + int requested = zzBuffer.length - zzEndRead; + int totalRead = 0; + while (totalRead < requested) { + int numRead = zzReader.read(zzBuffer, zzEndRead + totalRead, requested - totalRead); + if (numRead == -1) { + break; + } + totalRead += numRead; + } - while (i < 3136) { - int count = packed.charAt(i++); - char value = packed.charAt(i++); - do { - map[j++] = value; - } while (--count > 0); + if (totalRead > 0) { + zzEndRead += totalRead; + if (totalRead == requested) { /* possibly more input available */ + if (Character.isHighSurrogate(zzBuffer[zzEndRead - 1])) { + --zzEndRead; + zzFinalHighSurrogate = 1; } - return map; + } + return false; } - /** - * Refills the input buffer. - * - * @return false, iff there was new input. - * - * @exception java.io.IOException if any I/O-Error occurs - */ - private boolean zzRefill() throws java.io.IOException { + // totalRead = 0: End of stream + return true; + } - /* first: make room (if you can) */ - if (zzStartRead > 0) { - zzEndRead += zzFinalHighSurrogate; - zzFinalHighSurrogate = 0; - System.arraycopy(zzBuffer, zzStartRead, - zzBuffer, 0, - zzEndRead - zzStartRead); + + /** + * Closes the input stream. + */ + public final void yyclose() throws java.io.IOException { + zzAtEOF = true; /* indicate end of file */ + zzEndRead = zzStartRead; /* invalidate buffer */ - /* translate stored positions */ - zzEndRead -= zzStartRead; - zzCurrentPos -= zzStartRead; - zzMarkedPos -= zzStartRead; - zzStartRead = 0; - } + if (zzReader != null) + zzReader.close(); + } - /* is the buffer big enough? */ - if (zzCurrentPos >= zzBuffer.length - zzFinalHighSurrogate) { - /* if not: blow it up */ - char newBuffer[] = new char[zzBuffer.length * 2]; - System.arraycopy(zzBuffer, 0, newBuffer, 0, zzBuffer.length); - zzBuffer = newBuffer; - zzEndRead += zzFinalHighSurrogate; - zzFinalHighSurrogate = 0; - } - /* fill the buffer with new input */ - int requested = zzBuffer.length - zzEndRead; - int totalRead = 0; - while (totalRead < requested) { - int numRead = zzReader.read(zzBuffer, zzEndRead + totalRead, requested - totalRead); - if (numRead == -1) { - break; - } - totalRead += numRead; - } + /** + * Resets the scanner to read from a new input stream. + * Does not close the old reader. + * + * All internal variables are reset, the old input stream + * cannot be reused (internal buffer is discarded and lost). + * Lexical state is set to ZZ_INITIAL. + * + * Internal scan buffer is resized down to its initial length, if it has grown. + * + * @param reader the new input stream + */ + public final void yyreset(java.io.Reader reader) { + zzReader = reader; + zzAtBOL = true; + zzAtEOF = false; + zzEOFDone = false; + zzEndRead = zzStartRead = 0; + zzCurrentPos = zzMarkedPos = 0; + zzFinalHighSurrogate = 0; + yyline = yychar = yycolumn = 0; + zzLexicalState = YYINITIAL; + if (zzBuffer.length > ZZ_BUFFERSIZE) + zzBuffer = new char[ZZ_BUFFERSIZE]; + } - if (totalRead > 0) { - zzEndRead += totalRead; - if (totalRead == requested) { /* possibly more input available */ - if (Character.isHighSurrogate(zzBuffer[zzEndRead - 1])) { - --zzEndRead; - zzFinalHighSurrogate = 1; - } - } - return false; - } + /** + * Returns the current lexical state. + */ + public final int yystate() { + return zzLexicalState; + } - // totalRead = 0: End of stream - return true; + + /** + * Enters a new lexical state + * + * @param newState the new lexical state + */ + public final void yybegin(int newState) { + zzLexicalState = newState; + } + + + /** + * Returns the text matched by the current regular expression. + */ + public final String yytext() { + return new String( zzBuffer, zzStartRead, zzMarkedPos-zzStartRead ); + } + + + /** + * Returns the character at position pos from the + * matched text. + * + * It is equivalent to yytext().charAt(pos), but faster + * + * @param pos the position of the character to fetch. + * A value from 0 to yylength()-1. + * + * @return the character at position pos + */ + public final char yycharat(int pos) { + return zzBuffer[zzStartRead+pos]; + } + + + /** + * Returns the length of the matched text region. + */ + public final int yylength() { + return zzMarkedPos-zzStartRead; + } + + + /** + * Reports an error that occured while scanning. + * + * In a wellformed scanner (no or only correct usage of + * yypushback(int) and a match-all fallback rule) this method + * will only be called with things that "Can't Possibly Happen". + * If this method is called, something is seriously wrong + * (e.g. a JFlex bug producing a faulty scanner etc.). + * + * Usual syntax/scanner level error handling should be done + * in error fallback rules. + * + * @param errorCode the code of the errormessage to display + */ + private void zzScanError(int errorCode) { + String message; + try { + message = ZZ_ERROR_MSG[errorCode]; + } + catch (ArrayIndexOutOfBoundsException e) { + message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR]; } - /** - * Closes the input stream. - */ - public final void yyclose() throws java.io.IOException { - zzAtEOF = true; /* indicate end of file */ + throw new Error(message); + } - zzEndRead = zzStartRead; /* invalidate buffer */ - if (zzReader != null) { - zzReader.close(); - } - } + /** + * Pushes the specified amount of characters back into the input stream. + * + * They will be read again by then next call of the scanning method + * + * @param number the number of characters to be read again. + * This number must not be greater than yylength()! + */ + public void yypushback(int number) { + if ( number > yylength() ) + zzScanError(ZZ_PUSHBACK_2BIG); - /** - * Resets the scanner to read from a new input stream. - * Does not close the old reader. - * - * All internal variables are reset, the old input stream - * cannot be reused (internal buffer is discarded and lost). - * Lexical state is set to ZZ_INITIAL. - * - * Internal scan buffer is resized down to its initial length, if it has - * grown. - * - * @param reader the new input stream - */ - public final void yyreset(java.io.Reader reader) { - zzReader = reader; - zzAtBOL = true; - zzAtEOF = false; - zzEOFDone = false; - zzEndRead = zzStartRead = 0; - zzCurrentPos = zzMarkedPos = 0; - zzFinalHighSurrogate = 0; - yyline = yychar = yycolumn = 0; - zzLexicalState = YYINITIAL; - if (zzBuffer.length > ZZ_BUFFERSIZE) { - zzBuffer = new char[ZZ_BUFFERSIZE]; - } - } + zzMarkedPos -= number; + } - /** - * Returns the current lexical state. - */ - public final int yystate() { - return zzLexicalState; - } - /** - * Enters a new lexical state - * - * @param newState the new lexical state - */ - public final void yybegin(int newState) { - zzLexicalState = newState; - } + /** + * Resumes scanning until the next regular expression is matched, + * the end of input is encountered or an I/O-Error occurs. + * + * @return the next token + * @exception java.io.IOException if any I/O-Error occurs + */ + public ParsedSymbol yylex() throws java.io.IOException, AVM2ParseException { + int zzInput; + int zzAction; - /** - * Returns the text matched by the current regular expression. - */ - public final String yytext() { - return new String(zzBuffer, zzStartRead, zzMarkedPos - zzStartRead); - } + // cached fields: + int zzCurrentPosL; + int zzMarkedPosL; + int zzEndReadL = zzEndRead; + char [] zzBufferL = zzBuffer; + char [] zzCMapL = ZZ_CMAP; - /** - * Returns the character at position pos from the - * matched text. - * - * It is equivalent to yytext().charAt(pos), but faster - * - * @param pos the position of the character to fetch. - * A value from 0 to yylength()-1. - * - * @return the character at position pos - */ - public final char yycharat(int pos) { - return zzBuffer[zzStartRead + pos]; - } + int [] zzTransL = ZZ_TRANS; + int [] zzRowMapL = ZZ_ROWMAP; + int [] zzAttrL = ZZ_ATTRIBUTE; - /** - * Returns the length of the matched text region. - */ - public final int yylength() { - return zzMarkedPos - zzStartRead; - } + while (true) { + zzMarkedPosL = zzMarkedPos; - /** - * Reports an error that occured while scanning. - * - * In a wellformed scanner (no or only correct usage of - * yypushback(int) and a match-all fallback rule) this method - * will only be called with things that "Can't Possibly Happen". - * If this method is called, something is seriously wrong - * (e.g. a JFlex bug producing a faulty scanner etc.). - * - * Usual syntax/scanner level error handling should be done - * in error fallback rules. - * - * @param errorCode the code of the errormessage to display - */ - private void zzScanError(int errorCode) { - String message; - try { - message = ZZ_ERROR_MSG[errorCode]; - } catch (ArrayIndexOutOfBoundsException e) { - message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR]; - } + yychar+= zzMarkedPosL-zzStartRead; - throw new Error(message); - } + zzAction = -1; - /** - * Pushes the specified amount of characters back into the input stream. - * - * They will be read again by then next call of the scanning method - * - * @param number the number of characters to be read again. - * This number must not be greater than yylength()! - */ - public void yypushback(int number) { - if (number > yylength()) { - zzScanError(ZZ_PUSHBACK_2BIG); - } + zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL; + + zzState = ZZ_LEXSTATE[zzLexicalState]; - zzMarkedPos -= number; - } + // set up zzAction for empty match case: + int zzAttributes = zzAttrL[zzState]; + if ( (zzAttributes & 1) == 1 ) { + zzAction = zzState; + } - /** - * Resumes scanning until the next regular expression is matched, - * the end of input is encountered or an I/O-Error occurs. - * - * @return the next token - * @exception java.io.IOException if any I/O-Error occurs - */ - public ParsedSymbol yylex() throws java.io.IOException, AVM2ParseException { - int zzInput; - int zzAction; - - // cached fields: - int zzCurrentPosL; - int zzMarkedPosL; - int zzEndReadL = zzEndRead; - char[] zzBufferL = zzBuffer; - char[] zzCMapL = ZZ_CMAP; - - int[] zzTransL = ZZ_TRANS; - int[] zzRowMapL = ZZ_ROWMAP; - int[] zzAttrL = ZZ_ATTRIBUTE; + zzForAction: { while (true) { - zzMarkedPosL = zzMarkedPos; - - yychar += zzMarkedPosL - zzStartRead; - - zzAction = -1; - - zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL; - - zzState = ZZ_LEXSTATE[zzLexicalState]; - - // set up zzAction for empty match case: - int zzAttributes = zzAttrL[zzState]; - if ((zzAttributes & 1) == 1) { - zzAction = zzState; + + if (zzCurrentPosL < zzEndReadL) { + zzInput = Character.codePointAt(zzBufferL, zzCurrentPosL, zzEndReadL); + zzCurrentPosL += Character.charCount(zzInput); + } + else if (zzAtEOF) { + zzInput = YYEOF; + break zzForAction; + } + else { + // store back cached positions + zzCurrentPos = zzCurrentPosL; + zzMarkedPos = zzMarkedPosL; + boolean eof = zzRefill(); + // get translated positions and possibly new buffer + zzCurrentPosL = zzCurrentPos; + zzMarkedPosL = zzMarkedPos; + zzBufferL = zzBuffer; + zzEndReadL = zzEndRead; + if (eof) { + zzInput = YYEOF; + break zzForAction; } - - zzForAction: - { - while (true) { - - if (zzCurrentPosL < zzEndReadL) { - zzInput = Character.codePointAt(zzBufferL, zzCurrentPosL, zzEndReadL); - zzCurrentPosL += Character.charCount(zzInput); - } else if (zzAtEOF) { - zzInput = YYEOF; - break zzForAction; - } else { - // store back cached positions - zzCurrentPos = zzCurrentPosL; - zzMarkedPos = zzMarkedPosL; - boolean eof = zzRefill(); - // get translated positions and possibly new buffer - zzCurrentPosL = zzCurrentPos; - zzMarkedPosL = zzMarkedPos; - zzBufferL = zzBuffer; - zzEndReadL = zzEndRead; - if (eof) { - zzInput = YYEOF; - break zzForAction; - } else { - zzInput = Character.codePointAt(zzBufferL, zzCurrentPosL, zzEndReadL); - zzCurrentPosL += Character.charCount(zzInput); - } - } - int zzNext = zzTransL[zzRowMapL[zzState] + zzCMapL[zzInput]]; - if (zzNext == -1) { - break zzForAction; - } - zzState = zzNext; - - zzAttributes = zzAttrL[zzState]; - if ((zzAttributes & 1) == 1) { - zzAction = zzState; - zzMarkedPosL = zzCurrentPosL; - if ((zzAttributes & 8) == 8) { - break zzForAction; - } - } - - } + else { + zzInput = Character.codePointAt(zzBufferL, zzCurrentPosL, zzEndReadL); + zzCurrentPosL += Character.charCount(zzInput); } + } + int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ]; + if (zzNext == -1) break zzForAction; + zzState = zzNext; - // store back cached position - zzMarkedPos = zzMarkedPosL; + zzAttributes = zzAttrL[zzState]; + if ( (zzAttributes & 1) == 1 ) { + zzAction = zzState; + zzMarkedPosL = zzCurrentPosL; + if ( (zzAttributes & 8) == 8 ) break zzForAction; + } - switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) { - case 1: { - } - case 165: - break; - case 2: { - yyline++; - } - case 166: - break; - case 3: { /*ignore*/ - - } - case 167: - break; - case 4: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.DIVIDE, yytext()); - } - case 168: - break; - case 5: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.MULTIPLY, yytext()); - } - case 169: - break; - case 6: { - return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.IDENTIFIER, yytext()); - } - case 170: - break; - case 7: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.DOT, yytext()); - } - case 171: - break; - case 8: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.LOWER_THAN, yytext()); - } - case 172: - break; - case 9: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.NOT, yytext()); - } - case 173: - break; - case 10: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.MINUS, yytext()); - } - case 174: - break; - case 11: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.GREATER_THAN, yytext()); - } - case 175: - break; - case 12: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.COLON, yytext()); - } - case 176: - break; - case 13: { - return new ParsedSymbol(SymbolGroup.INTEGER, SymbolType.INTEGER, Long.parseLong((yytext()))); - } - case 177: - break; - case 14: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.TERNAR, yytext()); - } - case 178: - break; - case 15: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.BRACKET_OPEN, yytext()); - } - case 179: - break; - case 16: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.BRACKET_CLOSE, yytext()); - } - case 180: - break; - case 17: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN, yytext()); - } - case 181: - break; - case 18: { - string.setLength(0); - yybegin(STRING); - } - case 182: - break; - case 19: { - string.setLength(0); - yybegin(CHARLITERAL); - } - case 183: - break; - case 20: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.PLUS, yytext()); - } - case 184: - break; - case 21: { - string.setLength(0); - yybegin(OIDENTIFIER); - } - case 185: - break; - case 22: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.PARENT_OPEN, yytext()); - } - case 186: - break; - case 23: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.PARENT_CLOSE, yytext()); - } - case 187: - break; - case 24: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.CURLY_OPEN, yytext()); - } - case 188: - break; - case 25: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.CURLY_CLOSE, yytext()); - } - case 189: - break; - case 26: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.SEMICOLON, yytext()); - } - case 190: - break; - case 27: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.COMMA, yytext()); - } - case 191: - break; - case 28: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.NEGATE, yytext()); - } - case 192: - break; - case 29: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.BITAND, yytext()); - } - case 193: - break; - case 30: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.BITOR, yytext()); - } - case 194: - break; - case 31: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.XOR, yytext()); - } - case 195: - break; - case 32: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.MODULO, yytext()); - } - case 196: - break; - case 33: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ATTRIBUTE, yytext()); - } - case 197: - break; - case 34: { - string.append(yytext()); - } - case 198: - break; - case 35: { - yybegin(YYINITIAL); - yyline++; - } - case 199: - break; - case 36: { - yybegin(YYINITIAL); - // length also includes the trailing quote - return new ParsedSymbol(SymbolGroup.STRING, SymbolType.STRING, string.toString()); - } - case 200: - break; - case 37: { - yybegin(YYINITIAL); - yyline++; - } - case 201: - break; - case 38: { - string.append(yytext()); - yyline++; - } - case 202: - break; - case 39: { - yybegin(XML); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTTAG_END, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 203: - break; - case 40: { - yybegin(YYINITIAL); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRNAMEVAR_BEGIN, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 204: - break; - case 41: { - yybegin(YYINITIAL); - return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRVALVAR_BEGIN, yytext()); - } - case 205: - break; - case 42: { - yybegin(YYINITIAL); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_INSTRATTRNAMEVAR_BEGIN, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 206: - break; - case 43: { - yybegin(YYINITIAL); - return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_INSTRATTRVALVAR_BEGIN, yytext()); - } - case 207: - break; - case 44: { - string.append(yytext()); - yyline++; - } - case 208: - break; - case 45: { - yybegin(YYINITIAL); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_VAR_BEGIN, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 209: - break; - case 46: { - yybegin(YYINITIAL); - // length also includes the trailing quote - return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.IDENTIFIER, string.toString()); - } - case 210: - break; - case 47: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_DIVIDE, yytext()); - } - case 211: - break; - case 48: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_MULTIPLY, yytext()); - } - case 212: - break; - case 49: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.DESCENDANTS, yytext()); - } - case 213: - break; - case 50: { - return new ParsedSymbol(SymbolGroup.TYPENAME, SymbolType.TYPENAME, yytext()); - } - case 214: - break; - case 51: { - return new ParsedSymbol(SymbolGroup.DOUBLE, SymbolType.DOUBLE, Double.parseDouble((yytext()))); - } - case 215: - break; - case 52: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.FILTER, yytext()); - } - case 216: - break; - case 53: { - yybegin(XMLOPENTAG); - string.setLength(0); - return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTTAG_BEGIN, yytext()); - } - case 217: - break; - case 54: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.SHIFT_LEFT, yytext()); - } - case 218: - break; - case 55: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.LOWER_EQUAL, yytext()); - } - case 219: - break; - case 56: { - return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTVARTAG_BEGIN, yytext()); - } - case 220: - break; - case 57: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.NOT_EQUAL, yytext()); - } - case 221: - break; - case 58: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.DECREMENT, yytext()); - } - case 222: - break; - case 59: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_MINUS, yytext()); - } - case 223: - break; - case 60: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.SHIFT_RIGHT, yytext()); - } - case 224: - break; - case 61: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.GREATER_EQUAL, yytext()); - } - case 225: - break; - case 62: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.NAMESPACE_OP, yytext()); - } - case 226: - break; - case 63: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.EQUALS, yytext()); - } - case 227: - break; - case 64: { - return new ParsedSymbol(SymbolGroup.INTEGER, SymbolType.INTEGER, Long.parseLong(yytext(), 8)); - } - case 228: - break; - case 65: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_PLUS, yytext()); - } - case 229: - break; - case 66: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.INCREMENT, yytext()); - } - case 230: - break; - case 67: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.AS, yytext()); - } - case 231: - break; - case 68: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.IF, yytext()); - } - case 232: - break; - case 69: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.IS, yytext()); - } - case 233: - break; - case 70: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.IN, yytext()); - } - case 234: - break; - case 71: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.DO, yytext()); - } - case 235: - break; - case 72: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_BITAND, yytext()); - } - case 236: - break; - case 73: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.AND, yytext()); - } - case 237: - break; - case 74: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_BITOR, yytext()); - } - case 238: - break; - case 75: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.OR, yytext()); - } - case 239: - break; - case 76: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_XOR, yytext()); - } - case 240: - break; - case 77: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_MODULO, yytext()); - } - case 241: - break; - case 78: { /* ignore illegal character escape */ - - } - case 242: - break; - case 79: { - string.append('\"'); - } - case 243: - break; - case 80: { - string.append('\''); - } - case 244: - break; - case 81: { - string.append('\f'); - } - case 245: - break; - case 82: { - string.append('\\'); - } - case 246: - break; - case 83: { - string.append('\b'); - } - case 247: - break; - case 84: { - string.append('\r'); - } - case 248: - break; - case 85: { - string.append('\n'); - } - case 249: - break; - case 86: { - string.append('\t'); - } - case 250: - break; - case 87: { - yybegin(XML); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTFINISHTAG_END, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 251: - break; - case 88: { - yybegin(XMLOPENTAGATTRIB); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRIBUTENAME, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 252: - break; - case 89: { - yybegin(XMLOPENTAG); - return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRIBUTEVALUE, yytext()); - } - case 253: - break; - case 90: { - yybegin(XMLINSTRATTRIB); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRIBUTENAME, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 254: - break; - case 91: { - yybegin(XML); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_INSTR_END, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 255: - break; - case 92: { - yybegin(XMLINSTROPENTAG); - return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRIBUTEVALUE, yytext()); - } - case 256: - break; - case 93: { - yybegin(XMLOPENTAG); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTTAG_BEGIN, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 257: - break; - case 94: { - yybegin(YYINITIAL); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTVARTAG_BEGIN, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 258: - break; - case 95: { - throw new AVM2ParseException("Illegal escape sequence \"" + yytext() + "\"", yyline + 1); - } - case 259: - break; - case 96: { - string.append('\u00A7'); - } - case 260: - break; - case 97: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.REST, yytext()); - } - case 261: - break; - case 98: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_SHIFT_LEFT, yytext()); - } - case 262: - break; - case 99: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.STRICT_NOT_EQUAL, yytext()); - } - case 263: - break; - case 100: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.USHIFT_RIGHT, yytext()); - } - case 264: - break; - case 101: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_SHIFT_RIGHT, yytext()); - } - case 265: - break; - case 102: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.STRICT_EQUALS, yytext()); - } - case 266: - break; - case 103: { - return new ParsedSymbol(SymbolGroup.INTEGER, SymbolType.INTEGER, Long.parseLong(yytext().substring(2), 16)); - } - case 267: - break; - case 104: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.FOR, yytext()); - } - case 268: - break; - case 105: { - return new ParsedSymbol(SymbolGroup.PREPROCESSOR, SymbolType.PREPROCESSOR, yytext().substring(2)); - } - case 269: - break; - case 106: { - return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.SET, yytext()); - } - case 270: - break; - case 107: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.NEW, yytext()); - } - case 271: - break; - case 108: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.TRY, yytext()); - } - case 272: - break; - case 109: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.USE, yytext()); - } - case 273: - break; - case 110: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.VAR, yytext()); - } - case 274: - break; - case 111: { - return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.GET, yytext()); - } - case 275: - break; - case 112: { - return new ParsedSymbol(SymbolGroup.GLOBALCONST, SymbolType.NAN, yytext()); - } - case 276: - break; - case 113: { - string.append(yytext()); - yybegin(XML); - String ret = string.toString(); - string.setLength(0); - return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_CDATA, ret); - } - case 277: - break; - case 114: { - string.append(yytext()); - yybegin(XML); - String ret = string.toString(); - string.setLength(0); - return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_COMMENT, ret); - } - case 278: - break; - case 115: { - yybegin(YYINITIAL); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_FINISHVARTAG_BEGIN, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 279: - break; - case 116: { - yybegin(XMLINSTROPENTAG); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_INSTR_BEGIN, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 280: - break; - case 117: { - yybegin(YYINITIAL); - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_INSTRVARTAG_BEGIN, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 281: - break; - case 118: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_USHIFT_RIGHT, yytext()); - } - case 282: - break; - case 119: { - return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.EACH, yytext()); - } - case 283: - break; - case 120: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.ELSE, yytext()); - } - case 284: - break; - case 121: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.CASE, yytext()); - } - case 285: - break; - case 122: { - return new ParsedSymbol(SymbolGroup.GLOBALCONST, SymbolType.NULL, yytext()); - } - case 286: - break; - case 123: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.TRUE, yytext()); - } - case 287: - break; - case 124: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.THIS, yytext()); - } - case 288: - break; - case 125: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.WITH, yytext()); - } - case 289: - break; - case 126: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.VOID, yytext()); - } - case 290: - break; - case 127: { - char val = (char) Integer.parseInt(yytext().substring(2), 16); - string.append(val); - } - case 291: - break; - case 128: { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_FINISHTAG, yytext())); - if (string.length() > 0) { - pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); - string.setLength(0); - } - return lex(); - } - case 292: - break; - case 129: { - String ret = string.toString(); - string.setLength(0); - string.append(yytext()); - yybegin(XMLCOMMENT); - if (!ret.isEmpty()) { - return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, ret); - } - } - case 293: - break; - case 130: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.FALSE, yytext()); - } - case 294: - break; - case 131: { - return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.FINAL, yytext()); - } - case 295: - break; - case 132: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.BREAK, yytext()); - } - case 296: - break; - case 133: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.CATCH, yytext()); - } - case 297: - break; - case 134: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.CONST, yytext()); - } - case 298: - break; - case 135: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.CLASS, yytext()); - } - case 299: - break; - case 136: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.SUPER, yytext()); - } - case 300: - break; - case 137: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.THROW, yytext()); - } - case 301: - break; - case 138: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.WHILE, yytext()); - } - case 302: - break; - case 139: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.RETURN, yytext()); - } - case 303: - break; - case 140: { - return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.STATIC, yytext()); - } - case 304: - break; - case 141: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.SWITCH, yytext()); - } - case 305: - break; - case 142: { - return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.NATIVE, yytext()); - } - case 306: - break; - case 143: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.TYPEOF, yytext()); - } - case 307: - break; - case 144: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.IMPORT, yytext()); - } - case 308: - break; - case 145: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.DELETE, yytext()); - } - case 309: - break; - case 146: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.PUBLIC, yytext()); - } - case 310: - break; - case 147: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.FINALLY, yytext()); - } - case 311: - break; - case 148: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.EXTENDS, yytext()); - } - case 312: - break; - case 149: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.DEFAULT, yytext()); - } - case 313: - break; - case 150: { - return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.DYNAMIC, yytext()); - } - case 314: - break; - case 151: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.PRIVATE, yytext()); - } - case 315: - break; - case 152: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.PACKAGE, yytext()); - } - case 316: - break; - case 153: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.FUNCTION, yytext()); - } - case 317: - break; - case 154: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.CONTINUE, yytext()); - } - case 318: - break; - case 155: { - return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.OVERRIDE, yytext()); - } - case 319: - break; - case 156: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.INTERNAL, yytext()); - } - case 320: - break; - case 157: { - return new ParsedSymbol(SymbolGroup.GLOBALCONST, SymbolType.INFINITY, yytext()); - } - case 321: - break; - case 158: { - return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.NAMESPACE, yytext()); - } - case 322: - break; - case 159: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.INTERFACE, yytext()); - } - case 323: - break; - case 160: { - return new ParsedSymbol(SymbolGroup.GLOBALCONST, SymbolType.UNDEFINED, yytext()); - } - case 324: - break; - case 161: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.PROTECTED, yytext()); - } - case 325: - break; - case 162: { - String ret = string.toString(); - string.setLength(0); - string.append(yytext()); - yybegin(XMLCDATA); - if (!ret.isEmpty()) { - return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, ret); - } - } - case 326: - break; - case 163: { - return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.INSTANCEOF, yytext()); - } - case 327: - break; - case 164: { - return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.IMPLEMENTS, yytext()); - } - case 328: - break; - default: - if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { - zzAtEOF = true; - { - return new ParsedSymbol(SymbolGroup.EOF, SymbolType.EOF, null); - } - } else { - zzScanError(ZZ_NO_MATCH); - } - } } + } + + // store back cached position + zzMarkedPos = zzMarkedPosL; + + switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) { + case 1: + { + } + case 165: break; + case 2: + { yyline++; + } + case 166: break; + case 3: + { /*ignore*/ + } + case 167: break; + case 4: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.DIVIDE, yytext()); + } + case 168: break; + case 5: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.MULTIPLY, yytext()); + } + case 169: break; + case 6: + { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.IDENTIFIER, yytext()); + } + case 170: break; + case 7: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.DOT, yytext()); + } + case 171: break; + case 8: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.LOWER_THAN, yytext()); + } + case 172: break; + case 9: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.NOT, yytext()); + } + case 173: break; + case 10: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.MINUS, yytext()); + } + case 174: break; + case 11: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.GREATER_THAN, yytext()); + } + case 175: break; + case 12: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.COLON, yytext()); + } + case 176: break; + case 13: + { return new ParsedSymbol(SymbolGroup.INTEGER, SymbolType.INTEGER, Long.parseLong((yytext()))); + } + case 177: break; + case 14: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.TERNAR, yytext()); + } + case 178: break; + case 15: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.BRACKET_OPEN, yytext()); + } + case 179: break; + case 16: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.BRACKET_CLOSE, yytext()); + } + case 180: break; + case 17: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN, yytext()); + } + case 181: break; + case 18: + { string.setLength(0); + yybegin(STRING); + } + case 182: break; + case 19: + { string.setLength(0); + yybegin(CHARLITERAL); + } + case 183: break; + case 20: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.PLUS, yytext()); + } + case 184: break; + case 21: + { string.setLength(0); + yybegin(OIDENTIFIER); + } + case 185: break; + case 22: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.PARENT_OPEN, yytext()); + } + case 186: break; + case 23: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.PARENT_CLOSE, yytext()); + } + case 187: break; + case 24: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.CURLY_OPEN, yytext()); + } + case 188: break; + case 25: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.CURLY_CLOSE, yytext()); + } + case 189: break; + case 26: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.SEMICOLON, yytext()); + } + case 190: break; + case 27: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.COMMA, yytext()); + } + case 191: break; + case 28: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.NEGATE, yytext()); + } + case 192: break; + case 29: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.BITAND, yytext()); + } + case 193: break; + case 30: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.BITOR, yytext()); + } + case 194: break; + case 31: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.XOR, yytext()); + } + case 195: break; + case 32: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.MODULO, yytext()); + } + case 196: break; + case 33: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ATTRIBUTE, yytext()); + } + case 197: break; + case 34: + { string.append(yytext()); + } + case 198: break; + case 35: + { yybegin(YYINITIAL); yyline++; + } + case 199: break; + case 36: + { yybegin(YYINITIAL); + // length also includes the trailing quote + return new ParsedSymbol(SymbolGroup.STRING, SymbolType.STRING, string.toString()); + } + case 200: break; + case 37: + { yybegin(YYINITIAL); yyline++; + } + case 201: break; + case 38: + { string.append(yytext()); yyline++; + } + case 202: break; + case 39: + { yybegin(XML); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTTAG_END, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 203: break; + case 40: + { yybegin(YYINITIAL); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRNAMEVAR_BEGIN, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 204: break; + case 41: + { yybegin(YYINITIAL); + return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRVALVAR_BEGIN, yytext()); + } + case 205: break; + case 42: + { yybegin(YYINITIAL); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_INSTRATTRNAMEVAR_BEGIN, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 206: break; + case 43: + { yybegin(YYINITIAL); + return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_INSTRATTRVALVAR_BEGIN, yytext()); + } + case 207: break; + case 44: + { string.append(yytext()); yyline++; + } + case 208: break; + case 45: + { yybegin(YYINITIAL); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_VAR_BEGIN, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 209: break; + case 46: + { yybegin(YYINITIAL); + // length also includes the trailing quote + return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.IDENTIFIER, string.toString()); + } + case 210: break; + case 47: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_DIVIDE, yytext()); + } + case 211: break; + case 48: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_MULTIPLY, yytext()); + } + case 212: break; + case 49: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.DESCENDANTS, yytext()); + } + case 213: break; + case 50: + { return new ParsedSymbol(SymbolGroup.TYPENAME, SymbolType.TYPENAME, yytext()); + } + case 214: break; + case 51: + { return new ParsedSymbol(SymbolGroup.DOUBLE, SymbolType.DOUBLE, Double.parseDouble((yytext()))); + } + case 215: break; + case 52: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.FILTER, yytext()); + } + case 216: break; + case 53: + { yybegin(XMLOPENTAG); + string.setLength(0); + return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTTAG_BEGIN, yytext()); + } + case 217: break; + case 54: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.SHIFT_LEFT, yytext()); + } + case 218: break; + case 55: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.LOWER_EQUAL, yytext()); + } + case 219: break; + case 56: + { return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTVARTAG_BEGIN, yytext()); + } + case 220: break; + case 57: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.NOT_EQUAL, yytext()); + } + case 221: break; + case 58: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.DECREMENT, yytext()); + } + case 222: break; + case 59: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_MINUS, yytext()); + } + case 223: break; + case 60: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.SHIFT_RIGHT, yytext()); + } + case 224: break; + case 61: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.GREATER_EQUAL, yytext()); + } + case 225: break; + case 62: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.NAMESPACE_OP, yytext()); + } + case 226: break; + case 63: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.EQUALS, yytext()); + } + case 227: break; + case 64: + { return new ParsedSymbol(SymbolGroup.INTEGER, SymbolType.INTEGER, Long.parseLong(yytext(), 8)); + } + case 228: break; + case 65: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_PLUS, yytext()); + } + case 229: break; + case 66: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.INCREMENT, yytext()); + } + case 230: break; + case 67: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.AS, yytext()); + } + case 231: break; + case 68: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.IF, yytext()); + } + case 232: break; + case 69: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.IS, yytext()); + } + case 233: break; + case 70: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.IN, yytext()); + } + case 234: break; + case 71: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.DO, yytext()); + } + case 235: break; + case 72: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_BITAND, yytext()); + } + case 236: break; + case 73: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.AND, yytext()); + } + case 237: break; + case 74: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_BITOR, yytext()); + } + case 238: break; + case 75: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.OR, yytext()); + } + case 239: break; + case 76: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_XOR, yytext()); + } + case 240: break; + case 77: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_MODULO, yytext()); + } + case 241: break; + case 78: + { /* ignore illegal character escape */ + } + case 242: break; + case 79: + { string.append('\"'); + } + case 243: break; + case 80: + { string.append('\''); + } + case 244: break; + case 81: + { string.append('\f'); + } + case 245: break; + case 82: + { string.append('\\'); + } + case 246: break; + case 83: + { string.append('\b'); + } + case 247: break; + case 84: + { string.append('\r'); + } + case 248: break; + case 85: + { string.append('\n'); + } + case 249: break; + case 86: + { string.append('\t'); + } + case 250: break; + case 87: + { yybegin(XML); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTFINISHTAG_END, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 251: break; + case 88: + { yybegin(XMLOPENTAGATTRIB); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRIBUTENAME, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 252: break; + case 89: + { yybegin(XMLOPENTAG); + return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRIBUTEVALUE, yytext()); + } + case 253: break; + case 90: + { yybegin(XMLINSTRATTRIB); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRIBUTENAME, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 254: break; + case 91: + { yybegin(XML); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_INSTR_END, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 255: break; + case 92: + { yybegin(XMLINSTROPENTAG); + return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRIBUTEVALUE, yytext()); + } + case 256: break; + case 93: + { yybegin(XMLOPENTAG); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTTAG_BEGIN, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 257: break; + case 94: + { yybegin(YYINITIAL); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_STARTVARTAG_BEGIN, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 258: break; + case 95: + { throw new AVM2ParseException("Illegal escape sequence \"" + yytext() + "\"", yyline + 1); + } + case 259: break; + case 96: + { string.append('\u00A7'); + } + case 260: break; + case 97: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.REST, yytext()); + } + case 261: break; + case 98: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_SHIFT_LEFT, yytext()); + } + case 262: break; + case 99: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.STRICT_NOT_EQUAL, yytext()); + } + case 263: break; + case 100: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.USHIFT_RIGHT, yytext()); + } + case 264: break; + case 101: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_SHIFT_RIGHT, yytext()); + } + case 265: break; + case 102: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.STRICT_EQUALS, yytext()); + } + case 266: break; + case 103: + { return new ParsedSymbol(SymbolGroup.INTEGER, SymbolType.INTEGER, Long.parseLong(yytext().substring(2), 16)); + } + case 267: break; + case 104: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.FOR, yytext()); + } + case 268: break; + case 105: + { return new ParsedSymbol(SymbolGroup.PREPROCESSOR, SymbolType.PREPROCESSOR, yytext().substring(2)); + } + case 269: break; + case 106: + { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.SET, yytext()); + } + case 270: break; + case 107: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.NEW, yytext()); + } + case 271: break; + case 108: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.TRY, yytext()); + } + case 272: break; + case 109: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.USE, yytext()); + } + case 273: break; + case 110: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.VAR, yytext()); + } + case 274: break; + case 111: + { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.GET, yytext()); + } + case 275: break; + case 112: + { return new ParsedSymbol(SymbolGroup.GLOBALCONST, SymbolType.NAN, yytext()); + } + case 276: break; + case 113: + { string.append(yytext()); + yybegin(XML); + String ret = string.toString(); + string.setLength(0); + return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_CDATA, ret); + } + case 277: break; + case 114: + { string.append(yytext()); + yybegin(XML); + String ret = string.toString(); + string.setLength(0); + return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_COMMENT, ret); + } + case 278: break; + case 115: + { yybegin(YYINITIAL); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_FINISHVARTAG_BEGIN, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 279: break; + case 116: + { yybegin(XMLINSTROPENTAG); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_INSTR_BEGIN, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 280: break; + case 117: + { yybegin(YYINITIAL); + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_INSTRVARTAG_BEGIN, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 281: break; + case 118: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.ASSIGN_USHIFT_RIGHT, yytext()); + } + case 282: break; + case 119: + { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.EACH, yytext()); + } + case 283: break; + case 120: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.ELSE, yytext()); + } + case 284: break; + case 121: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.CASE, yytext()); + } + case 285: break; + case 122: + { return new ParsedSymbol(SymbolGroup.GLOBALCONST, SymbolType.NULL, yytext()); + } + case 286: break; + case 123: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.TRUE, yytext()); + } + case 287: break; + case 124: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.THIS, yytext()); + } + case 288: break; + case 125: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.WITH, yytext()); + } + case 289: break; + case 126: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.VOID, yytext()); + } + case 290: break; + case 127: + { char val = (char) Integer.parseInt(yytext().substring(2), 16); + string.append(val); + } + case 291: break; + case 128: + { pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_FINISHTAG, yytext())); + if (string.length() > 0){ + pushback(new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, string.toString())); + string.setLength(0); + } + return lex(); + } + case 292: break; + case 129: + { String ret = string.toString(); string.setLength(0); string.append(yytext()); yybegin(XMLCOMMENT); + if (!ret.isEmpty()) return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, ret); + } + case 293: break; + case 130: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.FALSE, yytext()); + } + case 294: break; + case 131: + { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.FINAL, yytext()); + } + case 295: break; + case 132: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.BREAK, yytext()); + } + case 296: break; + case 133: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.CATCH, yytext()); + } + case 297: break; + case 134: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.CONST, yytext()); + } + case 298: break; + case 135: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.CLASS, yytext()); + } + case 299: break; + case 136: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.SUPER, yytext()); + } + case 300: break; + case 137: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.THROW, yytext()); + } + case 301: break; + case 138: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.WHILE, yytext()); + } + case 302: break; + case 139: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.RETURN, yytext()); + } + case 303: break; + case 140: + { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.STATIC, yytext()); + } + case 304: break; + case 141: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.SWITCH, yytext()); + } + case 305: break; + case 142: + { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.NATIVE, yytext()); + } + case 306: break; + case 143: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.TYPEOF, yytext()); + } + case 307: break; + case 144: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.IMPORT, yytext()); + } + case 308: break; + case 145: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.DELETE, yytext()); + } + case 309: break; + case 146: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.PUBLIC, yytext()); + } + case 310: break; + case 147: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.FINALLY, yytext()); + } + case 311: break; + case 148: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.EXTENDS, yytext()); + } + case 312: break; + case 149: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.DEFAULT, yytext()); + } + case 313: break; + case 150: + { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.DYNAMIC, yytext()); + } + case 314: break; + case 151: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.PRIVATE, yytext()); + } + case 315: break; + case 152: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.PACKAGE, yytext()); + } + case 316: break; + case 153: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.FUNCTION, yytext()); + } + case 317: break; + case 154: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.CONTINUE, yytext()); + } + case 318: break; + case 155: + { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.OVERRIDE, yytext()); + } + case 319: break; + case 156: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.INTERNAL, yytext()); + } + case 320: break; + case 157: + { return new ParsedSymbol(SymbolGroup.GLOBALCONST, SymbolType.INFINITY, yytext()); + } + case 321: break; + case 158: + { return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.NAMESPACE, yytext()); + } + case 322: break; + case 159: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.INTERFACE, yytext()); + } + case 323: break; + case 160: + { return new ParsedSymbol(SymbolGroup.GLOBALCONST, SymbolType.UNDEFINED, yytext()); + } + case 324: break; + case 161: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.PROTECTED, yytext()); + } + case 325: break; + case 162: + { String ret = string.toString(); string.setLength(0); string.append(yytext() ); yybegin(XMLCDATA); + if (!ret.isEmpty()) return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_TEXT, ret); + } + case 326: break; + case 163: + { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.INSTANCEOF, yytext()); + } + case 327: break; + case 164: + { return new ParsedSymbol(SymbolGroup.KEYWORD, SymbolType.IMPLEMENTS, yytext()); + } + case 328: break; + default: + if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { + zzAtEOF = true; + { + return new ParsedSymbol(SymbolGroup.EOF, SymbolType.EOF, null); + } + } + else { + zzScanError(ZZ_NO_MATCH); + } + } } + } + + } diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/Stage.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/Stage.java index d0a0c2d66..8a643db5a 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/Stage.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/Stage.java @@ -27,7 +27,7 @@ public class Stage extends DisplayObject { startTime = System.currentTimeMillis(); this.timelined = timelined; this.timeline = timelined != null ? timelined.getTimeline() : null; - this.frame = timelined != null ? this.timeline.getFrame(0) : null; + this.frame = timelined != null && this.timeline.getFrameCount() > 0 ? this.timeline.getFrame(0) : null; } @Override diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java index 54b0301ab..e3e7764b1 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java @@ -359,7 +359,11 @@ public class DefineEditTextTag extends TextTag { private List getTextWithStyle() { String str = ""; TextStyle style = new TextStyle(); - style.font = swf.getFont(fontId); + if (fontClass != null) { + style.font = swf.getFontByClass(fontClass); + } else { + style.font = swf.getFont(fontId); + } style.fontHeight = fontHeight; style.fontLeading = leading; if (hasTextColor) { @@ -991,10 +995,8 @@ public class DefineEditTextTag extends TextTag { if (Character.isWhitespace(c)) { lastWasWhiteSpace = true; } - } else { - if (multiline) { - textModel.newParagraph(); - } + } else if (multiline) { + textModel.newParagraph(); } prevChar = c; } @@ -1096,8 +1098,15 @@ public class DefineEditTextTag extends TextTag { } for (SameStyleTextRecord tr : line) { TEXTRECORD tr2 = new TEXTRECORD(); - tr2.styleFlagsHasFont = fontId != 0; - tr2.fontId = fontId; + int fid = fontId; + if (fontClass != null) { + FontTag ft = swf.getFontByClass(fontClass); + if (ft != null) { + fid = ft.getFontId(); + } + } + tr2.styleFlagsHasFont = fid != 0; + tr2.fontId = fid; tr2.textHeight = tr.style.fontHeight; if (tr.style.textColor != null) { tr2.styleFlagsHasColor = true; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ExportAssetsTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ExportAssetsTag.java index fb6e3b21c..4180314e2 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ExportAssetsTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ExportAssetsTag.java @@ -28,7 +28,9 @@ import com.jpexs.decompiler.flash.types.annotations.Table; import com.jpexs.helpers.ByteArrayRange; import java.io.IOException; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; /** * Makes portions of a SWF file available for import by other SWF files @@ -65,6 +67,19 @@ public class ExportAssetsTag extends SymbolClassTypeTag { names = new ArrayList<>(); } + @Override + public Map getTagToNameMap() { + Map exportNames = new HashMap<>(); + for (int i = 0; i < tags.size(); i++) { + int tagId = tags.get(i); + String name = names.get(i); + if ((!exportNames.containsKey(tagId)) && (!exportNames.containsValue(name))) { + exportNames.put(tagId, name); + } + } + return exportNames; + } + /** * Constructor * diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SymbolClassTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SymbolClassTag.java index 24c56b068..6cf24e4be 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SymbolClassTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SymbolClassTag.java @@ -28,7 +28,9 @@ import com.jpexs.decompiler.flash.types.annotations.Table; import com.jpexs.helpers.ByteArrayRange; import java.io.IOException; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; /** * @@ -50,6 +52,19 @@ public class SymbolClassTag extends SymbolClassTypeTag { @Table(value = "symbols", itemName = "symbol") public List names; + @Override + public Map getTagToNameMap() { + Map exportNames = new HashMap<>(); + for (int i = 0; i < tags.size(); i++) { + int tagId = tags.get(i); + String name = names.get(i); + if ((!exportNames.containsKey(tagId)) && (!exportNames.containsValue(name))) { + exportNames.put(tagId, name); + } + } + return exportNames; + } + /** * Constructor * diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java index 1b10b7130..218d5b178 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java @@ -84,6 +84,17 @@ public abstract class Tag implements NeedsCharacters, Exportable, Serializable { @Internal private boolean modified; + @Internal + protected boolean imported = false; + + public void setImported(boolean imported) { + this.imported = imported; + } + + public boolean isImported() { + return imported; + } + /** * Original tag data */ @@ -573,6 +584,10 @@ public abstract class Tag implements NeedsCharacters, Exportable, Serializable { return modified; } + public boolean isReadOnly() { + return isImported(); + } + @Override public void getNeededCharacters(Set needed) { } diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImportTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImportTag.java index c5222778c..2255ed3e3 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImportTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImportTag.java @@ -12,7 +12,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library. */ + * License along with this library. + */ package com.jpexs.decompiler.flash.tags.base; import java.util.Map; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/SymbolClassTypeTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/SymbolClassTypeTag.java index e305ead38..f30518908 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/SymbolClassTypeTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/SymbolClassTypeTag.java @@ -19,6 +19,7 @@ package com.jpexs.decompiler.flash.tags.base; import com.jpexs.decompiler.flash.SWF; import com.jpexs.decompiler.flash.tags.Tag; import com.jpexs.helpers.ByteArrayRange; +import java.util.Map; /** * @@ -29,4 +30,6 @@ public abstract class SymbolClassTypeTag extends Tag { public SymbolClassTypeTag(SWF swf, int id, String name, ByteArrayRange data) { super(swf, id, name, data); } + + public abstract Map getTagToNameMap(); } diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java index 401e77d27..681fcca6a 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java @@ -109,6 +109,9 @@ public class Timeline { public Frame getFrame(int index) { ensureInitialized(); + if (index >= frames.size()) { + return null; + } return frames.get(index); } diff --git a/src/com/jpexs/decompiler/flash/gui/FontPanel.java b/src/com/jpexs/decompiler/flash/gui/FontPanel.java index 984b5b781..6ad19b0bc 100644 --- a/src/com/jpexs/decompiler/flash/gui/FontPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/FontPanel.java @@ -219,6 +219,9 @@ public class FontPanel extends JPanel { setAllowSave(true); setEditable(false); + boolean readOnly = ((Tag) ft).isReadOnly(); + addCharsPanel.setVisible(!readOnly); + buttonEdit.setVisible(!readOnly); } private void initComponents() { diff --git a/src/com/jpexs/decompiler/flash/gui/Main.java b/src/com/jpexs/decompiler/flash/gui/Main.java index 70d494ee3..a0086f15d 100644 --- a/src/com/jpexs/decompiler/flash/gui/Main.java +++ b/src/com/jpexs/decompiler/flash/gui/Main.java @@ -26,8 +26,10 @@ import com.jpexs.decompiler.flash.SWFBundle; import com.jpexs.decompiler.flash.SWFSourceInfo; import com.jpexs.decompiler.flash.SearchMode; import com.jpexs.decompiler.flash.SwfOpenException; +import com.jpexs.decompiler.flash.UrlResolver; import com.jpexs.decompiler.flash.Version; import com.jpexs.decompiler.flash.abc.avm2.AVM2Code; +import com.jpexs.decompiler.flash.abc.avm2.parser.script.Reference; import com.jpexs.decompiler.flash.configuration.Configuration; import com.jpexs.decompiler.flash.configuration.SwfSpecificConfiguration; import com.jpexs.decompiler.flash.console.CommandLineArgumentParser; @@ -653,18 +655,149 @@ public class Main { } } else { InputStream fInputStream = inputStream; + + final String[] yesno = new String[]{AppStrings.translate("button.yes"), AppStrings.translate("button.no"), AppStrings.translate("button.yes.all"), AppStrings.translate("button.no.all")}; + CancellableWorker worker = new CancellableWorker() { - @Override - public SWF doInBackground() throws Exception { + + private boolean yestoall = false; + private boolean notoall = false; + + private SWF open(InputStream is, String file, String fileTitle) throws IOException, InterruptedException { final CancellableWorker worker = this; - SWF swf = new SWF(fInputStream, sourceInfo.getFile(), sourceInfo.getFileTitle(), new ProgressListener() { + + SWF swf = new SWF(is, file, fileTitle, new ProgressListener() { @Override public void progress(int p) { startWork(AppStrings.translate("work.reading.swf"), p, worker); } - }, Configuration.parallelSpeedUp.get()); + }, Configuration.parallelSpeedUp.get(), false, true, new UrlResolver() { + @Override + public SWF resolveUrl(final String url) { + int opt = -1; + if (!(yestoall || notoall)) { + opt = View.showOptionDialog(null, AppStrings.translate("message.imported.swf").replace("%url%", url), AppStrings.translate("message.warning"), JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE, null, yesno, AppStrings.translate("button.yes")); + if (opt == 2) { + yestoall = true; + } + if (opt == 3) { + notoall = true; + } + } + + if (yestoall) { + opt = 0; // yes + } else if (notoall) { + opt = 1; // no + } + + if (opt == 1) //no + { + return null; + } + + if (url.startsWith("http://") || url.startsWith("https://")) { + try { + URL u = new URL(url); + return open(u.openStream(), null, url); //? + } catch (Exception ex) { + //ignore + } + } else { + File f = new File(new File(file).getParentFile(), url); + if (f.exists()) { + try { + return open(new FileInputStream(f), f.getAbsolutePath(), f.getName()); + } catch (Exception ex) { + //ignore + } + } + } + Reference ret = new Reference<>(null); + View.execInEventDispatch(new Runnable() { + @Override + public void run() { + + while (JOptionPane.YES_OPTION == View.showConfirmDialog(null, AppStrings.translate("message.imported.swf.manually").replace("%url%", url), AppStrings.translate("error"), JOptionPane.YES_NO_OPTION, JOptionPane.ERROR_MESSAGE)) { + + JFileChooser fc = new JFileChooser(); + fc.setCurrentDirectory(new File(Configuration.lastOpenDir.get())); + FileFilter allSupportedFilter = new FileFilter() { + private final String[] supportedExtensions = new String[]{".swf", ".gfx"}; + + @Override + public boolean accept(File f) { + String name = f.getName().toLowerCase(); + for (String ext : supportedExtensions) { + if (name.endsWith(ext)) { + return true; + } + } + return f.isDirectory(); + } + + @Override + public String getDescription() { + String exts = Helper.joinStrings(supportedExtensions, "*%s", "; "); + return AppStrings.translate("filter.supported") + " (" + exts + ")"; + } + }; + fc.setFileFilter(allSupportedFilter); + FileFilter swfFilter = new FileFilter() { + @Override + public boolean accept(File f) { + return (f.getName().toLowerCase().endsWith(".swf")) || (f.isDirectory()); + } + + @Override + public String getDescription() { + return AppStrings.translate("filter.swf"); + } + }; + fc.addChoosableFileFilter(swfFilter); + + FileFilter gfxFilter = new FileFilter() { + @Override + public boolean accept(File f) { + return (f.getName().toLowerCase().endsWith(".gfx")) || (f.isDirectory()); + } + + @Override + public String getDescription() { + return AppStrings.translate("filter.gfx"); + } + }; + fc.addChoosableFileFilter(gfxFilter); + fc.setAcceptAllFileFilterUsed(false); + JFrame f = new JFrame(); + View.setWindowIcon(f); + int returnVal = fc.showOpenDialog(f); + if (returnVal == JFileChooser.APPROVE_OPTION) { + Configuration.lastOpenDir.set(Helper.fixDialogFile(fc.getSelectedFile()).getParentFile().getAbsolutePath()); + File selFile = Helper.fixDialogFile(fc.getSelectedFile()); + try { + ret.setVal(open(new FileInputStream(selFile), selFile.getAbsolutePath(), selFile.getName())); + break; + } catch (Exception ex) { + //ignore; + } + } else { + break; + } + } + } + }); + return ret.getVal(); + } + }); return swf; } + + @Override + + public SWF doInBackground() throws Exception { + return open(fInputStream, sourceInfo.getFile(), sourceInfo.getFileTitle()); + } }; if (loadingDialog != null) { loadingDialog.setWroker(worker); diff --git a/src/com/jpexs/decompiler/flash/gui/MainPanel.java b/src/com/jpexs/decompiler/flash/gui/MainPanel.java index ac584586d..0915baace 100644 --- a/src/com/jpexs/decompiler/flash/gui/MainPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/MainPanel.java @@ -833,10 +833,8 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se if (View.showConfirmDialog(this, translate("message.confirm.closeAll"), translate("message.warning"), JOptionPane.OK_CANCEL_OPTION, Configuration.showCloseConfirmation, JOptionPane.OK_OPTION) != JOptionPane.OK_OPTION) { return false; } - } else { - if (View.showConfirmDialog(this, translate("message.confirm.close").replace("{swfName}", swfList.toString()), translate("message.warning"), JOptionPane.OK_CANCEL_OPTION, Configuration.showCloseConfirmation, JOptionPane.OK_OPTION) != JOptionPane.OK_OPTION) { - return false; - } + } else if (View.showConfirmDialog(this, translate("message.confirm.close").replace("{swfName}", swfList.toString()), translate("message.warning"), JOptionPane.OK_CANCEL_OPTION, Configuration.showCloseConfirmation, JOptionPane.OK_OPTION) != JOptionPane.OK_OPTION) { + return false; } return true; @@ -1556,6 +1554,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se actionPanel.editor.refreshMarkers(); } } + /* public void debuggerBreakAt(SWF swf, String cls, int line) { View.execInEventDispatchLater(new Runnable() { @@ -1570,7 +1569,6 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se }); }*/ - public void gotoScriptName(SWF swf, String scriptName) { if (swf == null) { return; @@ -2166,10 +2164,8 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se List sel = tagTree.getAllSelected(); if (!onlySel) { sel = null; - } else { - if (sel.isEmpty()) { - return; - } + } else if (sel.isEmpty()) { + return; } final ExportDialog export = new ExportDialog(sel); if (export.showExportDialog() == AppDialog.OK_OPTION) { @@ -2818,10 +2814,8 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se if (detailPanel.isVisible()) { detailPanel.setVisible(false); } - } else { - if (!detailPanel.isVisible()) { - detailPanel.setVisible(true); - } + } else if (!detailPanel.isVisible()) { + detailPanel.setVisible(true); } } @@ -3194,7 +3188,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se showCard(CARDACTIONSCRIPTPANEL); } else if (treeItem instanceof ImageTag) { ImageTag imageTag = (ImageTag) treeItem; - previewPanel.setImageReplaceButtonVisible(imageTag.importSupported(), imageTag instanceof DefineBitsJPEG3Tag || imageTag instanceof DefineBitsJPEG4Tag); + previewPanel.setImageReplaceButtonVisible(!((Tag) imageTag).isReadOnly() && imageTag.importSupported(), imageTag instanceof DefineBitsJPEG3Tag || imageTag instanceof DefineBitsJPEG4Tag); previewPanel.showImagePanel(imageTag.getImage()); showCard(CARDPREVIEWPANEL); } else if ((treeItem instanceof DrawableTag) && (!(treeItem instanceof TextTag)) && (!(treeItem instanceof FontTag)) && internalViewer) { @@ -3227,7 +3221,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se showCard(CARDPREVIEWPANEL); } else if ((treeItem instanceof SoundTag)) { //&& isInternalFlashViewerSelected() && (Arrays.asList("mp3", "wav").contains(((SoundTag) tagObj).getExportFormat())))) { previewPanel.showImagePanel(new SerializableImage(View.loadImage("sound32"))); - previewPanel.setImageReplaceButtonVisible(treeItem instanceof DefineSoundTag, false); + previewPanel.setImageReplaceButtonVisible(((Tag) treeItem).isReadOnly() && (treeItem instanceof DefineSoundTag), false); try { SoundTagPlayer soundThread = new SoundTagPlayer((SoundTag) treeItem, Configuration.loopMedia.get() ? Integer.MAX_VALUE : 1, true); previewPanel.setMedia(soundThread); diff --git a/src/com/jpexs/decompiler/flash/gui/TextPanel.java b/src/com/jpexs/decompiler/flash/gui/TextPanel.java index c24655e46..abed42584 100644 --- a/src/com/jpexs/decompiler/flash/gui/TextPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/TextPanel.java @@ -24,6 +24,7 @@ import com.jpexs.decompiler.flash.helpers.HighlightedText; import com.jpexs.decompiler.flash.helpers.hilight.HighlightSpecialType; import com.jpexs.decompiler.flash.helpers.hilight.Highlighting; import com.jpexs.decompiler.flash.tags.DefineEditTextTag; +import com.jpexs.decompiler.flash.tags.Tag; import com.jpexs.decompiler.flash.tags.base.FontTag; import com.jpexs.decompiler.flash.tags.base.MissingCharacterHandler; import com.jpexs.decompiler.flash.tags.base.TextTag; @@ -59,6 +60,8 @@ public class TextPanel extends JPanel implements TagEditorPanel { private final LineMarkedEditorPane textValue; + private final JPanel buttonsPanel; + private final JButton textEditButton; private final JButton textSaveButton; @@ -132,7 +135,7 @@ public class TextPanel extends JPanel implements TagEditorPanel { topPanel.add(textButtonsPanel); add(topPanel, BorderLayout.NORTH); - JPanel buttonsPanel = new JPanel(new FlowLayout()); + buttonsPanel = new JPanel(new FlowLayout()); textEditButton = createButton("button.edit", "edit16", null, e -> editText()); textSaveButton = createButton("button.save", "save16", null, e -> saveText(true)); textCancelButton = createButton("button.cancel", "cancel16", null, e -> cancelText()); @@ -174,6 +177,17 @@ public class TextPanel extends JPanel implements TagEditorPanel { textValue.setCaretPosition(0); setModified(false); setEditText(false); + boolean readOnly = ((Tag) textTag).isReadOnly(); + textValue.setEditable(!readOnly); + buttonsPanel.setVisible(!readOnly); + textAlignLeftButton.setVisible(!readOnly); + textAlignCenterButton.setVisible(!readOnly); + textAlignRightButton.setVisible(!readOnly); + textAlignJustifyButton.setVisible(!readOnly); + decreaseTranslateXButton.setVisible(!readOnly); + increaseTranslateXButton.setVisible(!readOnly); + changeCaseButton.setVisible(!readOnly); + undoChangesButton.setVisible(!readOnly); } private boolean isModified() { diff --git a/src/com/jpexs/decompiler/flash/gui/graphics/icon16.png b/src/com/jpexs/decompiler/flash/gui/graphics/icon16.png index 83a00ff08..1bf80d92b 100644 Binary files a/src/com/jpexs/decompiler/flash/gui/graphics/icon16.png and b/src/com/jpexs/decompiler/flash/gui/graphics/icon16.png differ diff --git a/src/com/jpexs/decompiler/flash/gui/graphics/icon256.png b/src/com/jpexs/decompiler/flash/gui/graphics/icon256.png index e671c5cca..12b227f99 100644 Binary files a/src/com/jpexs/decompiler/flash/gui/graphics/icon256.png and b/src/com/jpexs/decompiler/flash/gui/graphics/icon256.png differ diff --git a/src/com/jpexs/decompiler/flash/gui/graphics/icon32.png b/src/com/jpexs/decompiler/flash/gui/graphics/icon32.png index 21788e287..d4117e847 100644 Binary files a/src/com/jpexs/decompiler/flash/gui/graphics/icon32.png and b/src/com/jpexs/decompiler/flash/gui/graphics/icon32.png differ diff --git a/src/com/jpexs/decompiler/flash/gui/graphics/icon48.png b/src/com/jpexs/decompiler/flash/gui/graphics/icon48.png index 2e0833837..a0a1261a0 100644 Binary files a/src/com/jpexs/decompiler/flash/gui/graphics/icon48.png and b/src/com/jpexs/decompiler/flash/gui/graphics/icon48.png differ diff --git a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties index 9cd548c10..1b08517d5 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties @@ -702,3 +702,6 @@ menu.file.start.debugpcode = Debug P-code #after 7.1.2 button.replaceNoFill = Replace - Update bounds... message.warning.svgImportExperimental = Not all SVG features are supported. Only solid color fill mode is supported. Please check the log after import. + +message.imported.swf = The SWF file uses assets from an imported SWF file:\n%url%\nDo you want the assets to be loaded from that URL? +message.imported.swf.manually = Cannot load imported SWF\n%url%\nThe file or URL does not exist.\nDo you want to select local file? \ No newline at end of file diff --git a/src/com/jpexs/decompiler/flash/gui/tagtree/TagTree.java b/src/com/jpexs/decompiler/flash/gui/tagtree/TagTree.java index 6c42d2618..78268b8f7 100644 --- a/src/com/jpexs/decompiler/flash/gui/tagtree/TagTree.java +++ b/src/com/jpexs/decompiler/flash/gui/tagtree/TagTree.java @@ -206,19 +206,27 @@ public class TagTree extends JTree { isModified = true; } }*/ + boolean isReadOnly = false; + if (val instanceof Tag) { + isReadOnly = ((Tag) val).isReadOnly(); + } + boolean isModified = val.isModified(); if (isModified) { if (boldFont == null) { Font font = getFont(); boldFont = font.deriveFont(Font.BOLD); } - } else { - if (plainFont == null) { - Font font = getFont(); - plainFont = font.deriveFont(Font.PLAIN); - } + } else if (plainFont == null) { + Font font = getFont(); + plainFont = font.deriveFont(Font.PLAIN); } setFont(isModified ? boldFont : plainFont); + if (isReadOnly) { + setForeground(new Color(0xcc, 0xcc, 0xcc)); + } else { + setForeground(Color.BLACK); + } return this; }