diff options
46 files changed, 7164 insertions, 6163 deletions
@@ -23,6 +23,22 @@ Start Eclipse ------------- Start Eclipse and use the root checkout folder (the one containing the *vaadin*, *gwt* and *gwt-tools* folders) as the workspace folder +Install IvyDE +--------- +You'll need the Apache Ivy plug-in for Eclipse to build the project later on, in “Compiling the Default Widget Set and Themes”. + +1. Go to *Help* -> *Install New Software...* +1. Enter `http://www.apache.org/dist/ant/ivyde/updatesite` in the "Work with:" text field +1. Select and install all items + +If you have installed IvyDE via the Eclipse Marketplace previously, make sure that you also have *Apache Ivy Ant Targets* installed, which is not included in that IvyDE installation: + +1. Go to *Help* -> *Install New Software...* +1. Click the hyperlink in the "What is already installed?" sentence near the bottom right-hand corner +1. Verify that the list includes *Apache Ivy Ant Tasks* + +If it isn't included, follow the installation process above, but select only *Apache Ivy library* > *Apache Ivy Ant Tasks* + Set up the Workspace and define required variables for projects -------- 1. Open *Window* -> *Preferences* (Windows) or *Eclipse* -> *Preferences* (Mac) @@ -38,7 +54,7 @@ Set up the Workspace and define required variables for projects 1. JDK_HOME referring to your jdk installation directory ![GWT_TOOLS](http://f.cl.ly/items/1k2Z1n2v0p0y3l0X0D1G/ClasspathVars.png "Defining GWT_TOOLS") 1. Go to Java -> Compiler - 1. Check that the compliance level has been set to 1.6 (or higher) + 1. Check that the compliance level has been set to 1.6 1. Go to XML -> XML Files -> Editor 1. Ensure the settings are follows: <pre><code>Line width: 72 diff --git a/WebContent/VAADIN/jquery.atmosphere.js b/WebContent/VAADIN/jquery.atmosphere.js index b2dd99f5d2..b6f86d428a 100644 --- a/WebContent/VAADIN/jquery.atmosphere.js +++ b/WebContent/VAADIN/jquery.atmosphere.js @@ -1213,9 +1213,13 @@ jQuery.atmosphere = function() { messageLength = jQuery.trim(message.substring(messageLength, messageStart)); message = message.substring(messageStart + request.messageDelimiter.length, message.length); + // Stop search if there is not enough characters remaining (wait for next part to arrive) if (message.length == 0 || message.length < messageLength) break; - messageStart = message.indexOf(request.messageDelimiter); + // Find start of a possibly existing subsequent message from the remaining data + messageStart = message.substring(messageLength).indexOf(request.messageDelimiter); + + // Store the completely received message messages.push(message.substring(0, messageLength)); } diff --git a/client/src/com/vaadin/client/ApplicationConnection.java b/client/src/com/vaadin/client/ApplicationConnection.java index 0b64f56c3e..0d9c859ee8 100644 --- a/client/src/com/vaadin/client/ApplicationConnection.java +++ b/client/src/com/vaadin/client/ApplicationConnection.java @@ -1686,8 +1686,15 @@ public class ApplicationConnection { for (int i = 0; i < size; i++) { ServerConnector c = currentConnectors.get(i); if (c.getParent() != null) { - if (!c.getParent().getChildren().contains(c)) { - VConsole.error("ERROR: Connector is connected to a parent but the parent does not contain the connector"); + // only do this check if debug mode is active + if (ApplicationConfiguration.isDebugMode()) { + Profiler.enter("unregisterRemovedConnectors check parent - this is only performed in debug mode"); + // this is slow for large layouts, 25-30% of total + // time for some operations even on modern browsers + if (!c.getParent().getChildren().contains(c)) { + VConsole.error("ERROR: Connector is connected to a parent but the parent does not contain the connector"); + } + Profiler.leave("unregisterRemovedConnectors check parent - this is only performed in debug mode"); } } else if (c == getUIConnector()) { // UIConnector for this connection, leave as-is @@ -1701,7 +1708,9 @@ public class ApplicationConnection { // hierarchy, unregister it and any possible // children. The UIConnector should never be // unregistered even though it has no parent. + Profiler.enter("unregisterRemovedConnectors unregisterConnector"); connectorMap.unregisterConnector(c); + Profiler.leave("unregisterRemovedConnectors unregisterConnector"); unregistered++; } @@ -1984,6 +1993,8 @@ public class ApplicationConnection { JsArrayString hierarchyKeys = hierarchies.getKeyArray(); for (int i = 0; i < hierarchyKeys.length(); i++) { try { + Profiler.enter("updateConnectorHierarchy hierarchy entry"); + String connectorId = hierarchyKeys.get(i); ServerConnector parentConnector = connectorMap .getConnector(connectorId); @@ -1991,6 +2002,8 @@ public class ApplicationConnection { .getJSStringArray(connectorId); int childConnectorSize = childConnectorIds.length(); + Profiler.enter("updateConnectorHierarchy find new connectors"); + List<ServerConnector> newChildren = new ArrayList<ServerConnector>(); List<ComponentConnector> newComponents = new ArrayList<ComponentConnector>(); for (int connectorIndex = 0; connectorIndex < childConnectorSize; connectorIndex++) { @@ -2029,6 +2042,8 @@ public class ApplicationConnection { } } + Profiler.leave("updateConnectorHierarchy find new connectors"); + // TODO This check should be done on the server side in // the future so the hierarchy update is only sent when // something actually has changed @@ -2041,6 +2056,8 @@ public class ApplicationConnection { continue; } + Profiler.enter("updateConnectorHierarchy handle HasComponentsConnector"); + if (parentConnector instanceof HasComponentsConnector) { HasComponentsConnector ccc = (HasComponentsConnector) parentConnector; List<ComponentConnector> oldComponents = ccc @@ -2062,7 +2079,13 @@ public class ApplicationConnection { + " has component children even though it isn't a HasComponentsConnector"); } + Profiler.leave("updateConnectorHierarchy handle HasComponentsConnector"); + + Profiler.enter("updateConnectorHierarchy setChildren"); parentConnector.setChildren(newChildren); + Profiler.leave("updateConnectorHierarchy setChildren"); + + Profiler.enter("updateConnectorHierarchy find removed children"); /* * Find children removed from this parent and mark for @@ -2084,11 +2107,17 @@ public class ApplicationConnection { maybeDetached.add(oldChild.getConnectorId()); } } + + Profiler.leave("updateConnectorHierarchy find removed children"); } catch (final Throwable e) { VConsole.error(e); + } finally { + Profiler.leave("updateConnectorHierarchy hierarchy entry"); } } + Profiler.enter("updateConnectorHierarchy detach removed connectors"); + /* * Connector is in maybeDetached at this point if it has been * removed from its parent but not added to any other parent @@ -2100,6 +2129,8 @@ public class ApplicationConnection { recursivelyDetach(removed, result.events); } + Profiler.leave("updateConnectorHierarchy detach removed connectors"); + Profiler.leave("updateConnectorHierarchy"); return result; @@ -2116,27 +2147,44 @@ public class ApplicationConnection { * is the closest we can get without data from the server. * #10151 */ + Profiler.enter("ApplicationConnection recursivelyDetach reset state"); try { + Profiler.enter("ApplicationConnection recursivelyDetach reset state - getStateType"); Type stateType = AbstractConnector.getStateType(connector); + Profiler.leave("ApplicationConnection recursivelyDetach reset state - getStateType"); // Empty state instance to get default property values from + Profiler.enter("ApplicationConnection recursivelyDetach reset state - createInstance"); Object defaultState = stateType.createInstance(); + Profiler.leave("ApplicationConnection recursivelyDetach reset state - createInstance"); - SharedState state = connector.getState(); - - JsArrayObject<Property> properties = stateType - .getPropertiesAsArray(); - int size = properties.size(); - for (int i = 0; i < size; i++) { - Property property = properties.get(i); - property.setValue(state, - property.getValue(defaultState)); + if (connector instanceof AbstractConnector) { + // optimization as the loop setting properties is very + // slow, especially on IE8 + replaceState((AbstractConnector) connector, + defaultState); + } else { + SharedState state = connector.getState(); + + Profiler.enter("ApplicationConnection recursivelyDetach reset state - properties"); + JsArrayObject<Property> properties = stateType + .getPropertiesAsArray(); + int size = properties.size(); + for (int i = 0; i < size; i++) { + Property property = properties.get(i); + property.setValue(state, + property.getValue(defaultState)); + } + Profiler.leave("ApplicationConnection recursivelyDetach reset state - properties"); } } catch (NoDataException e) { throw new RuntimeException("Can't reset state for " + Util.getConnectorString(connector), e); + } finally { + Profiler.leave("ApplicationConnection recursivelyDetach reset state"); } + Profiler.enter("ApplicationConnection recursivelyDetach perform detach"); /* * Recursively detach children to make sure they get * setParent(null) and hierarchy change events as needed. @@ -2153,18 +2201,22 @@ public class ApplicationConnection { } recursivelyDetach(child, events); } + Profiler.leave("ApplicationConnection recursivelyDetach perform detach"); /* * Clear child list and parent */ + Profiler.enter("ApplicationConnection recursivelyDetach clear children and parent"); connector .setChildren(Collections.<ServerConnector> emptyList()); connector.setParent(null); + Profiler.leave("ApplicationConnection recursivelyDetach clear children and parent"); /* * Create an artificial hierarchy event for containers to give * it a chance to clean up after its children if it has any */ + Profiler.enter("ApplicationConnection recursivelyDetach create hierarchy event"); if (connector instanceof HasComponentsConnector) { HasComponentsConnector ccc = (HasComponentsConnector) connector; List<ComponentConnector> oldChildren = ccc @@ -2185,8 +2237,15 @@ public class ApplicationConnection { events.add(event); } } + Profiler.leave("ApplicationConnection recursivelyDetach create hierarchy event"); } + private native void replaceState(AbstractConnector connector, + Object defaultState) + /*-{ + connector.@com.vaadin.client.ui.AbstractConnector::state = defaultState; + }-*/; + private void handleRpcInvocations(ValueMap json) { if (json.containsKey("rpc")) { Profiler.enter("handleRpcInvocations"); diff --git a/client/src/com/vaadin/client/ComputedStyle.java b/client/src/com/vaadin/client/ComputedStyle.java index 499d9cd2d6..db8ed037bf 100644 --- a/client/src/com/vaadin/client/ComputedStyle.java +++ b/client/src/com/vaadin/client/ComputedStyle.java @@ -130,11 +130,11 @@ public class ComputedStyle { }-*/; public final int getIntProperty(String name) { - Integer parsed = parseInt(getProperty(name)); - if (parsed != null) { - return parsed.intValue(); - } - return 0; + Profiler.enter("ComputedStyle.getIntProperty"); + String value = getProperty(name); + int result = parseIntNative(value); + Profiler.leave("ComputedStyle.getIntProperty"); + return result; } /** @@ -177,14 +177,20 @@ public class ComputedStyle { } /** - * Takes a String value e.g. "12px" and parses that to int 12. + * Takes a String value e.g. "12px" and parses that to Integer 12. * * @param String * a value starting with a number - * @return int the value from the string before any non-numeric characters. - * If the value cannot be parsed to a number, returns + * @return Integer the value from the string before any non-numeric + * characters. If the value cannot be parsed to a number, returns * <code>null</code>. + * + * @deprecated Since 7.1.4, the method {@link #parseIntNative(String)} is + * used internally and this method does not belong in the public + * API of {@link ComputedStyle}. {@link #parseInt(String)} might + * be removed or moved to a utility class in future versions. */ + @Deprecated public static native Integer parseInt(final String value) /*-{ var number = parseInt(value, 10); @@ -195,4 +201,24 @@ public class ComputedStyle { return @java.lang.Integer::valueOf(I)(number); }-*/; + /** + * Takes a String value e.g. "12px" and parses that to int 12. + * + * <p> + * This method returns 0 for <code>NaN</code>. + * + * @param String + * a value starting with a number + * @return int the value from the string before any non-numeric characters. + * If the value cannot be parsed to a number, returns 0. + */ + private static native int parseIntNative(final String value) + /*-{ + var number = parseInt(value, 10); + if (isNaN(number)) + return 0; + else + return number; + }-*/; + } diff --git a/client/src/com/vaadin/client/LayoutManager.java b/client/src/com/vaadin/client/LayoutManager.java index 1f9884de67..5d27527793 100644 --- a/client/src/com/vaadin/client/LayoutManager.java +++ b/client/src/com/vaadin/client/LayoutManager.java @@ -322,17 +322,22 @@ public class LayoutManager { Collection<ElementResizeListener> listeners = elementResizeListeners .get(element); if (listeners != null) { + Profiler.enter("Layout fire resize events - listeners not null"); + Profiler.enter("ElementResizeListener.onElementResize copy list"); ElementResizeListener[] array = listeners .toArray(new ElementResizeListener[listeners .size()]); + Profiler.leave("ElementResizeListener.onElementResize copy list"); ElementResizeEvent event = new ElementResizeEvent(this, element); for (ElementResizeListener listener : array) { try { String key = null; if (Profiler.isEnabled()) { - key = "ElementReizeListener.onElementReize for " + Profiler.enter("ElementResizeListener.onElementResize construct profiler key"); + key = "ElementResizeListener.onElementResize for " + Util.getSimpleName(listener); + Profiler.leave("ElementResizeListener.onElementResize construct profiler key"); Profiler.enter(key); } @@ -344,6 +349,7 @@ public class LayoutManager { VConsole.error(e); } } + Profiler.leave("Layout fire resize events - listeners not null"); } } listenersToFire.clear(); @@ -716,13 +722,19 @@ public class LayoutManager { private void onConnectorChange(ComponentConnector connector, boolean widthChanged, boolean heightChanged) { Profiler.enter("LayoutManager.onConnectorChange"); + Profiler.enter("LayoutManager.onConnectorChange setNeedsOverflowFix"); setNeedsOverflowFix(connector); + Profiler.leave("LayoutManager.onConnectorChange setNeedsOverflowFix"); + Profiler.enter("LayoutManager.onConnectorChange heightChanged"); if (heightChanged) { currentDependencyTree.markHeightAsChanged(connector); } + Profiler.leave("LayoutManager.onConnectorChange heightChanged"); + Profiler.enter("LayoutManager.onConnectorChange widthChanged"); if (widthChanged) { currentDependencyTree.markWidthAsChanged(connector); } + Profiler.leave("LayoutManager.onConnectorChange widthChanged"); Profiler.leave("LayoutManager.onConnectorChange"); } diff --git a/client/src/com/vaadin/client/Profiler.java b/client/src/com/vaadin/client/Profiler.java index caa512b34e..083f2559b1 100644 --- a/client/src/com/vaadin/client/Profiler.java +++ b/client/src/com/vaadin/client/Profiler.java @@ -224,7 +224,7 @@ public class Profiler { && eventName.equals(stack.get(stack.size() - 2).getName()) && !isBeginEvent) { // back out of sub event - stackTop.addTime(gwtStatsEvent.getMillis()); + stackTop.leave(gwtStatsEvent.getMillis()); stack.removeLast(); stackTop = stack.getLast(); @@ -240,7 +240,7 @@ public class Profiler { return; } Node previousStackTop = stack.removeLast(); - previousStackTop.addTime(gwtStatsEvent.getMillis()); + previousStackTop.leave(gwtStatsEvent.getMillis()); } else { if (!inEvent) { stackTop = stackTop.enterChild(eventName, @@ -273,7 +273,9 @@ public class Profiler { } }); - getConsumer().addProfilerData(stack.getFirst(), totalList); + if (getConsumer() != null) { + getConsumer().addProfilerData(stack.getFirst(), totalList); + } } /** @@ -325,7 +327,9 @@ public class Profiler { return; } - getConsumer().addBootstrapData(timings); + if (getConsumer() != null) { + getConsumer().addBootstrapData(timings); + } } } @@ -386,11 +390,11 @@ public class Profiler { * <b>Warning!</b> This is internal API and should not be used by * applications or add-ons. * - * @since 7.1 + * @since 7.1.4 * @param profilerResultConsumer * the consumer that gets profiler data */ - public static void setProfilerResultConsuer( + public static void setProfilerResultConsumer( ProfilerResultConsumer profilerResultConsumer) { if (consumer != null) { throw new IllegalStateException("The consumer has already been set"); @@ -399,11 +403,7 @@ public class Profiler { } private static ProfilerResultConsumer getConsumer() { - if (consumer == null) { - throw new IllegalStateException("No consumer has been registered"); - } else { - return consumer; - } + return consumer; } private static Logger getLogger() { diff --git a/client/src/com/vaadin/client/debug/internal/ProfilerSection.java b/client/src/com/vaadin/client/debug/internal/ProfilerSection.java index aa40e8ff17..4a2a3a1c38 100644 --- a/client/src/com/vaadin/client/debug/internal/ProfilerSection.java +++ b/client/src/com/vaadin/client/debug/internal/ProfilerSection.java @@ -71,6 +71,9 @@ public class ProfilerSection implements Section { private final LinkedHashMap<String, Node> children = new LinkedHashMap<String, Node>(); private double time = 0; private int count = 0; + private double enterTime = 0; + private double minTime = 1000000000; + private double maxTime = 0; /** * Create a new node with the given name. @@ -96,17 +99,17 @@ public class ProfilerSection implements Section { * * @param name * the name of the child - * @param time + * @param timestamp * the timestamp for when the node is entered * @return the child node object */ - public Node enterChild(String name, double time) { + public Node enterChild(String name, double timestamp) { Node child = children.get(name); if (child == null) { child = new Node(name); children.put(name, child); } - child.time -= time; + child.enterTime = timestamp; child.count++; return child; } @@ -122,6 +125,26 @@ public class ProfilerSection implements Section { } /** + * Gets the minimum time spent for one invocation of this node, + * including time spent in sub nodes + * + * @return the time spent for the fastest invocation, in milliseconds + */ + public double getMinTimeSpent() { + return minTime; + } + + /** + * Gets the maximum time spent for one invocation of this node, + * including time spent in sub nodes + * + * @return the time spent for the slowest invocation, in milliseconds + */ + public double getMaxTimeSpent() { + return maxTime; + } + + /** * Gets the number of times this node has been entered * * @return the number of times the node has been entered @@ -180,7 +203,11 @@ public class ProfilerSection implements Section { + getCount() + " times (" + roundToSignificantFigures(getTimeSpent() / getCount()) - + " ms per time)."; + + " ms per time, min " + + roundToSignificantFigures(getMinTimeSpent()) + + " ms, max " + + roundToSignificantFigures(getMaxTimeSpent()) + + " ms)."; } if (!children.isEmpty()) { double ownTime = getOwnTime(); @@ -221,6 +248,10 @@ public class ProfilerSection implements Section { totalNode.time += getOwnTime(); totalNode.count += getCount(); + totalNode.minTime = Math.min(totalNode.minTime, + getMinTimeSpent()); + totalNode.maxTime = Math.max(totalNode.maxTime, + getMaxTimeSpent()); } for (Node node : children.values()) { node.sumUpTotals(totals); @@ -228,11 +259,18 @@ public class ProfilerSection implements Section { } /** - * @since - * @param time + * @param timestamp */ - public void addTime(double time) { - this.time += time; + public void leave(double timestamp) { + double elapsed = (timestamp - enterTime); + time += elapsed; + enterTime = 0; + if (elapsed < minTime) { + minTime = elapsed; + } + if (elapsed > maxTime) { + maxTime = elapsed; + } } } @@ -245,7 +283,7 @@ public class ProfilerSection implements Section { private final FlowPanel content = new FlowPanel(); public ProfilerSection() { - Profiler.setProfilerResultConsuer(new ProfilerResultConsumer() { + Profiler.setProfilerResultConsumer(new ProfilerResultConsumer() { @Override public void addProfilerData(Node rootNode, List<Node> totals) { double totalTime = 0; diff --git a/client/src/com/vaadin/client/ui/AbstractComponentConnector.java b/client/src/com/vaadin/client/ui/AbstractComponentConnector.java index d384549ee3..6f98e29d03 100644 --- a/client/src/com/vaadin/client/ui/AbstractComponentConnector.java +++ b/client/src/com/vaadin/client/ui/AbstractComponentConnector.java @@ -150,17 +150,23 @@ public abstract class AbstractComponentConnector extends AbstractConnector } Profiler.leave("AbstractComponentConnector.onStateChanged update tab index"); + Profiler.enter("AbstractComponentConnector.onStateChanged AbstractConnector.onStateChanged()"); super.onStateChanged(stateChangeEvent); + Profiler.leave("AbstractComponentConnector.onStateChanged AbstractConnector.onStateChanged()"); // Style names + Profiler.enter("AbstractComponentConnector.onStateChanged updateWidgetStyleNames"); updateWidgetStyleNames(); + Profiler.leave("AbstractComponentConnector.onStateChanged updateWidgetStyleNames"); /* * updateComponentSize need to be after caption update so caption can be * taken into account */ + Profiler.enter("AbstractComponentConnector.onStateChanged updateComponentSize"); updateComponentSize(); + Profiler.leave("AbstractComponentConnector.onStateChanged updateComponentSize"); Profiler.enter("AbstractComponentContainer.onStateChanged check tooltip"); if (!tooltipListenersAttached && hasTooltip()) { diff --git a/client/src/com/vaadin/client/ui/VCssLayout.java b/client/src/com/vaadin/client/ui/VCssLayout.java index 4357116707..e4fac6acb3 100644 --- a/client/src/com/vaadin/client/ui/VCssLayout.java +++ b/client/src/com/vaadin/client/ui/VCssLayout.java @@ -44,13 +44,25 @@ public class VCssLayout extends FlowPanel { public void addOrMove(Widget child, int index) { Profiler.enter("VCssLayout.addOrMove"); if (child.getParent() == this) { + Profiler.enter("VCssLayout.addOrMove getWidgetIndex"); int currentIndex = getWidgetIndex(child); + Profiler.leave("VCssLayout.addOrMove getWidgetIndex"); if (index == currentIndex) { Profiler.leave("VCssLayout.addOrMove"); return; } + } else if (index == getWidgetCount()) { + // optimized path for appending components - faster especially for + // initial rendering + Profiler.enter("VCssLayout.addOrMove add"); + add(child); + Profiler.leave("VCssLayout.addOrMove add"); + Profiler.leave("VCssLayout.addOrMove"); + return; } + Profiler.enter("VCssLayout.addOrMove insert"); insert(child, index); + Profiler.leave("VCssLayout.addOrMove insert"); Profiler.leave("VCssLayout.addOrMove"); } } diff --git a/client/src/com/vaadin/client/ui/VFilterSelect.java b/client/src/com/vaadin/client/ui/VFilterSelect.java index a5c1e566ca..7aac581008 100644 --- a/client/src/com/vaadin/client/ui/VFilterSelect.java +++ b/client/src/com/vaadin/client/ui/VFilterSelect.java @@ -1803,6 +1803,7 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler, || suggestionPopup.isJustClosed()) { // typing so fast the popup was never opened, or it's just // closed + waitingForFilteringResponse = false; suggestionPopup.menu.doSelectedItemAction(); } if (selectedOptionKey == null) { diff --git a/client/src/com/vaadin/client/ui/VPopupCalendar.java b/client/src/com/vaadin/client/ui/VPopupCalendar.java index e431da127d..57a0222118 100644 --- a/client/src/com/vaadin/client/ui/VPopupCalendar.java +++ b/client/src/com/vaadin/client/ui/VPopupCalendar.java @@ -217,9 +217,6 @@ public class VPopupCalendar extends VTextualDate implements Field, } } } - if (isImmediate()) { - getClient().sendPendingVariableChanges(); - } } } diff --git a/client/src/com/vaadin/client/ui/VWindow.java b/client/src/com/vaadin/client/ui/VWindow.java index fd28e4137e..18df2222a4 100644 --- a/client/src/com/vaadin/client/ui/VWindow.java +++ b/client/src/com/vaadin/client/ui/VWindow.java @@ -536,6 +536,37 @@ public class VWindow extends VWindowOverlay implements if (!visibilityChangesDisabled) { super.setVisible(visible); } + + if (visible && BrowserInfo.get().isWebkit()) { + + /* + * Shake up the DOM a bit to make the window shed unnecessary + * scrollbars and resize correctly afterwards. This resulting code + * took over a week to summon forth, and involved some pretty hairy + * black magic. Don't touch it unless you know what you're doing! + * Fixes ticket #11994 + */ + Scheduler.get().scheduleFinally(new ScheduledCommand() { + @Override + public void execute() { + final com.google.gwt.dom.client.Element scrollable = contents + .getFirstChildElement(); + final String oldWidth = scrollable.getStyle().getWidth(); + final String oldHeight = scrollable.getStyle().getHeight(); + + scrollable.getStyle().setWidth(110, Unit.PCT); + scrollable.getOffsetWidth(); + scrollable.getStyle().setProperty("width", oldWidth); + + scrollable.getStyle().setHeight(110, Unit.PCT); + scrollable.getOffsetHeight(); + scrollable.getStyle().setProperty("height", oldHeight); + + updateContentsSize(); + positionOrSizeUpdated(); + } + }); + } } /** For internal use only. May be removed or replaced in the future. */ diff --git a/client/src/com/vaadin/client/ui/csslayout/CssLayoutConnector.java b/client/src/com/vaadin/client/ui/csslayout/CssLayoutConnector.java index 4c8d1a3ecc..45e52c890e 100644 --- a/client/src/com/vaadin/client/ui/csslayout/CssLayoutConnector.java +++ b/client/src/com/vaadin/client/ui/csslayout/CssLayoutConnector.java @@ -22,6 +22,7 @@ import com.vaadin.client.BrowserInfo; import com.vaadin.client.ComponentConnector; import com.vaadin.client.ConnectorHierarchyChangeEvent; import com.vaadin.client.FastStringMap; +import com.vaadin.client.Profiler; import com.vaadin.client.Util; import com.vaadin.client.VCaption; import com.vaadin.client.communication.StateChangeEvent; @@ -120,6 +121,8 @@ public class CssLayoutConnector extends AbstractLayoutConnector { */ @Override public void onConnectorHierarchyChange(ConnectorHierarchyChangeEvent event) { + Profiler.enter("CssLayoutConnector.onConnectorHierarchyChange"); + Profiler.enter("CssLayoutConnector.onConnectorHierarchyChange add children"); int index = 0; for (ComponentConnector child : getChildComponents()) { VCaption childCaption = childIdToCaption @@ -129,8 +132,10 @@ public class CssLayoutConnector extends AbstractLayoutConnector { } getWidget().addOrMove(child.getWidget(), index++); } + Profiler.leave("CssLayoutConnector.onConnectorHierarchyChange add children"); // Detach old child widgets and possibly their caption + Profiler.enter("CssLayoutConnector.onConnectorHierarchyChange remove old children"); for (ComponentConnector child : event.getOldChildren()) { if (child.getParent() == this) { // Skip current children @@ -143,6 +148,8 @@ public class CssLayoutConnector extends AbstractLayoutConnector { getWidget().remove(vCaption); } } + Profiler.leave("CssLayoutConnector.onConnectorHierarchyChange remove old children"); + Profiler.leave("CssLayoutConnector.onConnectorHierarchyChange"); } /** diff --git a/client/src/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java b/client/src/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java index 7257af4a08..627478ebe5 100644 --- a/client/src/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java +++ b/client/src/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java @@ -18,6 +18,9 @@ package com.vaadin.client.ui.datefield; import java.util.Date; +import com.google.gwt.event.logical.shared.CloseEvent; +import com.google.gwt.event.logical.shared.CloseHandler; +import com.google.gwt.user.client.ui.PopupPanel; import com.vaadin.client.ApplicationConnection; import com.vaadin.client.DateTimeService; import com.vaadin.client.UIDL; @@ -36,6 +39,35 @@ public class PopupDateFieldConnector extends TextualDateConnector { /* * (non-Javadoc) * + * @see com.vaadin.client.ui.AbstractConnector#init() + */ + @Override + protected void init() { + getWidget().popup.addCloseHandler(new CloseHandler<PopupPanel>() { + + @Override + public void onClose(CloseEvent<PopupPanel> event) { + /* + * FIXME This is a hack so we do not have to rewrite half of the + * datefield so values are not sent while selecting a date + * (#6252). + * + * The datefield will now only set the date UIDL variables while + * the user is selecting year/month/date/time and not send them + * directly. Only when the user closes the popup (by clicking on + * a day/enter/clicking outside of popup) then the new value is + * communicated to the server. + */ + if (getWidget().isImmediate()) { + getConnection().sendPendingVariableChanges(); + } + } + }); + } + + /* + * (non-Javadoc) + * * @see com.vaadin.client.ui.VTextualDate#updateFromUIDL(com.vaadin * .client.UIDL, com.vaadin.client.ApplicationConnection) */ diff --git a/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java b/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java index dd838fdeff..b4cf008a38 100644 --- a/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java +++ b/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java @@ -93,9 +93,7 @@ public class VDragAndDropManager { targetElement = targetNode.getParentElement(); } - if (Util.isTouchEvent(nativeEvent) - || (dragElement != null && dragElement - .isOrHasChild(targetElement))) { + if (Util.isTouchEvent(nativeEvent) || dragElement != null) { // to detect the "real" target, hide dragelement temporary and // use elementFromPoint String display = dragElement.getStyle().getDisplay(); diff --git a/client/src/com/vaadin/client/ui/layout/LayoutDependencyTree.java b/client/src/com/vaadin/client/ui/layout/LayoutDependencyTree.java index 2ce45623d0..e148742b0b 100644 --- a/client/src/com/vaadin/client/ui/layout/LayoutDependencyTree.java +++ b/client/src/com/vaadin/client/ui/layout/LayoutDependencyTree.java @@ -26,6 +26,7 @@ import com.vaadin.client.FastStringMap; import com.vaadin.client.FastStringSet; import com.vaadin.client.HasComponentsConnector; import com.vaadin.client.JsArrayObject; +import com.vaadin.client.Profiler; import com.vaadin.client.ServerConnector; import com.vaadin.client.Util; import com.vaadin.client.VConsole; @@ -267,6 +268,7 @@ public class LayoutDependencyTree { } public void markSizeAsChanged() { + Profiler.enter("LayoutDependency.markSizeAsChanged phase 1"); // When the size has changed, all that use that size should be // layouted JsArrayString needsSizeForLayout = getNeedsSizeForLayout(); @@ -276,14 +278,20 @@ public class LayoutDependencyTree { LayoutDependency layoutDependency = getDependency(connectorId, direction); if (layoutDependency.connector instanceof ManagedLayout) { + Profiler.enter("LayoutDependency.markSizeAsChanged setNeedsLayout"); layoutDependency.setNeedsLayout(true); + Profiler.leave("LayoutDependency.markSizeAsChanged setNeedsLayout"); } else { + Profiler.enter("LayoutDependency.markSizeAsChanged propagatePostLayoutMeasure"); // Should simulate setNeedsLayout(true) + markAsLayouted -> // propagate needs measure layoutDependency.propagatePostLayoutMeasure(); + Profiler.leave("LayoutDependency.markSizeAsChanged propagatePostLayoutMeasure"); } } + Profiler.leave("LayoutDependency.markSizeAsChanged phase 1"); + Profiler.enter("LayoutDependency.markSizeAsChanged scrollbars"); // Should also go through the hierarchy to discover appeared or // disappeared scrollbars ComponentConnector scrollingBoundary = getScrollingBoundary(connector); @@ -291,6 +299,7 @@ public class LayoutDependencyTree { getDependency(scrollingBoundary.getConnectorId(), getOppositeDirection()).setNeedsMeasure(true); } + Profiler.leave("LayoutDependency.markSizeAsChanged scrollbars"); } @@ -332,22 +341,28 @@ public class LayoutDependencyTree { } private void propagatePostLayoutMeasure() { + Profiler.enter("LayoutDependency.propagatePostLayoutMeasure getResizedByLayout"); JsArrayString resizedByLayout = getResizedByLayout(); + Profiler.leave("LayoutDependency.propagatePostLayoutMeasure getResizedByLayout"); int length = resizedByLayout.length(); for (int i = 0; i < length; i++) { + Profiler.enter("LayoutDependency.propagatePostLayoutMeasure setNeedsMeasure"); String resizedId = resizedByLayout.get(i); LayoutDependency layoutDependency = getDependency(resizedId, direction); layoutDependency.setNeedsMeasure(true); + Profiler.leave("LayoutDependency.propagatePostLayoutMeasure setNeedsMeasure"); } // Special case for e.g. wrapping texts + Profiler.enter("LayoutDependency.propagatePostLayoutMeasure horizontal case"); if (direction == HORIZONTAL && !connector.isUndefinedWidth() && connector.isUndefinedHeight()) { LayoutDependency dependency = getDependency( connector.getConnectorId(), VERTICAL); dependency.setNeedsMeasure(true); } + Profiler.leave("LayoutDependency.propagatePostLayoutMeasure horizontal case"); } @Override diff --git a/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java b/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java index cea993310f..e0dc0d51df 100644 --- a/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java +++ b/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java @@ -294,7 +294,11 @@ public abstract class AbstractOrderedLayoutConnector extends int currentIndex = 0; VAbstractOrderedLayout layout = getWidget(); - layout.setSpacing(getState().spacing); + // remove spacing as it is exists as separate elements that cannot be + // removed easily after reordering the contents + Profiler.enter("AOLC.onConnectorHierarchyChange addOrMoveSlot temporarily remove spacing"); + layout.setSpacing(false); + Profiler.leave("AOLC.onConnectorHierarchyChange addOrMoveSlot temporarily remove spacing"); for (ComponentConnector child : getChildComponents()) { Profiler.enter("AOLC.onConnectorHierarchyChange add children"); @@ -305,12 +309,20 @@ public abstract class AbstractOrderedLayoutConnector extends Profiler.leave("AOLC.onConnectorHierarchyChange add state change handler"); } Profiler.enter("AOLC.onConnectorHierarchyChange addOrMoveSlot"); - layout.addOrMoveSlot(slot, currentIndex++); + layout.addOrMoveSlot(slot, currentIndex++, false); Profiler.leave("AOLC.onConnectorHierarchyChange addOrMoveSlot"); Profiler.leave("AOLC.onConnectorHierarchyChange add children"); } + // re-add spacing for the elements that should have it + Profiler.enter("AOLC.onConnectorHierarchyChange addOrMoveSlot setSpacing"); + // spacings were removed above + if (getState().spacing) { + layout.setSpacing(true); + } + Profiler.leave("AOLC.onConnectorHierarchyChange addOrMoveSlot setSpacing"); + for (ComponentConnector child : previousChildren) { Profiler.enter("AOLC.onConnectorHierarchyChange remove children"); if (child.getParent() != this) { @@ -325,7 +337,7 @@ public abstract class AbstractOrderedLayoutConnector extends child.removeStateChangeHandler(childStateChangeHandler); layout.removeWidget(child.getWidget()); } - Profiler.leave("AOL.onConnectorHierarchyChange remove children"); + Profiler.leave("AOLC.onConnectorHierarchyChange remove children"); } Profiler.leave("AOLC.onConnectorHierarchyChange"); @@ -363,6 +375,7 @@ public abstract class AbstractOrderedLayoutConnector extends Slot slot = Util.findWidget( (com.google.gwt.user.client.Element) element, Slot.class); if (slot != null && slot.getCaptionElement() != null + && slot.getParent() == getWidget() && slot.getCaptionElement().isOrHasChild(element)) { ComponentConnector connector = Util.findConnectorFor(slot .getWidget()); diff --git a/client/src/com/vaadin/client/ui/orderedlayout/VAbstractOrderedLayout.java b/client/src/com/vaadin/client/ui/orderedlayout/VAbstractOrderedLayout.java index b5a6262693..54c9eb6c68 100644 --- a/client/src/com/vaadin/client/ui/orderedlayout/VAbstractOrderedLayout.java +++ b/client/src/com/vaadin/client/ui/orderedlayout/VAbstractOrderedLayout.java @@ -31,6 +31,7 @@ import com.google.gwt.user.client.ui.RequiresResize; import com.google.gwt.user.client.ui.Widget; import com.vaadin.client.BrowserInfo; import com.vaadin.client.LayoutManager; +import com.vaadin.client.Profiler; import com.vaadin.client.Util; import com.vaadin.shared.ui.MarginInfo; @@ -63,6 +64,23 @@ public class VAbstractOrderedLayout extends FlowPanel { } /** + * See the method {@link #addOrMoveSlot(Slot, int, boolean)}. + * + * <p> + * This method always adjusts spacings for the whole layout. + * + * @param slot + * The slot to move or add + * @param index + * The index where the slot should be placed. + * @deprecated since 7.1.4, use {@link #addOrMoveSlot(Slot, int, boolean)} + */ + @Deprecated + public void addOrMoveSlot(Slot slot, int index) { + addOrMoveSlot(slot, index, true); + } + + /** * Add or move a slot to another index. * <p> * For internal use only. May be removed or replaced in the future. @@ -83,27 +101,42 @@ public class VAbstractOrderedLayout extends FlowPanel { * </pre> * * When using this method never account for spacings. + * <p> + * The caller should remove all spacings before calling this method and + * re-add them (if necessary) after this method. This can be done before and + * after all slots have been added/moved. * </p> * + * @since 7.1.4 + * * @param slot * The slot to move or add * @param index * The index where the slot should be placed. + * @param adjustSpacing + * true to recalculate spacings for the whole layout after the + * operation */ - public void addOrMoveSlot(Slot slot, int index) { + public void addOrMoveSlot(Slot slot, int index, boolean adjustSpacing) { + Profiler.enter("VAOL.onConnectorHierarchyChange addOrMoveSlot find index"); if (slot.getParent() == this) { int currentIndex = getWidgetIndex(slot); if (index == currentIndex) { + Profiler.leave("VAOL.onConnectorHierarchyChange addOrMoveSlot find index"); return; } } + Profiler.leave("VAOL.onConnectorHierarchyChange addOrMoveSlot find index"); + Profiler.enter("VAOL.onConnectorHierarchyChange addOrMoveSlot insert"); insert(slot, index); + Profiler.leave("VAOL.onConnectorHierarchyChange addOrMoveSlot insert"); - /* - * We need to confirm spacings are correctly applied after each insert. - */ - setSpacing(spacing); + if (adjustSpacing) { + Profiler.enter("VAOL.onConnectorHierarchyChange addOrMoveSlot setSpacing"); + setSpacing(spacing); + Profiler.leave("VAOL.onConnectorHierarchyChange addOrMoveSlot setSpacing"); + } } /** @@ -329,14 +362,18 @@ public class VAbstractOrderedLayout extends FlowPanel { * True if spacing should be used, false if not */ public void setSpacing(boolean spacing) { + Profiler.enter("VAOL.onConnectorHierarchyChange setSpacing"); this.spacing = spacing; + // first widget does not have spacing on + // optimization to avoid looking up widget indices on every iteration + Widget firstSlot = null; + if (getWidgetCount() > 0) { + firstSlot = getWidget(0); + } for (Slot slot : widgetToSlot.values()) { - if (getWidgetIndex(slot) > 0) { - slot.setSpacing(spacing); - } else { - slot.setSpacing(false); - } + slot.setSpacing(spacing && firstSlot != slot); } + Profiler.leave("VAOL.onConnectorHierarchyChange setSpacing"); } /** diff --git a/client/src/com/vaadin/client/ui/panel/PanelConnector.java b/client/src/com/vaadin/client/ui/panel/PanelConnector.java index fe211901c9..4011f86c76 100644 --- a/client/src/com/vaadin/client/ui/panel/PanelConnector.java +++ b/client/src/com/vaadin/client/ui/panel/PanelConnector.java @@ -23,6 +23,7 @@ import com.vaadin.client.ComponentConnector; import com.vaadin.client.ConnectorHierarchyChangeEvent; import com.vaadin.client.LayoutManager; import com.vaadin.client.Paintable; +import com.vaadin.client.Profiler; import com.vaadin.client.UIDL; import com.vaadin.client.ui.AbstractSingleComponentContainerConnector; import com.vaadin.client.ui.ClickEventHandler; @@ -194,22 +195,31 @@ public class PanelConnector extends AbstractSingleComponentContainerConnector VPanel panel = getWidget(); LayoutManager layoutManager = getLayoutManager(); + Profiler.enter("PanelConnector.layout getHeights"); int top = layoutManager.getOuterHeight(panel.captionNode); int bottom = layoutManager.getInnerHeight(panel.bottomDecoration); + Profiler.leave("PanelConnector.layout getHeights"); + Profiler.enter("PanelConnector.layout modify style"); Style style = panel.getElement().getStyle(); panel.captionNode.getParentElement().getStyle() .setMarginTop(-top, Unit.PX); panel.bottomDecoration.getStyle().setMarginBottom(-bottom, Unit.PX); style.setPaddingTop(top, Unit.PX); style.setPaddingBottom(bottom, Unit.PX); + Profiler.leave("PanelConnector.layout modify style"); // Update scroll positions + Profiler.enter("PanelConnector.layout update scroll positions"); panel.contentNode.setScrollTop(panel.scrollTop); panel.contentNode.setScrollLeft(panel.scrollLeft); + Profiler.leave("PanelConnector.layout update scroll positions"); + // Read actual value back to ensure update logic is correct + Profiler.enter("PanelConnector.layout read scroll positions"); panel.scrollTop = panel.contentNode.getScrollTop(); panel.scrollLeft = panel.contentNode.getScrollLeft(); + Profiler.leave("PanelConnector.layout read scroll positions"); } @Override diff --git a/server/src/com/vaadin/annotations/JavaScript.java b/server/src/com/vaadin/annotations/JavaScript.java index bdba70c095..3e9c46083d 100644 --- a/server/src/com/vaadin/annotations/JavaScript.java +++ b/server/src/com/vaadin/annotations/JavaScript.java @@ -44,10 +44,11 @@ import com.vaadin.server.ClientConnector; * file was loaded from a different folder. * </ul> * <p> - * Example: {@code @JavaScript( "http://host.com/file1.js", "file2.js"})} on the - * class com.example.MyConnector would load the file http://host.com/file1.js as - * is and file2.js from /com/example/file2.js on the server's classpath using - * the ClassLoader that was used to load com.example.MyConnector. + * Example: <code>@JavaScript({"http://host.com/file1.js", "file2.js"})</code> + * on the class com.example.MyConnector would load the file + * http://host.com/file1.js as is and file2.js from /com/example/file2.js on the + * server's classpath using the ClassLoader that was used to load + * com.example.MyConnector. * * @author Vaadin Ltd * @since 7.0.0 diff --git a/server/src/com/vaadin/annotations/StyleSheet.java b/server/src/com/vaadin/annotations/StyleSheet.java index 6540633f8f..bc5b011873 100644 --- a/server/src/com/vaadin/annotations/StyleSheet.java +++ b/server/src/com/vaadin/annotations/StyleSheet.java @@ -49,8 +49,8 @@ import com.vaadin.server.ClientConnector; * VAADIN folder and vaadin:// you can publish stylesheets which use images or * other files with relative paths. * <p> - * Example: {@code @StyleSheet( "http://host.com/file1.css", "file2.css"})} on - * the class com.example.MyConnector would load the file + * Example: <code>@StyleSheet({"http://host.com/file1.css", "file2.css"})</code> + * on the class com.example.MyConnector would load the file * http://host.com/file1.css as is and file2.css from /com/example/file2.css on * the server's classpath using the ClassLoader that was used to load * com.example.MyConnector. diff --git a/server/src/com/vaadin/data/fieldgroup/FieldGroup.java b/server/src/com/vaadin/data/fieldgroup/FieldGroup.java index 981aea387d..23f2da53ce 100644 --- a/server/src/com/vaadin/data/fieldgroup/FieldGroup.java +++ b/server/src/com/vaadin/data/fieldgroup/FieldGroup.java @@ -656,7 +656,7 @@ public class FieldGroup implements Serializable { /** * Checks if any bound field has been modified. * - * @return true if at least on field has been modified, false otherwise + * @return true if at least one field has been modified, false otherwise */ public boolean isModified() { for (Field<?> field : getFields()) { diff --git a/server/src/com/vaadin/server/VaadinPortletService.java b/server/src/com/vaadin/server/VaadinPortletService.java index c7fc5a23bd..194c9c88a9 100644 --- a/server/src/com/vaadin/server/VaadinPortletService.java +++ b/server/src/com/vaadin/server/VaadinPortletService.java @@ -201,6 +201,10 @@ public class VaadinPortletService extends VaadinService { // been rendered, e.g. portlet on one page sends an event to a // portlet on another page and then moves the user to that page. return true; + } else if (PortletUIInitHandler.isUIInitRequest(request)) { + // In some cases, the RenderRequest seems to be cached, causing the + // first request be the one triggered by vaadinBootstrap.js. + return true; } return false; } diff --git a/server/src/com/vaadin/ui/CustomLayout.java b/server/src/com/vaadin/ui/CustomLayout.java index 7bffa05058..37c9a4fa21 100644 --- a/server/src/com/vaadin/ui/CustomLayout.java +++ b/server/src/com/vaadin/ui/CustomLayout.java @@ -80,7 +80,7 @@ public class CustomLayout extends AbstractLayout implements LegacyComponent { * @param templateStream * Stream containing template data. Must be using UTF-8 encoding. * To use a String as a template use for instance new - * ByteArrayInputStream("<template>".getBytes()). + * ByteArrayInputStream("<template>".getBytes()). * @param streamLength * Length of the templateStream * @throws IOException @@ -92,7 +92,7 @@ public class CustomLayout extends AbstractLayout implements LegacyComponent { /** * Constructor for custom layout with given template name. Template file is - * fetched from "<theme>/layout/<templateName>". + * fetched from "<theme>/layout/<templateName>". */ public CustomLayout(String template) { this(); diff --git a/server/src/com/vaadin/ui/DragAndDropWrapper.java b/server/src/com/vaadin/ui/DragAndDropWrapper.java index 7a2cfb82e4..2ab3e872c6 100644 --- a/server/src/com/vaadin/ui/DragAndDropWrapper.java +++ b/server/src/com/vaadin/ui/DragAndDropWrapper.java @@ -17,10 +17,12 @@ package com.vaadin.ui; import java.io.OutputStream; import java.util.HashMap; +import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; +import java.util.Set; import com.vaadin.event.Transferable; import com.vaadin.event.TransferableImpl; @@ -183,6 +185,8 @@ public class DragAndDropWrapper extends CustomComponent implements DropTarget, private final Map<String, Object> html5DataFlavors = new LinkedHashMap<String, Object>(); private DragStartMode dragStartMode = DragStartMode.NONE; + private Set<String> sentIds = new HashSet<String>(); + /** * Wraps given component in a {@link DragAndDropWrapper}. * @@ -229,10 +233,24 @@ public class DragAndDropWrapper extends CustomComponent implements DropTarget, ProxyReceiver proxyReceiver = entry.getValue(); Html5File html5File = proxyReceiver.file; if (html5File.getStreamVariable() != null) { - target.addVariable(this, "rec-" + id, new ProxyReceiver(id, - html5File)); - // these are cleaned from receivers once the upload has - // started + if (!sentIds.contains(id)) { + target.addVariable(this, "rec-" + id, + new ProxyReceiver(id, html5File)); + + /* + * if a new batch is requested to be uploaded before the + * last one is done, any remaining ids will be replayed. + * We want to avoid a new ProxyReceiver to be made since + * it'll get a new URL, so we need to keep extra track + * on what has been sent. + * + * See #12330. + */ + sentIds.add(id); + + // these are cleaned from receivers once the upload has + // started + } } else { // instructs the client side not to send the file target.addVariable(this, "rec-" + id, (String) null); @@ -317,6 +335,7 @@ public class DragAndDropWrapper extends CustomComponent implements DropTarget, } // no need tell to the client about this receiver on next paint receivers.remove(id); + sentIds.remove(id); // let the terminal GC the streamvariable and not to accept other // file uploads to this variable event.disposeStreamVariable(); diff --git a/theme-compiler/ivy.xml b/theme-compiler/ivy.xml index 6a7528ceeb..5bcdbb54cb 100644 --- a/theme-compiler/ivy.xml +++ b/theme-compiler/ivy.xml @@ -41,7 +41,7 @@ <!-- Testing libs --> <dependency org="junit" name="junit" rev="4.5" - conf="test -> default" /> + conf="ide,test -> default" /> <!-- Internally used, for now --> <dependency org="com.carrotsearch" name="smartsprites" diff --git a/theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java b/theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java index 0d34e7e938..170d8f3e54 100644 --- a/theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java +++ b/theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java @@ -159,6 +159,7 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { /** * This method parses only one rule (style rule or at-rule, except + * * @charset). * * @param source @@ -991,6 +992,8 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { case INCLUDE_SYM: case DEBUG_SYM: case WARN_SYM: + case EACH_SYM: + case IF_SYM: case EXTEND_SYM: case CONTENT_SYM: case IDENT: @@ -1000,10 +1003,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { case KEY_FRAME_SYM: ifContentStatement(); break; - case EACH_SYM: - case IF_SYM: - controlDirective(); - break; case MICROSOFT_RULE: microsoftExtension(); break; @@ -1938,6 +1937,8 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { case INCLUDE_SYM: case DEBUG_SYM: case WARN_SYM: + case EACH_SYM: + case IF_SYM: case EXTEND_SYM: case CONTENT_SYM: case IDENT: @@ -1947,10 +1948,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { case KEY_FRAME_SYM: ifContentStatement(); break; - case EACH_SYM: - case IF_SYM: - controlDirective(); - break; case MICROSOFT_RULE: microsoftExtension(); break; @@ -2863,6 +2860,10 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { case VARIABLE: listModifyDirective(); break; + case EACH_SYM: + case IF_SYM: + controlDirective(); + break; default: jj_la1[107] = jj_gen; jj_consume_token(-1); @@ -2934,6 +2935,8 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { case INCLUDE_SYM: case DEBUG_SYM: case WARN_SYM: + case EACH_SYM: + case IF_SYM: case EXTEND_SYM: case CONTENT_SYM: case IDENT: @@ -3059,6 +3062,8 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { case INCLUDE_SYM: case DEBUG_SYM: case WARN_SYM: + case EACH_SYM: + case IF_SYM: case EXTEND_SYM: case CONTENT_SYM: case IDENT: @@ -3248,6 +3253,8 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { case INCLUDE_SYM: case DEBUG_SYM: case WARN_SYM: + case EACH_SYM: + case IF_SYM: case EXTEND_SYM: case CONTENT_SYM: case IDENT: @@ -3436,6 +3443,8 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { case INCLUDE_SYM: case DEBUG_SYM: case WARN_SYM: + case EACH_SYM: + case IF_SYM: case EXTEND_SYM: case CONTENT_SYM: case IDENT: @@ -3445,10 +3454,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { case KEY_FRAME_SYM: ifContentStatement(); break; - case EACH_SYM: - case IF_SYM: - controlDirective(); - break; case FONT_FACE_SYM: fontFace(); break; @@ -4908,6 +4913,7 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { skipStatement(); next = getToken(1); } + // only add special token kept for sprites '/**' if (token.specialToken != null && token.specialToken != null && token.specialToken.image.startsWith("/**")) { @@ -6588,24 +6594,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { } } - private boolean jj_3R_211() { - if (jj_scan_token(MINUS)) { - return true; - } - Token xsp; - if (jj_scan_token(1)) { - return true; - } - while (true) { - xsp = jj_scanpos; - if (jj_scan_token(1)) { - jj_scanpos = xsp; - break; - } - } - return false; - } - private boolean jj_3R_187() { if (jj_3R_212()) { return true; @@ -6722,6 +6710,21 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } + private boolean jj_3R_212() { + if (jj_scan_token(GUARDED_SYM)) { + return true; + } + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_scan_token(1)) { + jj_scanpos = xsp; + break; + } + } + return false; + } + private boolean jj_3R_213() { Token xsp; xsp = jj_scanpos; @@ -6779,21 +6782,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3R_212() { - if (jj_scan_token(GUARDED_SYM)) { - return true; - } - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_scan_token(1)) { - jj_scanpos = xsp; - break; - } - } - return false; - } - private boolean jj_3R_190() { if (jj_scan_token(S)) { return true; @@ -7137,15 +7125,15 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3R_253() { - if (jj_scan_token(PARENT)) { + private boolean jj_3R_265() { + if (jj_3R_186()) { return true; } return false; } - private boolean jj_3R_265() { - if (jj_3R_186()) { + private boolean jj_3R_253() { + if (jj_scan_token(PARENT)) { return true; } return false; @@ -7207,8 +7195,8 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3R_179() { - if (jj_scan_token(COMMA)) { + private boolean jj_3R_255() { + if (jj_scan_token(FUNCTION)) { return true; } Token xsp; @@ -7219,11 +7207,18 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { break; } } + xsp = jj_scanpos; + if (jj_3R_265()) { + jj_scanpos = xsp; + } + if (jj_scan_token(RPARAN)) { + return true; + } return false; } - private boolean jj_3R_255() { - if (jj_scan_token(FUNCTION)) { + private boolean jj_3R_179() { + if (jj_scan_token(COMMA)) { return true; } Token xsp; @@ -7234,13 +7229,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { break; } } - xsp = jj_scanpos; - if (jj_3R_265()) { - jj_scanpos = xsp; - } - if (jj_scan_token(RPARAN)) { - return true; - } return false; } @@ -7251,6 +7239,13 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } + private boolean jj_3R_246() { + if (jj_3R_259()) { + return true; + } + return false; + } + private boolean jj_3R_280() { Token xsp; xsp = jj_scanpos; @@ -7263,8 +7258,8 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3R_246() { - if (jj_3R_259()) { + private boolean jj_3R_245() { + if (jj_3R_258()) { return true; } return false; @@ -7277,13 +7272,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3R_245() { - if (jj_3R_258()) { - return true; - } - return false; - } - private boolean jj_3R_244() { if (jj_3R_257()) { return true; @@ -7531,6 +7519,13 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } + private boolean jj_3R_242() { + if (jj_scan_token(STRING)) { + return true; + } + return false; + } + private boolean jj_3R_195() { if (jj_3R_219()) { return true; @@ -7546,13 +7541,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3R_242() { - if (jj_scan_token(STRING)) { - return true; - } - return false; - } - private boolean jj_3R_241() { if (jj_3R_255()) { return true; @@ -7560,21 +7548,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3R_194() { - if (jj_3R_218()) { - return true; - } - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3R_271()) { - jj_scanpos = xsp; - break; - } - } - return false; - } - private boolean jj_3R_198() { Token xsp; xsp = jj_scanpos; @@ -7596,6 +7569,21 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } + private boolean jj_3R_194() { + if (jj_3R_218()) { + return true; + } + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_271()) { + jj_scanpos = xsp; + break; + } + } + return false; + } + private boolean jj_3R_275() { if (jj_3R_219()) { return true; @@ -7673,6 +7661,13 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } + private boolean jj_3R_240() { + if (jj_scan_token(DIMEN)) { + return true; + } + return false; + } + private boolean jj_3R_177() { Token xsp; xsp = jj_scanpos; @@ -7694,8 +7689,8 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3R_240() { - if (jj_scan_token(DIMEN)) { + private boolean jj_3R_239() { + if (jj_scan_token(KHZ)) { return true; } return false; @@ -7711,13 +7706,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3R_239() { - if (jj_scan_token(KHZ)) { - return true; - } - return false; - } - private boolean jj_3R_238() { if (jj_scan_token(HZ)) { return true; @@ -7912,13 +7900,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3_1() { - if (jj_3R_175()) { - return true; - } - return false; - } - private boolean jj_3R_220() { if (jj_3R_254()) { return true; @@ -7926,18 +7907,10 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3R_181() { - if (jj_3R_199()) { + private boolean jj_3_1() { + if (jj_3R_175()) { return true; } - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3R_200()) { - jj_scanpos = xsp; - break; - } - } return false; } @@ -8014,6 +7987,21 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } + private boolean jj_3R_181() { + if (jj_3R_199()) { + return true; + } + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_200()) { + jj_scanpos = xsp; + break; + } + } + return false; + } + private boolean jj_3R_180() { Token xsp; xsp = jj_scanpos; @@ -8134,6 +8122,18 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } + private boolean jj_3_8() { + Token xsp; + xsp = jj_scanpos; + if (jj_3_9()) { + jj_scanpos = xsp; + } + if (jj_3R_183()) { + return true; + } + return false; + } + private boolean jj_3R_188() { if (jj_scan_token(SEMICOLON)) { return true; @@ -8149,18 +8149,6 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } - private boolean jj_3_8() { - Token xsp; - xsp = jj_scanpos; - if (jj_3_9()) { - jj_scanpos = xsp; - } - if (jj_3R_183()) { - return true; - } - return false; - } - private boolean jj_3R_186() { if (jj_3R_183()) { return true; @@ -8232,6 +8220,24 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { return false; } + private boolean jj_3R_211() { + if (jj_scan_token(MINUS)) { + return true; + } + Token xsp; + if (jj_scan_token(1)) { + return true; + } + while (true) { + xsp = jj_scanpos; + if (jj_scan_token(1)) { + jj_scanpos = xsp; + break; + } + } + return false; + } + /** Generated Token Manager. */ public ParserTokenManager token_source; /** Current token. */ @@ -8297,22 +8303,22 @@ public class Parser implements org.w3c.css.sac.Parser, ParserConstants { 0x564000c0, 0x0, 0x0, 0x0, 0xc0, 0x0, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0xc0, 0x80, 0x80, 0x80, 0x80, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x50000000, 0x64000c0, 0x0, 0x3f, 0x0, - 0x64000c0, 0x0, 0x80000000, 0x0, 0x3f, 0x0, 0x0, 0x64000c0, - 0x0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x64000c0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x80, 0x0, 0x564000c0, 0x564000c0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x40, 0x40, 0x160040, 0x0, 0x40, 0x0, - 0x0, 0x160040, 0x0, 0x40, 0x0, 0x80, 0x0, 0x0, 0x0, 0x60000c0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, - 0x0, 0x0, 0x6000000, 0x0, 0x0, 0x60000, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x80, 0x0, 0x6000000, - 0xc0, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x80, 0x0, 0x160000, 0x0, - 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x160000, 0x0, 0x0, 0x0, 0x160000, 0x160000, 0x160000, 0x0, - 0x0, 0x160000, 0x0, 0x60000c0, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, - 0x80, 0x0, }; + 0x0, 0x0, 0x0, 0x0, 0x50000000, 0x64000c0, 0x50000000, 0x3f, + 0x0, 0x564000c0, 0x0, 0x80000000, 0x0, 0x3f, 0x0, 0x0, + 0x564000c0, 0x0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x564000c0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x0, 0x564000c0, + 0x564000c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40, 0x40, 0x160040, + 0x0, 0x40, 0x0, 0x0, 0x160040, 0x0, 0x40, 0x0, 0x80, 0x0, 0x0, + 0x0, 0x60000c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x2, 0x0, 0x0, 0x0, 0x0, 0x6000000, 0x0, 0x0, 0x60000, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x80, + 0x0, 0x6000000, 0xc0, 0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x80, 0x0, + 0x160000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x160000, 0x0, 0x0, 0x0, 0x160000, 0x160000, + 0x160000, 0x0, 0x0, 0x160000, 0x0, 0x60000c0, 0x0, 0x0, 0x0, + 0x80, 0x0, 0x0, 0x80, 0x0, }; } private static void jj_la1_init_2() { diff --git a/theme-compiler/src/com/vaadin/sass/internal/parser/Parser.jj b/theme-compiler/src/com/vaadin/sass/internal/parser/Parser.jj index cb2530cff0..28ad653ef4 100644 --- a/theme-compiler/src/com/vaadin/sass/internal/parser/Parser.jj +++ b/theme-compiler/src/com/vaadin/sass/internal/parser/Parser.jj @@ -871,7 +871,7 @@ void keyframeSelector(): start = true; documentHandler.startKeyframeSelector(n.image); } - (ifContentStatement() | controlDirective() | microsoftExtension() )* + (ifContentStatement() | microsoftExtension() )* <RBRACE> (<S>)* } catch (ThrowedParseException e) { @@ -1181,7 +1181,7 @@ void styleRule() : documentHandler.startSelector(l); } // a CSS import here will not work - ( ifContentStatement() | controlDirective() | microsoftExtension() | importDeclaration() )* + ( ifContentStatement() | microsoftExtension() | importDeclaration() )* <RBRACE> (<S>)* } catch (ThrowedParseException e) { if (errorHandler != null) { @@ -1527,7 +1527,7 @@ void ifContentStatement() : {} { contentDirective() | includeDirective() | media() | extendDirective() | styleRuleOrDeclarationOrNestedProperties() - | keyframes() | LOOKAHEAD(variable()) variable() | listModifyDirective() + | keyframes() | LOOKAHEAD(variable()) variable() | listModifyDirective() | controlDirective() } void ifDirective() : @@ -1646,7 +1646,7 @@ void mixinDirective() : |(name = functionName() args = arglist()) <RPARAN> (<S>)*) <LBRACE> (<S>)* {documentHandler.startMixinDirective(name, args);} - ( ifContentStatement() | controlDirective() | fontFace() | page())* + ( ifContentStatement() | fontFace() | page())* <RBRACE>(<S>)* {documentHandler.endMixinDirective(name, args);} } diff --git a/theme-compiler/src/com/vaadin/sass/internal/parser/ParserTokenManager.java b/theme-compiler/src/com/vaadin/sass/internal/parser/ParserTokenManager.java index 64e4ceedb2..bf4ebf5c06 100644 --- a/theme-compiler/src/com/vaadin/sass/internal/parser/ParserTokenManager.java +++ b/theme-compiler/src/com/vaadin/sass/internal/parser/ParserTokenManager.java @@ -15,6008 +15,5965 @@ */ /* Generated By:JavaCC: Do not edit this line. ParserTokenManager.java */ package com.vaadin.sass.internal.parser; -import java.io.*; -import java.net.*; -import java.util.ArrayList; -import java.util.Locale; -import java.util.Map; -import java.util.UUID; -import org.w3c.css.sac.ConditionFactory; -import org.w3c.css.sac.Condition; -import org.w3c.css.sac.SelectorFactory; -import org.w3c.css.sac.SelectorList; -import org.w3c.css.sac.Selector; -import org.w3c.css.sac.SimpleSelector; -import org.w3c.css.sac.DocumentHandler; -import org.w3c.css.sac.InputSource; -import org.w3c.css.sac.ErrorHandler; -import org.w3c.css.sac.CSSException; -import org.w3c.css.sac.CSSParseException; -import org.w3c.css.sac.Locator; -import org.w3c.css.sac.LexicalUnit; -import org.w3c.flute.parser.selectors.SelectorFactoryImpl; -import org.w3c.flute.parser.selectors.ConditionFactoryImpl; -import org.w3c.flute.util.Encoding; -import com.vaadin.sass.internal.handler.*; -import com.vaadin.sass.internal.tree.*; /** Token Manager. */ -public class ParserTokenManager implements ParserConstants -{ +public class ParserTokenManager implements ParserConstants { - /** Debug output. */ - public java.io.PrintStream debugStream = System.out; - /** Set debug output. */ - public void setDebugStream(java.io.PrintStream ds) { debugStream = ds; } -private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1) -{ - switch (pos) - { - case 0: - if ((active0 & 0xffe0000000000000L) != 0L || (active1 & 0x3e0000000fL) != 0L) { - return 162; + /** Debug output. */ + public java.io.PrintStream debugStream = System.out; + + /** Set debug output. */ + public void setDebugStream(java.io.PrintStream ds) { + debugStream = ds; + } + + private final int jjStopStringLiteralDfa_0(int pos, long active0, + long active1) { + switch (pos) { + case 0: + if ((active0 & 0xffe0000000000000L) != 0L + || (active1 & 0x3e0000000fL) != 0L) { + return 162; + } + if ((active0 & 0xe000000000000L) != 0L || (active1 & 0x20L) != 0L) { + jjmatchedKind = 72; + return 522; + } + if ((active0 & 0x80000000L) != 0L) { + return 523; + } + if ((active0 & 0x10000000000000L) != 0L) { + jjmatchedKind = 72; + return 29; + } + if ((active0 & 0x4000L) != 0L) { + return 75; + } + if ((active0 & 0x2000010L) != 0L) { + return 216; + } + if ((active0 & 0x80200L) != 0L) { + return 38; + } + if ((active0 & 0x2000000000L) != 0L) { + return 524; + } + return -1; + case 1: + if ((active1 & 0x2L) != 0L) { + return 174; + } + if ((active0 & 0xffe0000000000000L) != 0L + || (active1 & 0x3e0000000dL) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 1; + return 525; + } + if ((active0 & 0x14000000000000L) != 0L) { + jjmatchedKind = 72; + jjmatchedPos = 1; + return 522; + } + if ((active0 & 0xa000000000000L) != 0L || (active1 & 0x20L) != 0L) { + return 522; + } + if ((active0 & 0x10L) != 0L) { + return 221; + } + return -1; + case 2: + if ((active0 & 0xbfe0000000000000L) != 0L + || (active1 & 0x3e0000000dL) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 2; + return 525; + } + if ((active0 & 0x4000000000000000L) != 0L) { + return 525; + } + if ((active1 & 0x2L) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 2; + return 173; + } + if ((active0 & 0x14000000000000L) != 0L) { + jjmatchedKind = 72; + jjmatchedPos = 2; + return 522; + } + return -1; + case 3: + if ((active0 & 0xb7e0000000000000L) != 0L + || (active1 & 0x3e0000000dL) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 3; + return 525; + } + if ((active0 & 0x800000000000000L) != 0L) { + return 525; + } + if ((active0 & 0x4000000000000L) != 0L) { + jjmatchedKind = 72; + jjmatchedPos = 3; + return 522; + } + if ((active0 & 0x10000000000000L) != 0L) { + return 522; + } + if ((active1 & 0x2L) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 3; + return 172; + } + return -1; + case 4: + if ((active0 & 0x9400000000000000L) != 0L + || (active1 & 0x1000000000L) != 0L) { + return 525; + } + if ((active1 & 0x2L) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 4; + return 171; + } + if ((active0 & 0x4000000000000L) != 0L) { + jjmatchedKind = 72; + jjmatchedPos = 4; + return 522; + } + if ((active0 & 0x23e0000000000000L) != 0L + || (active1 & 0x2e0000000dL) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 4; + return 525; + } + return -1; + case 5: + if ((active1 & 0x2L) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 5; + return 170; + } + if ((active0 & 0x4000000000000L) != 0L) { + jjmatchedKind = 72; + jjmatchedPos = 5; + return 522; + } + if ((active0 & 0x2220000000000000L) != 0L + || (active1 & 0x400000000L) != 0L) { + return 525; + } + if ((active0 & 0x1c0000000000000L) != 0L + || (active1 & 0x2a0000000dL) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 5; + return 525; + } + return -1; + case 6: + if ((active0 & 0x100000000000000L) != 0L + || (active1 & 0x200000001L) != 0L) { + return 525; + } + if ((active0 & 0x4000000000000L) != 0L) { + return 522; + } + if ((active0 & 0xc0000000000000L) != 0L + || (active1 & 0x280000000eL) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 6; + return 525; + } + return -1; + case 7: + if ((active0 & 0x40000000000000L) != 0L + || (active1 & 0x800000008L) != 0L) { + return 525; + } + if ((active0 & 0x80000000000000L) != 0L + || (active1 & 0x2000000006L) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 7; + return 525; + } + return -1; + case 8: + if ((active1 & 0x2000000002L) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 8; + return 525; + } + if ((active0 & 0x80000000000000L) != 0L || (active1 & 0x4L) != 0L) { + return 525; + } + return -1; + case 9: + if ((active1 & 0x2L) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 9; + return 525; + } + if ((active1 & 0x2000000000L) != 0L) { + return 525; + } + return -1; + case 10: + if ((active1 & 0x2L) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 10; + return 525; + } + return -1; + case 11: + if ((active1 & 0x2L) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 11; + return 525; + } + return -1; + case 12: + if ((active1 & 0x2L) != 0L) { + jjmatchedKind = 103; + jjmatchedPos = 12; + return 525; + } + return -1; + default: + return -1; } - if ((active0 & 0xe000000000000L) != 0L || (active1 & 0x20L) != 0L) - { - jjmatchedKind = 72; - return 522; - } - if ((active0 & 0x80000000L) != 0L) { - return 523; + } + + private final int jjStartNfa_0(int pos, long active0, long active1) { + return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1), + pos + 1); + } + + private int jjStopAtPos(int pos, int kind) { + jjmatchedKind = kind; + jjmatchedPos = pos; + return pos + 1; + } + + private int jjMoveStringLiteralDfa0_0() { + switch (curChar) { + case 33: + return jjMoveStringLiteralDfa1_0(0x2000000000L, 0x0L); + case 36: + return jjMoveStringLiteralDfa1_0(0x4000L, 0x0L); + case 37: + return jjStopAtPos(0, 29); + case 38: + jjmatchedKind = 30; + return jjMoveStringLiteralDfa1_0(0x1000000000L, 0x0L); + case 40: + return jjStopAtPos(0, 32); + case 41: + return jjStopAtPos(0, 33); + case 42: + jjmatchedKind = 28; + return jjMoveStringLiteralDfa1_0(0x8000L, 0x0L); + case 43: + return jjStopAtPos(0, 18); + case 44: + return jjStopAtPos(0, 20); + case 45: + jjmatchedKind = 19; + return jjMoveStringLiteralDfa1_0(0x200L, 0x0L); + case 46: + return jjStartNfaWithStates_0(0, 31, 523); + case 47: + jjmatchedKind = 25; + return jjMoveStringLiteralDfa1_0(0x10L, 0x0L); + case 58: + return jjStopAtPos(0, 38); + case 59: + return jjStopAtPos(0, 21); + case 60: + jjmatchedKind = 24; + return jjMoveStringLiteralDfa1_0(0x100L, 0x0L); + case 61: + jjmatchedKind = 17; + return jjMoveStringLiteralDfa1_0(0x400000000L, 0x0L); + case 62: + return jjStopAtPos(0, 22); + case 64: + return jjMoveStringLiteralDfa1_0(0xffe0000000000000L, 0x3e0000000fL); + case 91: + return jjStopAtPos(0, 26); + case 93: + return jjStopAtPos(0, 27); + case 94: + return jjMoveStringLiteralDfa1_0(0x2000L, 0x0L); + case 70: + case 102: + return jjMoveStringLiteralDfa1_0(0x10000000000000L, 0x0L); + case 73: + case 105: + return jjMoveStringLiteralDfa1_0(0x8000000000000L, 0x20L); + case 84: + case 116: + return jjMoveStringLiteralDfa1_0(0x6000000000000L, 0x0L); + case 123: + return jjStopAtPos(0, 10); + case 124: + return jjMoveStringLiteralDfa1_0(0x800001000L, 0x0L); + case 125: + return jjStopAtPos(0, 11); + case 126: + jjmatchedKind = 23; + return jjMoveStringLiteralDfa1_0(0x10000L, 0x0L); + default: + return jjMoveNfa_0(24, 0); } - if ((active0 & 0x10000000000000L) != 0L) - { - jjmatchedKind = 72; - return 29; - } - if ((active0 & 0x4000L) != 0L) { - return 75; + } + + private int jjMoveStringLiteralDfa1_0(long active0, long active1) { + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(0, active0, active1); + return 1; } - if ((active0 & 0x2000010L) != 0L) { - return 216; + switch (curChar) { + case 33: + return jjMoveStringLiteralDfa2_0(active0, 0x100L, active1, 0L); + case 38: + if ((active0 & 0x1000000000L) != 0L) { + return jjStopAtPos(1, 36); + } + break; + case 42: + if ((active0 & 0x10L) != 0L) { + return jjStartNfaWithStates_0(1, 4, 221); + } + break; + case 45: + return jjMoveStringLiteralDfa2_0(active0, 0x200L, active1, 0x2L); + case 61: + if ((active0 & 0x1000L) != 0L) { + return jjStopAtPos(1, 12); + } else if ((active0 & 0x2000L) != 0L) { + return jjStopAtPos(1, 13); + } else if ((active0 & 0x4000L) != 0L) { + return jjStopAtPos(1, 14); + } else if ((active0 & 0x8000L) != 0L) { + return jjStopAtPos(1, 15); + } else if ((active0 & 0x10000L) != 0L) { + return jjStopAtPos(1, 16); + } else if ((active0 & 0x400000000L) != 0L) { + return jjStopAtPos(1, 34); + } else if ((active0 & 0x2000000000L) != 0L) { + return jjStopAtPos(1, 37); + } + break; + case 67: + case 99: + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x800000008L); + case 68: + case 100: + return jjMoveStringLiteralDfa2_0(active0, 0x200000000000000L, + active1, 0L); + case 69: + case 101: + return jjMoveStringLiteralDfa2_0(active0, 0x9000000000000000L, + active1, 0x1L); + case 70: + case 102: + if ((active1 & 0x20L) != 0L) { + return jjStartNfaWithStates_0(1, 69, 522); + } + return jjMoveStringLiteralDfa2_0(active0, 0x880000000000000L, + active1, 0x2000000000L); + case 72: + case 104: + return jjMoveStringLiteralDfa2_0(active0, 0x4000000000000L, + active1, 0L); + case 73: + case 105: + return jjMoveStringLiteralDfa2_0(active0, 0x4040000000000000L, + active1, 0x200000000L); + case 77: + case 109: + return jjMoveStringLiteralDfa2_0(active0, 0x20000000000000L, + active1, 0x400000000L); + case 78: + case 110: + if ((active0 & 0x8000000000000L) != 0L) { + return jjStartNfaWithStates_0(1, 51, 522); + } + break; + case 79: + case 111: + if ((active0 & 0x2000000000000L) != 0L) { + return jjStartNfaWithStates_0(1, 49, 522); + } + break; + case 80: + case 112: + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, + 0x1000000000L); + case 82: + case 114: + return jjMoveStringLiteralDfa2_0(active0, 0x110000000000000L, + active1, 0L); + case 83: + case 115: + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x4L); + case 87: + case 119: + return jjMoveStringLiteralDfa2_0(active0, 0x2400000000000000L, + active1, 0L); + case 124: + if ((active0 & 0x800000000L) != 0L) { + return jjStopAtPos(1, 35); + } + break; + default: + break; } - if ((active0 & 0x80200L) != 0L) { - return 38; + return jjStartNfa_0(0, active0, active1); + } + + private int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, + long active1) { + if (((active0 &= old0) | (active1 &= old1)) == 0L) { + return jjStartNfa_0(0, old0, old1); } - if ((active0 & 0x2000000000L) != 0L) { - return 524; + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(1, active0, active1); + return 2; } - return -1; - case 1: - if ((active1 & 0x2L) != 0L) { - return 174; + switch (curChar) { + case 45: + return jjMoveStringLiteralDfa3_0(active0, 0x100L, active1, 0L); + case 62: + if ((active0 & 0x200L) != 0L) { + return jjStopAtPos(2, 9); + } + break; + case 65: + case 97: + return jjMoveStringLiteralDfa3_0(active0, 0x1400000000000000L, + active1, 0x1000000000L); + case 69: + case 101: + return jjMoveStringLiteralDfa3_0(active0, 0x300000000000000L, + active1, 0x400000000L); + case 70: + case 102: + if ((active0 & 0x4000000000000000L) != 0L) { + return jjStartNfaWithStates_0(2, 62, 525); + } + break; + case 72: + case 104: + return jjMoveStringLiteralDfa3_0(active0, 0x2000000000000000L, + active1, 0x800000000L); + case 73: + case 105: + return jjMoveStringLiteralDfa3_0(active0, 0x20000000000000L, + active1, 0L); + case 76: + case 108: + return jjMoveStringLiteralDfa3_0(active0, 0x8000000000000000L, + active1, 0L); + case 77: + case 109: + return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x200000002L); + case 78: + case 110: + return jjMoveStringLiteralDfa3_0(active0, 0x40000000000000L, + active1, 0L); + case 79: + case 111: + return jjMoveStringLiteralDfa3_0(active0, 0x810000000000000L, + active1, 0x2000000008L); + case 82: + case 114: + return jjMoveStringLiteralDfa3_0(active0, 0x4000000000000L, + active1, 0L); + case 85: + case 117: + return jjMoveStringLiteralDfa3_0(active0, 0x80000000000000L, + active1, 0x4L); + case 88: + case 120: + return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x1L); + default: + break; } - if ((active0 & 0xffe0000000000000L) != 0L || (active1 & 0x3e0000000dL) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 1; - return 525; - } - if ((active0 & 0x14000000000000L) != 0L) - { - jjmatchedKind = 72; - jjmatchedPos = 1; - return 522; - } - if ((active0 & 0xa000000000000L) != 0L || (active1 & 0x20L) != 0L) { - return 522; + return jjStartNfa_0(1, active0, active1); + } + + private int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, + long active1) { + if (((active0 &= old0) | (active1 &= old1)) == 0L) { + return jjStartNfa_0(1, old0, old1); } - if ((active0 & 0x10L) != 0L) { - return 221; + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(2, active0, active1); + return 3; } - return -1; - case 2: - if ((active0 & 0xbfe0000000000000L) != 0L || (active1 & 0x3e0000000dL) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 2; - return 525; - } - if ((active0 & 0x4000000000000000L) != 0L) { - return 525; + switch (curChar) { + case 45: + if ((active0 & 0x100L) != 0L) { + return jjStopAtPos(3, 8); + } + break; + case 65: + case 97: + return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x800000000L); + case 66: + case 98: + return jjMoveStringLiteralDfa4_0(active0, 0x200000000000000L, + active1, 0L); + case 67: + case 99: + return jjMoveStringLiteralDfa4_0(active0, 0x1040000000000000L, + active1, 0L); + case 68: + case 100: + return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x400000000L); + case 71: + case 103: + return jjMoveStringLiteralDfa4_0(active0, 0L, active1, + 0x1000000000L); + case 73: + case 105: + return jjMoveStringLiteralDfa4_0(active0, 0x2000000000000000L, + active1, 0L); + case 77: + case 109: + if ((active0 & 0x10000000000000L) != 0L) { + return jjStartNfaWithStates_0(3, 52, 522); + } + break; + case 78: + case 110: + return jjMoveStringLiteralDfa4_0(active0, 0x80000000000000L, + active1, 0x2000000008L); + case 79: + case 111: + return jjMoveStringLiteralDfa4_0(active0, 0x4000000000000L, + active1, 0x2L); + case 80: + case 112: + return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x200000004L); + case 82: + case 114: + if ((active0 & 0x800000000000000L) != 0L) { + return jjStartNfaWithStates_0(3, 59, 525); + } + return jjMoveStringLiteralDfa4_0(active0, 0x400000000000000L, + active1, 0L); + case 83: + case 115: + return jjMoveStringLiteralDfa4_0(active0, 0x8000000000000000L, + active1, 0L); + case 84: + case 116: + return jjMoveStringLiteralDfa4_0(active0, 0x100000000000000L, + active1, 0x1L); + case 88: + case 120: + return jjMoveStringLiteralDfa4_0(active0, 0x20000000000000L, + active1, 0L); + default: + break; } - if ((active1 & 0x2L) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 2; - return 173; - } - if ((active0 & 0x14000000000000L) != 0L) - { - jjmatchedKind = 72; - jjmatchedPos = 2; - return 522; - } - return -1; - case 3: - if ((active0 & 0xb7e0000000000000L) != 0L || (active1 & 0x3e0000000dL) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 3; - return 525; - } - if ((active0 & 0x800000000000000L) != 0L) { - return 525; + return jjStartNfa_0(2, active0, active1); + } + + private int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, + long active1) { + if (((active0 &= old0) | (active1 &= old1)) == 0L) { + return jjStartNfa_0(2, old0, old1); } - if ((active0 & 0x4000000000000L) != 0L) - { - jjmatchedKind = 72; - jjmatchedPos = 3; - return 522; - } - if ((active0 & 0x10000000000000L) != 0L) { - return 522; + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(3, active0, active1); + return 4; } - if ((active1 & 0x2L) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 3; - return 172; - } - return -1; - case 4: - if ((active0 & 0x9400000000000000L) != 0L || (active1 & 0x1000000000L) != 0L) { - return 525; + switch (curChar) { + case 67: + case 99: + return jjMoveStringLiteralDfa5_0(active0, 0x80000000000000L, + active1, 0L); + case 69: + case 101: + if ((active0 & 0x8000000000000000L) != 0L) { + return jjStartNfaWithStates_0(4, 63, 525); + } else if ((active1 & 0x1000000000L) != 0L) { + return jjStartNfaWithStates_0(4, 100, 525); + } + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x1L); + case 72: + case 104: + if ((active0 & 0x1000000000000000L) != 0L) { + return jjStartNfaWithStates_0(4, 60, 525); + } + break; + case 73: + case 105: + return jjMoveStringLiteralDfa5_0(active0, 0x20000000000000L, + active1, 0x400000000L); + case 76: + case 108: + return jjMoveStringLiteralDfa5_0(active0, 0x2040000000000000L, + active1, 0L); + case 78: + case 110: + if ((active0 & 0x400000000000000L) != 0L) { + return jjStartNfaWithStates_0(4, 58, 525); + } + break; + case 79: + case 111: + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x200000000L); + case 80: + case 112: + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x4L); + case 82: + case 114: + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x800000000L); + case 84: + case 116: + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, + 0x2000000008L); + case 85: + case 117: + return jjMoveStringLiteralDfa5_0(active0, 0x304000000000000L, + active1, 0L); + case 90: + case 122: + return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x2L); + default: + break; } - if ((active1 & 0x2L) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 4; - return 171; - } - if ((active0 & 0x4000000000000L) != 0L) - { - jjmatchedKind = 72; - jjmatchedPos = 4; - return 522; - } - if ((active0 & 0x23e0000000000000L) != 0L || (active1 & 0x2e0000000dL) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 4; - return 525; - } - return -1; - case 5: - if ((active1 & 0x2L) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 5; - return 170; - } - if ((active0 & 0x4000000000000L) != 0L) - { - jjmatchedKind = 72; - jjmatchedPos = 5; - return 522; - } - if ((active0 & 0x2220000000000000L) != 0L || (active1 & 0x400000000L) != 0L) { - return 525; + return jjStartNfa_0(3, active0, active1); + } + + private int jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, + long active1) { + if (((active0 &= old0) | (active1 &= old1)) == 0L) { + return jjStartNfa_0(3, old0, old1); } - if ((active0 & 0x1c0000000000000L) != 0L || (active1 & 0x2a0000000dL) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 5; - return 525; - } - return -1; - case 6: - if ((active0 & 0x100000000000000L) != 0L || (active1 & 0x200000001L) != 0L) { - return 525; + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(4, active0, active1); + return 5; } - if ((active0 & 0x4000000000000L) != 0L) { - return 522; + switch (curChar) { + case 45: + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, + 0x2000000002L); + case 65: + case 97: + if ((active1 & 0x400000000L) != 0L) { + return jjStartNfaWithStates_0(5, 98, 525); + } + break; + case 69: + case 101: + if ((active0 & 0x2000000000000000L) != 0L) { + return jjStartNfaWithStates_0(5, 61, 525); + } + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x8L); + case 71: + case 103: + if ((active0 & 0x200000000000000L) != 0L) { + return jjStartNfaWithStates_0(5, 57, 525); + } + return jjMoveStringLiteralDfa6_0(active0, 0x4000000000000L, + active1, 0L); + case 78: + case 110: + if ((active0 & 0x20000000000000L) != 0L) { + return jjStartNfaWithStates_0(5, 53, 525); + } + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x1L); + case 79: + case 111: + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x4L); + case 82: + case 114: + return jjMoveStringLiteralDfa6_0(active0, 0x100000000000000L, + active1, 0x200000000L); + case 83: + case 115: + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x800000000L); + case 84: + case 116: + return jjMoveStringLiteralDfa6_0(active0, 0x80000000000000L, + active1, 0L); + case 85: + case 117: + return jjMoveStringLiteralDfa6_0(active0, 0x40000000000000L, + active1, 0L); + default: + break; } - if ((active0 & 0xc0000000000000L) != 0L || (active1 & 0x280000000eL) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 6; - return 525; - } - return -1; - case 7: - if ((active0 & 0x40000000000000L) != 0L || (active1 & 0x800000008L) != 0L) { - return 525; + return jjStartNfa_0(4, active0, active1); + } + + private int jjMoveStringLiteralDfa6_0(long old0, long active0, long old1, + long active1) { + if (((active0 &= old0) | (active1 &= old1)) == 0L) { + return jjStartNfa_0(4, old0, old1); } - if ((active0 & 0x80000000000000L) != 0L || (active1 & 0x2000000006L) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 7; - return 525; - } - return -1; - case 8: - if ((active1 & 0x2000000002L) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 8; - return 525; - } - if ((active0 & 0x80000000000000L) != 0L || (active1 & 0x4L) != 0L) { - return 525; + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(5, active0, active1); + return 6; } - return -1; - case 9: - if ((active1 & 0x2L) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 9; - return 525; - } - if ((active1 & 0x2000000000L) != 0L) { - return 525; + switch (curChar) { + case 68: + case 100: + if ((active1 & 0x1L) != 0L) { + return jjStartNfaWithStates_0(6, 64, 525); + } + return jjMoveStringLiteralDfa7_0(active0, 0x40000000000000L, + active1, 0x2L); + case 69: + case 101: + return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x800000000L); + case 70: + case 102: + return jjMoveStringLiteralDfa7_0(active0, 0L, active1, + 0x2000000000L); + case 72: + case 104: + if ((active0 & 0x4000000000000L) != 0L) { + return jjStartNfaWithStates_0(6, 50, 522); + } + break; + case 73: + case 105: + return jjMoveStringLiteralDfa7_0(active0, 0x80000000000000L, + active1, 0L); + case 78: + case 110: + if ((active0 & 0x100000000000000L) != 0L) { + return jjStartNfaWithStates_0(6, 56, 525); + } + return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x8L); + case 82: + case 114: + return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x4L); + case 84: + case 116: + if ((active1 & 0x200000000L) != 0L) { + return jjStartNfaWithStates_0(6, 97, 525); + } + break; + default: + break; } - return -1; - case 10: - if ((active1 & 0x2L) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 10; - return 525; - } - return -1; - case 11: - if ((active1 & 0x2L) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 11; - return 525; - } - return -1; - case 12: - if ((active1 & 0x2L) != 0L) - { - jjmatchedKind = 103; - jjmatchedPos = 12; - return 525; - } - return -1; - default : - return -1; - } -} -private final int jjStartNfa_0(int pos, long active0, long active1) -{ - return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1), pos + 1); -} -private int jjStopAtPos(int pos, int kind) -{ - jjmatchedKind = kind; - jjmatchedPos = pos; - return pos + 1; -} -private int jjMoveStringLiteralDfa0_0() -{ - switch(curChar) - { - case 33: - return jjMoveStringLiteralDfa1_0(0x2000000000L, 0x0L); - case 36: - return jjMoveStringLiteralDfa1_0(0x4000L, 0x0L); - case 37: - return jjStopAtPos(0, 29); - case 38: - jjmatchedKind = 30; - return jjMoveStringLiteralDfa1_0(0x1000000000L, 0x0L); - case 40: - return jjStopAtPos(0, 32); - case 41: - return jjStopAtPos(0, 33); - case 42: - jjmatchedKind = 28; - return jjMoveStringLiteralDfa1_0(0x8000L, 0x0L); - case 43: - return jjStopAtPos(0, 18); - case 44: - return jjStopAtPos(0, 20); - case 45: - jjmatchedKind = 19; - return jjMoveStringLiteralDfa1_0(0x200L, 0x0L); - case 46: - return jjStartNfaWithStates_0(0, 31, 523); - case 47: - jjmatchedKind = 25; - return jjMoveStringLiteralDfa1_0(0x10L, 0x0L); - case 58: - return jjStopAtPos(0, 38); - case 59: - return jjStopAtPos(0, 21); - case 60: - jjmatchedKind = 24; - return jjMoveStringLiteralDfa1_0(0x100L, 0x0L); - case 61: - jjmatchedKind = 17; - return jjMoveStringLiteralDfa1_0(0x400000000L, 0x0L); - case 62: - return jjStopAtPos(0, 22); - case 64: - return jjMoveStringLiteralDfa1_0(0xffe0000000000000L, 0x3e0000000fL); - case 91: - return jjStopAtPos(0, 26); - case 93: - return jjStopAtPos(0, 27); - case 94: - return jjMoveStringLiteralDfa1_0(0x2000L, 0x0L); - case 70: - case 102: - return jjMoveStringLiteralDfa1_0(0x10000000000000L, 0x0L); - case 73: - case 105: - return jjMoveStringLiteralDfa1_0(0x8000000000000L, 0x20L); - case 84: - case 116: - return jjMoveStringLiteralDfa1_0(0x6000000000000L, 0x0L); - case 123: - return jjStopAtPos(0, 10); - case 124: - return jjMoveStringLiteralDfa1_0(0x800001000L, 0x0L); - case 125: - return jjStopAtPos(0, 11); - case 126: - jjmatchedKind = 23; - return jjMoveStringLiteralDfa1_0(0x10000L, 0x0L); - default : - return jjMoveNfa_0(24, 0); - } -} -private int jjMoveStringLiteralDfa1_0(long active0, long active1) -{ - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(0, active0, active1); - return 1; - } - switch(curChar) - { - case 33: - return jjMoveStringLiteralDfa2_0(active0, 0x100L, active1, 0L); - case 38: - if ((active0 & 0x1000000000L) != 0L) { - return jjStopAtPos(1, 36); + return jjStartNfa_0(5, active0, active1); + } + + private int jjMoveStringLiteralDfa7_0(long old0, long active0, long old1, + long active1) { + if (((active0 &= old0) | (active1 &= old1)) == 0L) { + return jjStartNfa_0(5, old0, old1); } - break; - case 42: - if ((active0 & 0x10L) != 0L) { - return jjStartNfaWithStates_0(1, 4, 221); + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(6, active0, active1); + return 7; } - break; - case 45: - return jjMoveStringLiteralDfa2_0(active0, 0x200L, active1, 0x2L); - case 61: - if ((active0 & 0x1000L) != 0L) { - return jjStopAtPos(1, 12); - } else if ((active0 & 0x2000L) != 0L) { - return jjStopAtPos(1, 13); - } else if ((active0 & 0x4000L) != 0L) { - return jjStopAtPos(1, 14); - } else if ((active0 & 0x8000L) != 0L) { - return jjStopAtPos(1, 15); - } else if ((active0 & 0x10000L) != 0L) { - return jjStopAtPos(1, 16); - } else if ((active0 & 0x400000000L) != 0L) { - return jjStopAtPos(1, 34); - } else if ((active0 & 0x2000000000L) != 0L) { - return jjStopAtPos(1, 37); + switch (curChar) { + case 65: + case 97: + return jjMoveStringLiteralDfa8_0(active0, 0L, active1, + 0x2000000000L); + case 69: + case 101: + if ((active0 & 0x40000000000000L) != 0L) { + return jjStartNfaWithStates_0(7, 54, 525); + } + break; + case 79: + case 111: + return jjMoveStringLiteralDfa8_0(active0, 0x80000000000000L, + active1, 0x2L); + case 84: + case 116: + if ((active1 & 0x8L) != 0L) { + return jjStartNfaWithStates_0(7, 67, 525); + } else if ((active1 & 0x800000000L) != 0L) { + return jjStartNfaWithStates_0(7, 99, 525); + } + return jjMoveStringLiteralDfa8_0(active0, 0L, active1, 0x4L); + default: + break; } - break; - case 67: - case 99: - return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x800000008L); - case 68: - case 100: - return jjMoveStringLiteralDfa2_0(active0, 0x200000000000000L, active1, 0L); - case 69: - case 101: - return jjMoveStringLiteralDfa2_0(active0, 0x9000000000000000L, active1, 0x1L); - case 70: - case 102: - if ((active1 & 0x20L) != 0L) { - return jjStartNfaWithStates_0(1, 69, 522); + return jjStartNfa_0(6, active0, active1); + } + + private int jjMoveStringLiteralDfa8_0(long old0, long active0, long old1, + long active1) { + if (((active0 &= old0) | (active1 &= old1)) == 0L) { + return jjStartNfa_0(6, old0, old1); } - return jjMoveStringLiteralDfa2_0(active0, 0x880000000000000L, active1, 0x2000000000L); - case 72: - case 104: - return jjMoveStringLiteralDfa2_0(active0, 0x4000000000000L, active1, 0L); - case 73: - case 105: - return jjMoveStringLiteralDfa2_0(active0, 0x4040000000000000L, active1, 0x200000000L); - case 77: - case 109: - return jjMoveStringLiteralDfa2_0(active0, 0x20000000000000L, active1, 0x400000000L); - case 78: - case 110: - if ((active0 & 0x8000000000000L) != 0L) { - return jjStartNfaWithStates_0(1, 51, 522); + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(7, active0, active1); + return 8; } - break; - case 79: - case 111: - if ((active0 & 0x2000000000000L) != 0L) { - return jjStartNfaWithStates_0(1, 49, 522); + switch (curChar) { + case 67: + case 99: + return jjMoveStringLiteralDfa9_0(active0, 0L, active1, + 0x2000000002L); + case 78: + case 110: + if ((active0 & 0x80000000000000L) != 0L) { + return jjStartNfaWithStates_0(8, 55, 525); + } + break; + case 83: + case 115: + if ((active1 & 0x4L) != 0L) { + return jjStartNfaWithStates_0(8, 66, 525); + } + break; + default: + break; } - break; - case 80: - case 112: - return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x1000000000L); - case 82: - case 114: - return jjMoveStringLiteralDfa2_0(active0, 0x110000000000000L, active1, 0L); - case 83: - case 115: - return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x4L); - case 87: - case 119: - return jjMoveStringLiteralDfa2_0(active0, 0x2400000000000000L, active1, 0L); - case 124: - if ((active0 & 0x800000000L) != 0L) { - return jjStopAtPos(1, 35); + return jjStartNfa_0(7, active0, active1); + } + + private int jjMoveStringLiteralDfa9_0(long old0, long active0, long old1, + long active1) { + if (((active0 &= old0) | (active1 &= old1)) == 0L) { + return jjStartNfa_0(7, old0, old1); } - break; - default : - break; - } - return jjStartNfa_0(0, active0, active1); -} -private int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1) -{ - if (((active0 &= old0) | (active1 &= old1)) == 0L) { - return jjStartNfa_0(0, old0, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(1, active0, active1); - return 2; - } - switch(curChar) - { - case 45: - return jjMoveStringLiteralDfa3_0(active0, 0x100L, active1, 0L); - case 62: - if ((active0 & 0x200L) != 0L) { - return jjStopAtPos(2, 9); + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(8, 0L, active1); + return 9; } - break; - case 65: - case 97: - return jjMoveStringLiteralDfa3_0(active0, 0x1400000000000000L, active1, 0x1000000000L); - case 69: - case 101: - return jjMoveStringLiteralDfa3_0(active0, 0x300000000000000L, active1, 0x400000000L); - case 70: - case 102: - if ((active0 & 0x4000000000000000L) != 0L) { - return jjStartNfaWithStates_0(2, 62, 525); + switch (curChar) { + case 69: + case 101: + if ((active1 & 0x2000000000L) != 0L) { + return jjStartNfaWithStates_0(9, 101, 525); + } + break; + case 85: + case 117: + return jjMoveStringLiteralDfa10_0(active1, 0x2L); + default: + break; } - break; - case 72: - case 104: - return jjMoveStringLiteralDfa3_0(active0, 0x2000000000000000L, active1, 0x800000000L); - case 73: - case 105: - return jjMoveStringLiteralDfa3_0(active0, 0x20000000000000L, active1, 0L); - case 76: - case 108: - return jjMoveStringLiteralDfa3_0(active0, 0x8000000000000000L, active1, 0L); - case 77: - case 109: - return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x200000002L); - case 78: - case 110: - return jjMoveStringLiteralDfa3_0(active0, 0x40000000000000L, active1, 0L); - case 79: - case 111: - return jjMoveStringLiteralDfa3_0(active0, 0x810000000000000L, active1, 0x2000000008L); - case 82: - case 114: - return jjMoveStringLiteralDfa3_0(active0, 0x4000000000000L, active1, 0L); - case 85: - case 117: - return jjMoveStringLiteralDfa3_0(active0, 0x80000000000000L, active1, 0x4L); - case 88: - case 120: - return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x1L); - default : - break; - } - return jjStartNfa_0(1, active0, active1); -} -private int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1) -{ - if (((active0 &= old0) | (active1 &= old1)) == 0L) { - return jjStartNfa_0(1, old0, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(2, active0, active1); - return 3; - } - switch(curChar) - { - case 45: - if ((active0 & 0x100L) != 0L) { - return jjStopAtPos(3, 8); + return jjStartNfa_0(8, 0L, active1); + } + + private int jjMoveStringLiteralDfa10_0(long old1, long active1) { + if (((active1 &= old1)) == 0L) { + return jjStartNfa_0(8, 0L, old1); } - break; - case 65: - case 97: - return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x800000000L); - case 66: - case 98: - return jjMoveStringLiteralDfa4_0(active0, 0x200000000000000L, active1, 0L); - case 67: - case 99: - return jjMoveStringLiteralDfa4_0(active0, 0x1040000000000000L, active1, 0L); - case 68: - case 100: - return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x400000000L); - case 71: - case 103: - return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x1000000000L); - case 73: - case 105: - return jjMoveStringLiteralDfa4_0(active0, 0x2000000000000000L, active1, 0L); - case 77: - case 109: - if ((active0 & 0x10000000000000L) != 0L) { - return jjStartNfaWithStates_0(3, 52, 522); + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(9, 0L, active1); + return 10; } - break; - case 78: - case 110: - return jjMoveStringLiteralDfa4_0(active0, 0x80000000000000L, active1, 0x2000000008L); - case 79: - case 111: - return jjMoveStringLiteralDfa4_0(active0, 0x4000000000000L, active1, 0x2L); - case 80: - case 112: - return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x200000004L); - case 82: - case 114: - if ((active0 & 0x800000000000000L) != 0L) { - return jjStartNfaWithStates_0(3, 59, 525); + switch (curChar) { + case 77: + case 109: + return jjMoveStringLiteralDfa11_0(active1, 0x2L); + default: + break; } - return jjMoveStringLiteralDfa4_0(active0, 0x400000000000000L, active1, 0L); - case 83: - case 115: - return jjMoveStringLiteralDfa4_0(active0, 0x8000000000000000L, active1, 0L); - case 84: - case 116: - return jjMoveStringLiteralDfa4_0(active0, 0x100000000000000L, active1, 0x1L); - case 88: - case 120: - return jjMoveStringLiteralDfa4_0(active0, 0x20000000000000L, active1, 0L); - default : - break; - } - return jjStartNfa_0(2, active0, active1); -} -private int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1) -{ - if (((active0 &= old0) | (active1 &= old1)) == 0L) { - return jjStartNfa_0(2, old0, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(3, active0, active1); - return 4; - } - switch(curChar) - { - case 67: - case 99: - return jjMoveStringLiteralDfa5_0(active0, 0x80000000000000L, active1, 0L); - case 69: - case 101: - if ((active0 & 0x8000000000000000L) != 0L) { - return jjStartNfaWithStates_0(4, 63, 525); - } else if ((active1 & 0x1000000000L) != 0L) { - return jjStartNfaWithStates_0(4, 100, 525); + return jjStartNfa_0(9, 0L, active1); + } + + private int jjMoveStringLiteralDfa11_0(long old1, long active1) { + if (((active1 &= old1)) == 0L) { + return jjStartNfa_0(9, 0L, old1); } - return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x1L); - case 72: - case 104: - if ((active0 & 0x1000000000000000L) != 0L) { - return jjStartNfaWithStates_0(4, 60, 525); + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(10, 0L, active1); + return 11; } - break; - case 73: - case 105: - return jjMoveStringLiteralDfa5_0(active0, 0x20000000000000L, active1, 0x400000000L); - case 76: - case 108: - return jjMoveStringLiteralDfa5_0(active0, 0x2040000000000000L, active1, 0L); - case 78: - case 110: - if ((active0 & 0x400000000000000L) != 0L) { - return jjStartNfaWithStates_0(4, 58, 525); + switch (curChar) { + case 69: + case 101: + return jjMoveStringLiteralDfa12_0(active1, 0x2L); + default: + break; } - break; - case 79: - case 111: - return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x200000000L); - case 80: - case 112: - return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x4L); - case 82: - case 114: - return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x800000000L); - case 84: - case 116: - return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x2000000008L); - case 85: - case 117: - return jjMoveStringLiteralDfa5_0(active0, 0x304000000000000L, active1, 0L); - case 90: - case 122: - return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x2L); - default : - break; - } - return jjStartNfa_0(3, active0, active1); -} -private int jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1) -{ - if (((active0 &= old0) | (active1 &= old1)) == 0L) { - return jjStartNfa_0(3, old0, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(4, active0, active1); - return 5; - } - switch(curChar) - { - case 45: - return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x2000000002L); - case 65: - case 97: - if ((active1 & 0x400000000L) != 0L) { - return jjStartNfaWithStates_0(5, 98, 525); + return jjStartNfa_0(10, 0L, active1); + } + + private int jjMoveStringLiteralDfa12_0(long old1, long active1) { + if (((active1 &= old1)) == 0L) { + return jjStartNfa_0(10, 0L, old1); } - break; - case 69: - case 101: - if ((active0 & 0x2000000000000000L) != 0L) { - return jjStartNfaWithStates_0(5, 61, 525); + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(11, 0L, active1); + return 12; } - return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x8L); - case 71: - case 103: - if ((active0 & 0x200000000000000L) != 0L) { - return jjStartNfaWithStates_0(5, 57, 525); + switch (curChar) { + case 78: + case 110: + return jjMoveStringLiteralDfa13_0(active1, 0x2L); + default: + break; } - return jjMoveStringLiteralDfa6_0(active0, 0x4000000000000L, active1, 0L); - case 78: - case 110: - if ((active0 & 0x20000000000000L) != 0L) { - return jjStartNfaWithStates_0(5, 53, 525); + return jjStartNfa_0(11, 0L, active1); + } + + private int jjMoveStringLiteralDfa13_0(long old1, long active1) { + if (((active1 &= old1)) == 0L) { + return jjStartNfa_0(11, 0L, old1); } - return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x1L); - case 79: - case 111: - return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x4L); - case 82: - case 114: - return jjMoveStringLiteralDfa6_0(active0, 0x100000000000000L, active1, 0x200000000L); - case 83: - case 115: - return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x800000000L); - case 84: - case 116: - return jjMoveStringLiteralDfa6_0(active0, 0x80000000000000L, active1, 0L); - case 85: - case 117: - return jjMoveStringLiteralDfa6_0(active0, 0x40000000000000L, active1, 0L); - default : - break; - } - return jjStartNfa_0(4, active0, active1); -} -private int jjMoveStringLiteralDfa6_0(long old0, long active0, long old1, long active1) -{ - if (((active0 &= old0) | (active1 &= old1)) == 0L) { - return jjStartNfa_0(4, old0, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(5, active0, active1); - return 6; - } - switch(curChar) - { - case 68: - case 100: - if ((active1 & 0x1L) != 0L) { - return jjStartNfaWithStates_0(6, 64, 525); + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + jjStopStringLiteralDfa_0(12, 0L, active1); + return 13; } - return jjMoveStringLiteralDfa7_0(active0, 0x40000000000000L, active1, 0x2L); - case 69: - case 101: - return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x800000000L); - case 70: - case 102: - return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x2000000000L); - case 72: - case 104: - if ((active0 & 0x4000000000000L) != 0L) { - return jjStartNfaWithStates_0(6, 50, 522); + switch (curChar) { + case 84: + case 116: + if ((active1 & 0x2L) != 0L) { + return jjStartNfaWithStates_0(13, 65, 525); + } + break; + default: + break; } - break; - case 73: - case 105: - return jjMoveStringLiteralDfa7_0(active0, 0x80000000000000L, active1, 0L); - case 78: - case 110: - if ((active0 & 0x100000000000000L) != 0L) { - return jjStartNfaWithStates_0(6, 56, 525); + return jjStartNfa_0(12, 0L, active1); + } + + private int jjStartNfaWithStates_0(int pos, int kind, int state) { + jjmatchedKind = kind; + jjmatchedPos = pos; + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + return pos + 1; } - return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x8L); - case 82: - case 114: - return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x4L); - case 84: - case 116: - if ((active1 & 0x200000000L) != 0L) { - return jjStartNfaWithStates_0(6, 97, 525); + return jjMoveNfa_0(state, pos + 1); + } + + static final long[] jjbitVec0 = { 0x0L, 0x0L, 0xffffffffffffffffL, + 0xffffffffffffffffL }; + + private int jjMoveNfa_0(int startState, int curPos) { + int startsAt = 0; + jjnewStateCnt = 522; + int i = 1; + jjstateSet[0] = startState; + int kind = 0x7fffffff; + for (;;) { + if (++jjround == 0x7fffffff) { + ReInitRounds(); + } + if (curChar < 64) { + long l = 1L << curChar; + do { + switch (jjstateSet[--i]) { + case 524: + if ((0x100003600L & l) != 0L) { + jjCheckNAddTwoStates(256, 265); + } + if ((0x100003600L & l) != 0L) { + jjCheckNAddTwoStates(248, 255); + } + break; + case 162: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 108; + } + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 213; + } + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 201; + } + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 185; + } + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 174; + } + break; + case 29: + if ((0x3ff200000000000L & l) != 0L) { + jjCheckNAddStates(0, 3); + } else if ((0x100003600L & l) != 0L) { + jjCheckNAddTwoStates(236, 237); + } else if (curChar == 40) { + if (kind > 118) { + kind = 118; + } + } + if ((0x3ff200000000000L & l) != 0L) { + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + } + break; + case 171: + if ((0x3ff200000000000L & l) != 0L) { + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + } + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 170; + } + break; + case 523: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(4, 8); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(327, 330); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(324, 326); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(322, 323); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(319, 321); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(314, 318); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(310, 313); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(306, 309); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(303, 305); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(299, 302); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(295, 298); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(292, 294); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(289, 291); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(286, 288); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(283, 285); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(280, 282); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(277, 279); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(274, 276); + } + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(272, 273); + } + if ((0x3ff000000000000L & l) != 0L) { + if (kind > 73) { + kind = 73; + } + jjCheckNAdd(271); + } + break; + case 525: + case 109: + if ((0x3ff200000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 216: + if (curChar == 42) { + jjstateSet[jjnewStateCnt++] = 221; + } else if (curChar == 47) { + if (kind > 2) { + kind = 2; + } + jjCheckNAddStates(9, 11); + } + break; + case 173: + if ((0x3ff200000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 24: + if ((0x3ff000000000000L & l) != 0L) { + if (kind > 73) { + kind = 73; + } + jjCheckNAddStates(12, 93); + } else if ((0x100003600L & l) != 0L) { + if (kind > 1) { + kind = 1; + } + jjCheckNAdd(0); + } else if (curChar == 46) { + jjCheckNAddStates(94, 113); + } else if (curChar == 45) { + jjAddStates(114, 115); + } else if (curChar == 33) { + jjCheckNAddStates(116, 119); + } else if (curChar == 47) { + jjAddStates(120, 121); + } else if (curChar == 35) { + jjCheckNAddTwoStates(96, 97); + } else if (curChar == 36) { + jjCheckNAddStates(122, 125); + } else if (curChar == 39) { + jjCheckNAddStates(126, 129); + } else if (curChar == 34) { + jjCheckNAddStates(130, 133); + } + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 38; + } else if (curChar == 35) { + jjstateSet[jjnewStateCnt++] = 1; + } + break; + case 172: + if ((0x3ff200000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 170: + if ((0x3ff200000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 75: + if (curChar == 45) { + jjCheckNAdd(76); + } + break; + case 522: + if ((0x3ff200000000000L & l) != 0L) { + jjCheckNAddStates(0, 3); + } else if ((0x100003600L & l) != 0L) { + jjCheckNAddTwoStates(236, 237); + } else if (curChar == 40) { + if (kind > 118) { + kind = 118; + } + } + if ((0x3ff200000000000L & l) != 0L) { + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + } + break; + case 0: + if ((0x100003600L & l) == 0L) { + break; + } + if (kind > 1) { + kind = 1; + } + jjCheckNAdd(0); + break; + case 2: + if (curChar == 36) { + jjCheckNAddStates(134, 137); + } + break; + case 3: + if (curChar == 45) { + jjCheckNAdd(4); + } + break; + case 5: + if ((0x3ff200000000000L & l) != 0L) { + jjCheckNAddStates(138, 140); + } + break; + case 8: + if ((0xffffffff00000000L & l) != 0L) { + jjCheckNAddStates(138, 140); + } + break; + case 9: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(141, 145); + } + break; + case 10: + if ((0x100003600L & l) != 0L) { + jjCheckNAddStates(138, 140); + } + break; + case 11: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(146, 153); + } + break; + case 12: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(154, 157); + } + break; + case 13: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(158, 162); + } + break; + case 14: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(163, 168); + } + break; + case 15: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(169, 175); + } + break; + case 18: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(176, 180); + } + break; + case 19: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(181, 188); + } + break; + case 20: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(189, 192); + } + break; + case 21: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(193, 197); + } + break; + case 22: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(198, 203); + } + break; + case 23: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(204, 210); + } + break; + case 36: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 35; + } + break; + case 39: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 38; + } + break; + case 40: + if (curChar == 34) { + jjCheckNAddStates(130, 133); + } + break; + case 41: + if ((0xfffffffb00000200L & l) != 0L) { + jjCheckNAddStates(130, 133); + } + break; + case 42: + if (curChar == 34 && kind > 71) { + kind = 71; + } + break; + case 44: + if (curChar == 12) { + jjCheckNAddStates(130, 133); + } + break; + case 46: + if ((0xffffffff00000000L & l) != 0L) { + jjCheckNAddStates(130, 133); + } + break; + case 47: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(211, 216); + } + break; + case 48: + if ((0x100003600L & l) != 0L) { + jjCheckNAddStates(130, 133); + } + break; + case 49: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(217, 225); + } + break; + case 50: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(226, 230); + } + break; + case 51: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(231, 236); + } + break; + case 52: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(237, 243); + } + break; + case 53: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(244, 251); + } + break; + case 54: + if (curChar == 13) { + jjCheckNAddStates(130, 133); + } + break; + case 55: + if (curChar == 10) { + jjCheckNAddStates(130, 133); + } + break; + case 56: + if (curChar == 13) { + jjstateSet[jjnewStateCnt++] = 55; + } + break; + case 57: + if (curChar == 39) { + jjCheckNAddStates(126, 129); + } + break; + case 58: + if ((0xffffff7f00000200L & l) != 0L) { + jjCheckNAddStates(126, 129); + } + break; + case 59: + if (curChar == 39 && kind > 71) { + kind = 71; + } + break; + case 61: + if (curChar == 12) { + jjCheckNAddStates(126, 129); + } + break; + case 63: + if ((0xffffffff00000000L & l) != 0L) { + jjCheckNAddStates(126, 129); + } + break; + case 64: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(252, 257); + } + break; + case 65: + if ((0x100003600L & l) != 0L) { + jjCheckNAddStates(126, 129); + } + break; + case 66: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(258, 266); + } + break; + case 67: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(267, 271); + } + break; + case 68: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(272, 277); + } + break; + case 69: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(278, 284); + } + break; + case 70: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(285, 292); + } + break; + case 71: + if (curChar == 13) { + jjCheckNAddStates(126, 129); + } + break; + case 72: + if (curChar == 10) { + jjCheckNAddStates(126, 129); + } + break; + case 73: + if (curChar == 13) { + jjstateSet[jjnewStateCnt++] = 72; + } + break; + case 74: + if (curChar == 36) { + jjCheckNAddStates(122, 125); + } + break; + case 77: + if ((0x3ff200000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddTwoStates(77, 78); + break; + case 79: + if ((0xffffffff00000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddTwoStates(77, 78); + break; + case 80: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(293, 296); + break; + case 81: + if ((0x100003600L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddTwoStates(77, 78); + break; + case 82: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(297, 303); + break; + case 83: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(304, 306); + break; + case 84: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(307, 310); + break; + case 85: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(311, 315); + break; + case 86: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(316, 321); + break; + case 89: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(322, 325); + break; + case 90: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(326, 332); + break; + case 91: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(333, 335); + break; + case 92: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(336, 339); + break; + case 93: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(340, 344); + break; + case 94: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(345, 350); + break; + case 95: + if (curChar == 35) { + jjCheckNAddTwoStates(96, 97); + } + break; + case 96: + if ((0x3ff200000000000L & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddTwoStates(96, 97); + break; + case 98: + if ((0xffffffff00000000L & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddTwoStates(96, 97); + break; + case 99: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(351, 354); + break; + case 100: + if ((0x100003600L & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddTwoStates(96, 97); + break; + case 101: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(355, 361); + break; + case 102: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(362, 364); + break; + case 103: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(365, 368); + break; + case 104: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(369, 373); + break; + case 105: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(374, 379); + break; + case 107: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 108; + } + break; + case 111: + if ((0xffffffff00000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 112: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(380, 383); + break; + case 113: + if ((0x100003600L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 114: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(384, 390); + break; + case 115: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(391, 393); + break; + case 116: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(394, 397); + break; + case 117: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(398, 402); + break; + case 118: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(403, 408); + break; + case 121: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(409, 412); + break; + case 122: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(413, 419); + break; + case 123: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(420, 422); + break; + case 124: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(423, 426); + break; + case 125: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(427, 431); + break; + case 126: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(432, 437); + break; + case 128: + if ((0x100003600L & l) != 0L) { + jjAddStates(438, 439); + } + break; + case 129: + if (curChar == 40 && kind > 115) { + kind = 115; + } + break; + case 136: + if ((0x100003600L & l) != 0L) { + jjAddStates(440, 441); + } + break; + case 137: + if (curChar == 40 && kind > 116) { + kind = 116; + } + break; + case 144: + if ((0x100003600L & l) != 0L) { + jjAddStates(442, 443); + } + break; + case 145: + if (curChar == 40 && kind > 117) { + kind = 117; + } + break; + case 175: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 174; + } + break; + case 184: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 183; + } + break; + case 186: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 185; + } + break; + case 195: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 194; + } + break; + case 202: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 201; + } + break; + case 211: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 210; + } + break; + case 214: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 213; + } + break; + case 215: + if (curChar == 47) { + jjAddStates(120, 121); + } + break; + case 217: + if ((0xffffffffffffdbffL & l) == 0L) { + break; + } + if (kind > 2) { + kind = 2; + } + jjCheckNAddStates(9, 11); + break; + case 218: + if ((0x2400L & l) != 0L && kind > 2) { + kind = 2; + } + break; + case 219: + if (curChar == 10 && kind > 2) { + kind = 2; + } + break; + case 220: + if (curChar == 13) { + jjstateSet[jjnewStateCnt++] = 219; + } + break; + case 221: + if (curChar == 42) { + jjstateSet[jjnewStateCnt++] = 222; + } + break; + case 222: + if ((0xffff7fffffffffffL & l) != 0L && kind > 3) { + kind = 3; + } + break; + case 223: + if (curChar == 42) { + jjstateSet[jjnewStateCnt++] = 221; + } + break; + case 225: + if ((0x3ff200000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + break; + case 227: + if ((0xffffffff00000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + break; + case 228: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(444, 447); + break; + case 229: + if ((0x100003600L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + break; + case 230: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(448, 454); + break; + case 231: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(455, 457); + break; + case 232: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(458, 461); + break; + case 233: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(462, 466); + break; + case 234: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(467, 472); + break; + case 235: + if ((0x3ff200000000000L & l) != 0L) { + jjCheckNAddStates(0, 3); + } + break; + case 236: + if ((0x100003600L & l) != 0L) { + jjCheckNAddTwoStates(236, 237); + } + break; + case 237: + if (curChar == 40 && kind > 118) { + kind = 118; + } + break; + case 239: + if ((0xffffffff00000000L & l) != 0L) { + jjCheckNAddStates(0, 3); + } + break; + case 240: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(473, 477); + } + break; + case 241: + if ((0x100003600L & l) != 0L) { + jjCheckNAddStates(0, 3); + } + break; + case 242: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(478, 485); + } + break; + case 243: + case 457: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(486, 489); + } + break; + case 244: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(490, 494); + } + break; + case 245: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(495, 500); + } + break; + case 246: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(501, 507); + } + break; + case 247: + if (curChar == 33) { + jjCheckNAddStates(116, 119); + } + break; + case 248: + if ((0x100003600L & l) != 0L) { + jjCheckNAddTwoStates(248, 255); + } + break; + case 256: + if ((0x100003600L & l) != 0L) { + jjCheckNAddTwoStates(256, 265); + } + break; + case 266: + if (curChar == 45) { + jjAddStates(114, 115); + } + break; + case 270: + if (curChar == 46) { + jjCheckNAddStates(94, 113); + } + break; + case 271: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 73) { + kind = 73; + } + jjCheckNAdd(271); + break; + case 272: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(272, 273); + } + break; + case 273: + if (curChar == 37 && kind > 77) { + kind = 77; + } + break; + case 274: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(274, 276); + } + break; + case 277: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(277, 279); + } + break; + case 280: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(280, 282); + } + break; + case 283: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(283, 285); + } + break; + case 286: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(286, 288); + } + break; + case 289: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(289, 291); + } + break; + case 292: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(292, 294); + } + break; + case 295: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(295, 298); + } + break; + case 299: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(299, 302); + } + break; + case 303: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(303, 305); + } + break; + case 306: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(306, 309); + } + break; + case 310: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(310, 313); + } + break; + case 314: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(314, 318); + } + break; + case 319: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(319, 321); + } + break; + case 322: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(322, 323); + } + break; + case 324: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(324, 326); + } + break; + case 327: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(327, 330); + } + break; + case 331: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(4, 8); + } + break; + case 332: + if (curChar == 45) { + jjCheckNAdd(333); + } + break; + case 334: + if ((0x3ff200000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddTwoStates(334, 335); + break; + case 336: + if ((0xffffffff00000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddTwoStates(334, 335); + break; + case 337: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(508, 511); + break; + case 338: + if ((0x100003600L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddTwoStates(334, 335); + break; + case 339: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(512, 518); + break; + case 340: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(519, 521); + break; + case 341: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(522, 525); + break; + case 342: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(526, 530); + break; + case 343: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(531, 536); + break; + case 346: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(537, 540); + break; + case 347: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(541, 547); + break; + case 348: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(548, 550); + break; + case 349: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(551, 554); + break; + case 350: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(555, 559); + break; + case 351: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(560, 565); + break; + case 353: + if (curChar == 40) { + jjCheckNAddStates(566, 571); + } + break; + case 354: + if ((0xfffffc7a00000000L & l) != 0L) { + jjCheckNAddStates(572, 575); + } + break; + case 355: + if ((0x100003600L & l) != 0L) { + jjCheckNAddTwoStates(355, 356); + } + break; + case 356: + if (curChar == 41 && kind > 75) { + kind = 75; + } + break; + case 358: + if ((0xffffffff00000000L & l) != 0L) { + jjCheckNAddStates(572, 575); + } + break; + case 359: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(576, 580); + } + break; + case 360: + if ((0x100003600L & l) != 0L) { + jjCheckNAddStates(572, 575); + } + break; + case 361: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(581, 588); + } + break; + case 362: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(589, 592); + } + break; + case 363: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(593, 597); + } + break; + case 364: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(598, 603); + } + break; + case 365: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(604, 610); + } + break; + case 366: + if (curChar == 39) { + jjCheckNAddStates(611, 614); + } + break; + case 367: + if ((0xffffff7f00000200L & l) != 0L) { + jjCheckNAddStates(611, 614); + } + break; + case 368: + if (curChar == 39) { + jjCheckNAddTwoStates(355, 356); + } + break; + case 370: + if (curChar == 12) { + jjCheckNAddStates(611, 614); + } + break; + case 372: + if ((0xffffffff00000000L & l) != 0L) { + jjCheckNAddStates(611, 614); + } + break; + case 373: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(615, 620); + } + break; + case 374: + if ((0x100003600L & l) != 0L) { + jjCheckNAddStates(611, 614); + } + break; + case 375: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(621, 629); + } + break; + case 376: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(630, 634); + } + break; + case 377: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(635, 640); + } + break; + case 378: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(641, 647); + } + break; + case 379: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(648, 655); + } + break; + case 380: + if (curChar == 13) { + jjCheckNAddStates(611, 614); + } + break; + case 381: + if (curChar == 10) { + jjCheckNAddStates(611, 614); + } + break; + case 382: + if (curChar == 13) { + jjstateSet[jjnewStateCnt++] = 381; + } + break; + case 383: + if (curChar == 34) { + jjCheckNAddStates(656, 659); + } + break; + case 384: + if ((0xfffffffb00000200L & l) != 0L) { + jjCheckNAddStates(656, 659); + } + break; + case 385: + if (curChar == 34) { + jjCheckNAddTwoStates(355, 356); + } + break; + case 387: + if (curChar == 12) { + jjCheckNAddStates(656, 659); + } + break; + case 389: + if ((0xffffffff00000000L & l) != 0L) { + jjCheckNAddStates(656, 659); + } + break; + case 390: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(660, 665); + } + break; + case 391: + if ((0x100003600L & l) != 0L) { + jjCheckNAddStates(656, 659); + } + break; + case 392: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(666, 674); + } + break; + case 393: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(675, 679); + } + break; + case 394: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(680, 685); + } + break; + case 395: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(686, 692); + } + break; + case 396: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(693, 700); + } + break; + case 397: + if (curChar == 13) { + jjCheckNAddStates(656, 659); + } + break; + case 398: + if (curChar == 10) { + jjCheckNAddStates(656, 659); + } + break; + case 399: + if (curChar == 13) { + jjstateSet[jjnewStateCnt++] = 398; + } + break; + case 400: + if ((0x100003600L & l) != 0L) { + jjCheckNAddStates(701, 707); + } + break; + case 403: + if (curChar == 43) { + jjAddStates(708, 709); + } + break; + case 404: + if (curChar != 63) { + break; + } + if (kind > 114) { + kind = 114; + } + jjstateSet[jjnewStateCnt++] = 405; + break; + case 405: + if (curChar != 63) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddStates(710, 713); + break; + case 406: + if (curChar == 63 && kind > 114) { + kind = 114; + } + break; + case 407: + case 422: + case 426: + case 429: + case 432: + if (curChar != 63) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAdd(406); + break; + case 408: + if (curChar != 63) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddTwoStates(406, 407); + break; + case 409: + if (curChar != 63) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddStates(714, 716); + break; + case 410: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjAddStates(717, 722); + break; + case 411: + if ((0x3ff000000000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 412; + } + break; + case 412: + if ((0x3ff000000000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 413; + } + break; + case 413: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAdd(414); + } + break; + case 414: + if ((0x3ff000000000000L & l) != 0L && kind > 114) { + kind = 114; + } + break; + case 415: + if ((0x3ff000000000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 416; + } + break; + case 416: + if ((0x3ff000000000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 417; + } + break; + case 417: + if ((0x3ff000000000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 418; + } + break; + case 418: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAdd(406); + break; + case 419: + if ((0x3ff000000000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 420; + } + break; + case 420: + if ((0x3ff000000000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 421; + } + break; + case 421: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjstateSet[jjnewStateCnt++] = 422; + break; + case 423: + if ((0x3ff000000000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 424; + } + break; + case 424: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjstateSet[jjnewStateCnt++] = 425; + break; + case 425: + if (curChar != 63) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddTwoStates(406, 426); + break; + case 427: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjstateSet[jjnewStateCnt++] = 428; + break; + case 428: + if (curChar != 63) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddStates(723, 725); + break; + case 430: + if (curChar != 63) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddTwoStates(406, 429); + break; + case 431: + if (curChar != 63) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddStates(726, 729); + break; + case 433: + if (curChar != 63) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddTwoStates(406, 432); + break; + case 434: + if (curChar != 63) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddStates(730, 732); + break; + case 435: + if (curChar == 43) { + jjstateSet[jjnewStateCnt++] = 436; + } + break; + case 436: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(437, 443); + } + break; + case 437: + if (curChar == 45) { + jjstateSet[jjnewStateCnt++] = 438; + } + break; + case 438: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjstateSet[jjnewStateCnt++] = 439; + break; + case 439: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddStates(733, 736); + break; + case 440: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAdd(414); + break; + case 441: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddTwoStates(414, 440); + break; + case 442: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddStates(737, 739); + break; + case 443: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(740, 744); + } + break; + case 444: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAdd(437); + } + break; + case 445: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(444, 437); + } + break; + case 446: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(745, 747); + } + break; + case 447: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(748, 751); + } + break; + case 449: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(752, 755); + break; + case 450: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(756, 762); + break; + case 451: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(763, 765); + break; + case 452: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(766, 769); + break; + case 453: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(770, 774); + break; + case 454: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(775, 780); + break; + case 455: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(781, 785); + } + break; + case 456: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(786, 793); + } + break; + case 458: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(794, 798); + } + break; + case 459: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(799, 804); + } + break; + case 460: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(805, 811); + } + break; + case 461: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 73) { + kind = 73; + } + jjCheckNAddStates(12, 93); + break; + case 462: + if ((0x3ff000000000000L & l) == 0L) { + break; + } + if (kind > 73) { + kind = 73; + } + jjCheckNAdd(462); + break; + case 463: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(463, 464); + } + break; + case 464: + if (curChar == 46) { + jjCheckNAdd(271); + } + break; + case 465: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(465, 273); + } + break; + case 466: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(466, 467); + } + break; + case 467: + if (curChar == 46) { + jjCheckNAdd(272); + } + break; + case 468: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(468, 276); + } + break; + case 469: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(469, 470); + } + break; + case 470: + if (curChar == 46) { + jjCheckNAdd(274); + } + break; + case 471: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(471, 279); + } + break; + case 472: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(472, 473); + } + break; + case 473: + if (curChar == 46) { + jjCheckNAdd(277); + } + break; + case 474: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(474, 282); + } + break; + case 475: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(475, 476); + } + break; + case 476: + if (curChar == 46) { + jjCheckNAdd(280); + } + break; + case 477: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(477, 285); + } + break; + case 478: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(478, 479); + } + break; + case 479: + if (curChar == 46) { + jjCheckNAdd(283); + } + break; + case 480: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(480, 288); + } + break; + case 481: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(481, 482); + } + break; + case 482: + if (curChar == 46) { + jjCheckNAdd(286); + } + break; + case 483: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(483, 291); + } + break; + case 484: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(484, 485); + } + break; + case 485: + if (curChar == 46) { + jjCheckNAdd(289); + } + break; + case 486: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(486, 294); + } + break; + case 487: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(487, 488); + } + break; + case 488: + if (curChar == 46) { + jjCheckNAdd(292); + } + break; + case 489: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(489, 298); + } + break; + case 490: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(490, 491); + } + break; + case 491: + if (curChar == 46) { + jjCheckNAdd(295); + } + break; + case 492: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(492, 302); + } + break; + case 493: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(493, 494); + } + break; + case 494: + if (curChar == 46) { + jjCheckNAdd(299); + } + break; + case 495: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(495, 305); + } + break; + case 496: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(496, 497); + } + break; + case 497: + if (curChar == 46) { + jjCheckNAdd(303); + } + break; + case 498: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(498, 309); + } + break; + case 499: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(499, 500); + } + break; + case 500: + if (curChar == 46) { + jjCheckNAdd(306); + } + break; + case 501: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(501, 313); + } + break; + case 502: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(502, 503); + } + break; + case 503: + if (curChar == 46) { + jjCheckNAdd(310); + } + break; + case 504: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(504, 318); + } + break; + case 505: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(505, 506); + } + break; + case 506: + if (curChar == 46) { + jjCheckNAdd(314); + } + break; + case 507: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(507, 321); + } + break; + case 508: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(508, 509); + } + break; + case 509: + if (curChar == 46) { + jjCheckNAdd(319); + } + break; + case 510: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(510, 323); + } + break; + case 511: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(511, 512); + } + break; + case 512: + if (curChar == 46) { + jjCheckNAdd(322); + } + break; + case 513: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(513, 326); + } + break; + case 514: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(514, 515); + } + break; + case 515: + if (curChar == 46) { + jjCheckNAdd(324); + } + break; + case 516: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(516, 330); + } + break; + case 517: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(517, 518); + } + break; + case 518: + if (curChar == 46) { + jjCheckNAdd(327); + } + break; + case 519: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddStates(812, 816); + } + break; + case 520: + if ((0x3ff000000000000L & l) != 0L) { + jjCheckNAddTwoStates(520, 521); + } + break; + case 521: + if (curChar == 46) { + jjCheckNAdd(331); + } + break; + default: + break; + } + } while (i != startsAt); + } else if (curChar < 128) { + long l = 1L << (curChar & 077); + do { + switch (jjstateSet[--i]) { + case 524: + if ((0x20000000200L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 264; + } else if ((0x1000000010L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 254; + } + break; + case 162: + if ((0x7fffffe07fffffeL & l) != 0L) { + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + } else if (curChar == 92) { + jjCheckNAddTwoStates(111, 121); + } + if ((0x80000000800L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 161; + } + break; + case 29: + if ((0x7fffffe87fffffeL & l) != 0L) { + jjCheckNAddStates(0, 3); + } else if (curChar == 92) { + jjCheckNAddTwoStates(227, 228); + } + if ((0x7fffffe87fffffeL & l) != 0L) { + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + } else if (curChar == 92) { + jjCheckNAddTwoStates(239, 240); + } + if ((0x20000000200L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 28; + } + break; + case 171: + if ((0x7fffffe87fffffeL & l) != 0L) { + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + } else if (curChar == 92) { + jjCheckNAddTwoStates(111, 112); + } + break; + case 525: + if ((0x7fffffe87fffffeL & l) != 0L) { + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + } else if (curChar == 92) { + jjCheckNAddTwoStates(111, 112); + } + break; + case 38: + if ((0x7fffffe07fffffeL & l) != 0L) { + jjCheckNAddStates(0, 3); + } + if ((0x7fffffe07fffffeL & l) != 0L) { + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + } + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 37; + } + break; + case 173: + if ((0x7fffffe87fffffeL & l) != 0L) { + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + } else if (curChar == 92) { + jjCheckNAddTwoStates(111, 112); + } + if ((0x8000000080000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 211; + } else if ((0x800000008000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 172; + } + break; + case 24: + if ((0x7fffffe07fffffeL & l) != 0L) { + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(817, 822); + } else if (curChar == 92) { + jjCheckNAddStates(823, 826); + } else if (curChar == 64) { + jjAddStates(827, 831); + } + if ((0x20000000200000L & l) != 0L) { + jjAddStates(832, 834); + } else if ((0x800000008L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 151; + } else if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 141; + } else if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 133; + } else if ((0x4000000040L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 29; + } else if (curChar == 64) { + jjAddStates(835, 838); + } + break; + case 172: + if ((0x7fffffe87fffffeL & l) != 0L) { + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + } else if (curChar == 92) { + jjCheckNAddTwoStates(111, 112); + } + if ((0x400000004000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 171; + } + break; + case 170: + if ((0x7fffffe87fffffeL & l) != 0L) { + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + } else if (curChar == 92) { + jjCheckNAddTwoStates(111, 112); + } + if ((0x80000000800L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 169; + } + break; + case 174: + if ((0x7fffffe07fffffeL & l) != 0L) { + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + } + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 212; + } else if ((0x80000000800000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 200; + } else if ((0x800000008000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 184; + } + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 173; + } + break; + case 75: + if ((0x7fffffe07fffffeL & l) != 0L) { + if (kind > 76) { + kind = 76; + } + jjCheckNAddTwoStates(77, 78); + } else if (curChar == 92) { + jjCheckNAddTwoStates(79, 89); + } + break; + case 522: + if ((0x7fffffe87fffffeL & l) != 0L) { + jjCheckNAddStates(0, 3); + } else if (curChar == 92) { + jjCheckNAddTwoStates(227, 228); + } + if ((0x7fffffe87fffffeL & l) != 0L) { + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + } else if (curChar == 92) { + jjCheckNAddTwoStates(239, 240); + } + break; + case 1: + if (curChar == 123) { + jjstateSet[jjnewStateCnt++] = 2; + } + break; + case 4: + if ((0x7fffffe07fffffeL & l) != 0L) { + jjCheckNAddStates(138, 140); + } + break; + case 5: + if ((0x7fffffe87fffffeL & l) != 0L) { + jjCheckNAddStates(138, 140); + } + break; + case 6: + if (curChar == 125 && kind > 39) { + kind = 39; + } + break; + case 7: + if (curChar == 92) { + jjCheckNAddTwoStates(8, 9); + } + break; + case 8: + if ((0x7fffffffffffffffL & l) != 0L) { + jjCheckNAddStates(138, 140); + } + break; + case 9: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(141, 145); + } + break; + case 11: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(146, 153); + } + break; + case 12: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(154, 157); + } + break; + case 13: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(158, 162); + } + break; + case 14: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(163, 168); + } + break; + case 15: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(169, 175); + } + break; + case 17: + if (curChar == 92) { + jjCheckNAddTwoStates(8, 18); + } + break; + case 18: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(176, 180); + } + break; + case 19: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(181, 188); + } + break; + case 20: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(189, 192); + } + break; + case 21: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(193, 197); + } + break; + case 22: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(198, 203); + } + break; + case 23: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(204, 210); + } + break; + case 25: + if ((0x4000000040000L & l) != 0L && kind > 68) { + kind = 68; + } + break; + case 26: + case 31: + if ((0x2000000020L & l) != 0L) { + jjCheckNAdd(25); + } + break; + case 27: + if ((0x10000000100000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 26; + } + break; + case 28: + if ((0x100000001000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 27; + } + break; + case 30: + if ((0x4000000040L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 29; + } + break; + case 32: + if ((0x10000000100000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 31; + } + break; + case 33: + if ((0x100000001000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 32; + } + break; + case 34: + if ((0x20000000200L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 33; + } + break; + case 35: + if ((0x4000000040L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 34; + } + break; + case 37: + if ((0x8000000080000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 36; + } + break; + case 41: + case 46: + if ((0x7fffffffffffffffL & l) != 0L) { + jjCheckNAddStates(130, 133); + } + break; + case 43: + if (curChar == 92) { + jjAddStates(839, 842); + } + break; + case 45: + if (curChar == 92) { + jjAddStates(843, 844); + } + break; + case 47: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(211, 216); + } + break; + case 49: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(217, 225); + } + break; + case 50: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(226, 230); + } + break; + case 51: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(231, 236); + } + break; + case 52: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(237, 243); + } + break; + case 53: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(244, 251); + } + break; + case 58: + case 63: + if ((0x7fffffffffffffffL & l) != 0L) { + jjCheckNAddStates(126, 129); + } + break; + case 60: + if (curChar == 92) { + jjAddStates(845, 848); + } + break; + case 62: + if (curChar == 92) { + jjAddStates(849, 850); + } + break; + case 64: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(252, 257); + } + break; + case 66: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(258, 266); + } + break; + case 67: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(267, 271); + } + break; + case 68: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(272, 277); + } + break; + case 69: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(278, 284); + } + break; + case 70: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(285, 292); + } + break; + case 76: + if ((0x7fffffe07fffffeL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddTwoStates(77, 78); + break; + case 77: + if ((0x7fffffe87fffffeL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddTwoStates(77, 78); + break; + case 78: + if (curChar == 92) { + jjCheckNAddTwoStates(79, 80); + } + break; + case 79: + if ((0x7fffffffffffffffL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddTwoStates(77, 78); + break; + case 80: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(293, 296); + break; + case 82: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(297, 303); + break; + case 83: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(304, 306); + break; + case 84: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(307, 310); + break; + case 85: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(311, 315); + break; + case 86: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(316, 321); + break; + case 88: + if (curChar == 92) { + jjCheckNAddTwoStates(79, 89); + } + break; + case 89: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(322, 325); + break; + case 90: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(326, 332); + break; + case 91: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(333, 335); + break; + case 92: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(336, 339); + break; + case 93: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(340, 344); + break; + case 94: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddStates(345, 350); + break; + case 96: + if ((0x7fffffe87fffffeL & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddTwoStates(96, 97); + break; + case 97: + if (curChar == 92) { + jjAddStates(851, 852); + } + break; + case 98: + if ((0x7fffffffffffffffL & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddTwoStates(96, 97); + break; + case 99: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(351, 354); + break; + case 101: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(355, 361); + break; + case 102: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(362, 364); + break; + case 103: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(365, 368); + break; + case 104: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(369, 373); + break; + case 105: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddStates(374, 379); + break; + case 106: + if (curChar == 64) { + jjAddStates(835, 838); + } + break; + case 108: + if ((0x7fffffe07fffffeL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 109: + if ((0x7fffffe87fffffeL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 110: + if (curChar == 92) { + jjCheckNAddTwoStates(111, 112); + } + break; + case 111: + if ((0x7fffffffffffffffL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 112: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(380, 383); + break; + case 114: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(384, 390); + break; + case 115: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(391, 393); + break; + case 116: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(394, 397); + break; + case 117: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(398, 402); + break; + case 118: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(403, 408); + break; + case 120: + if (curChar == 92) { + jjCheckNAddTwoStates(111, 121); + } + break; + case 121: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(409, 412); + break; + case 122: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(413, 419); + break; + case 123: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(420, 422); + break; + case 124: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(423, 426); + break; + case 125: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(427, 431); + break; + case 126: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddStates(432, 437); + break; + case 127: + if ((0x2000000020L & l) != 0L) { + jjAddStates(438, 439); + } + break; + case 130: + if ((0x40000000400000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 127; + } + break; + case 131: + if ((0x800000008000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 130; + } + break; + case 132: + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 131; + } + break; + case 133: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 132; + } + break; + case 134: + if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 133; + } + break; + case 135: + if ((0x1000000010L & l) != 0L) { + jjAddStates(440, 441); + } + break; + case 138: + if ((0x400000004000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 135; + } + break; + case 139: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 138; + } + break; + case 140: + if ((0x1000000010000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 139; + } + break; + case 141: + if ((0x1000000010000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 140; + } + break; + case 142: + if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 141; + } + break; + case 143: + if ((0x8000000080000L & l) != 0L) { + jjAddStates(442, 443); + } + break; + case 146: + if ((0x400000004000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 143; + } + break; + case 147: + if ((0x20000000200L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 146; + } + break; + case 148: + if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 147; + } + break; + case 149: + if ((0x10000000100000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 148; + } + break; + case 150: + if ((0x400000004000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 149; + } + break; + case 151: + if ((0x800000008000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 150; + } + break; + case 152: + if ((0x800000008L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 151; + } + break; + case 153: + if (curChar == 64) { + jjAddStates(827, 831); + } + break; + case 154: + if ((0x8000000080000L & l) != 0L && kind > 102) { + kind = 102; + } + break; + case 155: + case 163: + case 176: + case 187: + case 203: + if ((0x2000000020L & l) != 0L) { + jjCheckNAdd(154); + } + break; + case 156: + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 155; + } + break; + case 157: + if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 156; + } + break; + case 158: + if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 157; + } + break; + case 159: + if ((0x4000000040L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 158; + } + break; + case 160: + if ((0x200000002000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 159; + } + break; + case 161: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 160; + } + break; + case 164: + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 163; + } + break; + case 165: + if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 164; + } + break; + case 166: + if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 165; + } + break; + case 167: + if ((0x4000000040L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 166; + } + break; + case 168: + if ((0x200000002000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 167; + } + break; + case 169: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 168; + } + break; + case 177: + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 176; + } + break; + case 178: + if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 177; + } + break; + case 179: + if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 178; + } + break; + case 180: + if ((0x4000000040L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 179; + } + break; + case 181: + if ((0x200000002000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 180; + } + break; + case 182: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 181; + } + break; + case 183: + if ((0x80000000800L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 182; + } + break; + case 185: + if ((0x800000008000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 184; + } + break; + case 188: + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 187; + } + break; + case 189: + if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 188; + } + break; + case 190: + if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 189; + } + break; + case 191: + if ((0x4000000040L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 190; + } + break; + case 192: + if ((0x200000002000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 191; + } + break; + case 193: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 192; + } + break; + case 194: + if ((0x80000000800L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 193; + } + break; + case 196: + if ((0x10000000100000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 195; + } + break; + case 197: + if ((0x20000000200L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 196; + } + break; + case 198: + if ((0x80000000800L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 197; + } + break; + case 199: + if ((0x400000004L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 198; + } + break; + case 200: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 199; + } + break; + case 201: + if ((0x80000000800000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 200; + } + break; + case 204: + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 203; + } + break; + case 205: + if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 204; + } + break; + case 206: + if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 205; + } + break; + case 207: + if ((0x4000000040L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 206; + } + break; + case 208: + if ((0x200000002000000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 207; + } + break; + case 209: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 208; + } + break; + case 210: + if ((0x80000000800L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 209; + } + break; + case 212: + if ((0x8000000080000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 211; + } + break; + case 213: + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 212; + } + break; + case 217: + if (kind > 2) { + kind = 2; + } + jjAddStates(9, 11); + break; + case 222: + if (kind > 3) { + kind = 3; + } + break; + case 225: + if ((0x7fffffe87fffffeL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + break; + case 226: + if (curChar == 92) { + jjCheckNAddTwoStates(227, 228); + } + break; + case 227: + if ((0x7fffffffffffffffL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + break; + case 228: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(444, 447); + break; + case 230: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(448, 454); + break; + case 231: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(455, 457); + break; + case 232: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(458, 461); + break; + case 233: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(462, 466); + break; + case 234: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(467, 472); + break; + case 235: + if ((0x7fffffe87fffffeL & l) != 0L) { + jjCheckNAddStates(0, 3); + } + break; + case 238: + if (curChar == 92) { + jjCheckNAddTwoStates(239, 240); + } + break; + case 239: + if ((0x7fffffffffffffffL & l) != 0L) { + jjCheckNAddStates(0, 3); + } + break; + case 240: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(473, 477); + } + break; + case 242: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(478, 485); + } + break; + case 243: + case 457: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(486, 489); + } + break; + case 244: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(490, 494); + } + break; + case 245: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(495, 500); + } + break; + case 246: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(501, 507); + } + break; + case 249: + if ((0x10000000100000L & l) != 0L && kind > 70) { + kind = 70; + } + break; + case 250: + if ((0x100000001000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 249; + } + break; + case 251: + if ((0x20000000200000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 250; + } + break; + case 252: + if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 251; + } + break; + case 253: + if ((0x4000000040L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 252; + } + break; + case 254: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 253; + } + break; + case 255: + if ((0x1000000010L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 254; + } + break; + case 257: + if ((0x10000000100000L & l) != 0L && kind > 104) { + kind = 104; + } + break; + case 258: + if ((0x400000004000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 257; + } + break; + case 259: + if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 258; + } + break; + case 260: + if ((0x10000000100000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 259; + } + break; + case 261: + if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 260; + } + break; + case 262: + if ((0x800000008000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 261; + } + break; + case 263: + if ((0x1000000010000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 262; + } + break; + case 264: + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 263; + } + break; + case 265: + if ((0x20000000200L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 264; + } + break; + case 267: + if ((0x7fffffe07fffffeL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + break; + case 268: + if ((0x7fffffe07fffffeL & l) != 0L) { + jjCheckNAddStates(0, 3); + } + break; + case 269: + if ((0x7fffffe07fffffeL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(817, 822); + break; + case 275: + if ((0x10000000100000L & l) != 0L && kind > 78) { + kind = 78; + } + break; + case 276: + if ((0x1000000010000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 275; + } + break; + case 278: + if ((0x200000002000L & l) != 0L && kind > 79) { + kind = 79; + } + break; + case 279: + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 278; + } + break; + case 281: + if ((0x200000002000L & l) != 0L && kind > 80) { + kind = 80; + } + break; + case 282: + if ((0x800000008L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 281; + } + break; + case 284: + if ((0x800000008L & l) != 0L && kind > 81) { + kind = 81; + } + break; + case 285: + if ((0x1000000010000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 284; + } + break; + case 287: + if ((0x400000004000L & l) != 0L && kind > 82) { + kind = 82; + } + break; + case 288: + if ((0x20000000200L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 287; + } + break; + case 290: + if ((0x100000001000000L & l) != 0L && kind > 83) { + kind = 83; + } + break; + case 291: + if ((0x1000000010000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 290; + } + break; + case 293: + if ((0x200000002000L & l) != 0L && kind > 84) { + kind = 84; + } + break; + case 294: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 293; + } + break; + case 296: + if ((0x200000002000L & l) != 0L && kind > 85) { + kind = 85; + } + break; + case 297: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 296; + } + break; + case 298: + if ((0x100000001000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 297; + } + break; + case 300: + if ((0x200000002000L & l) != 0L && kind > 86) { + kind = 86; + } + break; + case 301: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 300; + } + break; + case 302: + if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 301; + } + break; + case 304: + if ((0x100000001000000L & l) != 0L && kind > 87) { + kind = 87; + } + break; + case 305: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 304; + } + break; + case 307: + if ((0x8000000080L & l) != 0L && kind > 88) { + kind = 88; + } + break; + case 308: + if ((0x2000000020L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 307; + } + break; + case 309: + if ((0x1000000010L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 308; + } + break; + case 311: + if ((0x1000000010L & l) != 0L && kind > 89) { + kind = 89; + } + break; + case 312: + if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 311; + } + break; + case 313: + if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 312; + } + break; + case 315: + if ((0x1000000010L & l) != 0L && kind > 90) { + kind = 90; + } + break; + case 316: + if ((0x200000002L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 315; + } + break; + case 317: + if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 316; + } + break; + case 318: + if ((0x8000000080L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 317; + } + break; + case 320: + if ((0x8000000080000L & l) != 0L && kind > 91) { + kind = 91; + } + break; + case 321: + if ((0x200000002000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 320; + } + break; + case 323: + if ((0x8000000080000L & l) != 0L && kind > 92) { + kind = 92; + } + break; + case 325: + if ((0x400000004000000L & l) != 0L && kind > 93) { + kind = 93; + } + break; + case 326: + if ((0x10000000100L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 325; + } + break; + case 328: + if ((0x400000004000000L & l) != 0L && kind > 94) { + kind = 94; + } + break; + case 329: + if ((0x10000000100L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 328; + } + break; + case 330: + if ((0x80000000800L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 329; + } + break; + case 333: + if ((0x7fffffe07fffffeL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddTwoStates(334, 335); + break; + case 334: + if ((0x7fffffe87fffffeL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddTwoStates(334, 335); + break; + case 335: + if (curChar == 92) { + jjCheckNAddTwoStates(336, 337); + } + break; + case 336: + if ((0x7fffffffffffffffL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddTwoStates(334, 335); + break; + case 337: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(508, 511); + break; + case 339: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(512, 518); + break; + case 340: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(519, 521); + break; + case 341: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(522, 525); + break; + case 342: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(526, 530); + break; + case 343: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(531, 536); + break; + case 345: + if (curChar == 92) { + jjCheckNAddTwoStates(336, 346); + } + break; + case 346: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(537, 540); + break; + case 347: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(541, 547); + break; + case 348: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(548, 550); + break; + case 349: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(551, 554); + break; + case 350: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(555, 559); + break; + case 351: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddStates(560, 565); + break; + case 352: + if ((0x20000000200000L & l) != 0L) { + jjAddStates(832, 834); + } + break; + case 354: + case 358: + if ((0x7fffffffffffffffL & l) != 0L) { + jjCheckNAddStates(572, 575); + } + break; + case 357: + if (curChar == 92) { + jjAddStates(853, 854); + } + break; + case 359: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(576, 580); + } + break; + case 361: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(581, 588); + } + break; + case 362: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(589, 592); + } + break; + case 363: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(593, 597); + } + break; + case 364: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(598, 603); + } + break; + case 365: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(604, 610); + } + break; + case 367: + case 372: + if ((0x7fffffffffffffffL & l) != 0L) { + jjCheckNAddStates(611, 614); + } + break; + case 369: + if (curChar == 92) { + jjAddStates(855, 858); + } + break; + case 371: + if (curChar == 92) { + jjAddStates(859, 860); + } + break; + case 373: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(615, 620); + } + break; + case 375: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(621, 629); + } + break; + case 376: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(630, 634); + } + break; + case 377: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(635, 640); + } + break; + case 378: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(641, 647); + } + break; + case 379: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(648, 655); + } + break; + case 384: + case 389: + if ((0x7fffffffffffffffL & l) != 0L) { + jjCheckNAddStates(656, 659); + } + break; + case 386: + if (curChar == 92) { + jjAddStates(861, 864); + } + break; + case 388: + if (curChar == 92) { + jjAddStates(865, 866); + } + break; + case 390: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(660, 665); + } + break; + case 392: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(666, 674); + } + break; + case 393: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(675, 679); + } + break; + case 394: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(680, 685); + } + break; + case 395: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(686, 692); + } + break; + case 396: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(693, 700); + } + break; + case 401: + if ((0x100000001000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 353; + } + break; + case 402: + if ((0x4000000040000L & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 401; + } + break; + case 410: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjAddStates(717, 722); + break; + case 411: + if ((0x7e0000007eL & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 412; + } + break; + case 412: + if ((0x7e0000007eL & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 413; + } + break; + case 413: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAdd(414); + } + break; + case 414: + if ((0x7e0000007eL & l) != 0L && kind > 114) { + kind = 114; + } + break; + case 415: + if ((0x7e0000007eL & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 416; + } + break; + case 416: + if ((0x7e0000007eL & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 417; + } + break; + case 417: + if ((0x7e0000007eL & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 418; + } + break; + case 418: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjstateSet[jjnewStateCnt++] = 406; + break; + case 419: + if ((0x7e0000007eL & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 420; + } + break; + case 420: + if ((0x7e0000007eL & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 421; + } + break; + case 421: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjstateSet[jjnewStateCnt++] = 422; + break; + case 423: + if ((0x7e0000007eL & l) != 0L) { + jjstateSet[jjnewStateCnt++] = 424; + } + break; + case 424: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjstateSet[jjnewStateCnt++] = 425; + break; + case 427: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjstateSet[jjnewStateCnt++] = 428; + break; + case 436: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddTwoStates(437, 443); + } + break; + case 438: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjstateSet[jjnewStateCnt++] = 439; + break; + case 439: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddStates(733, 736); + break; + case 440: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAdd(414); + break; + case 441: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddTwoStates(414, 440); + break; + case 442: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 114) { + kind = 114; + } + jjCheckNAddStates(737, 739); + break; + case 443: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(740, 744); + } + break; + case 444: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAdd(437); + } + break; + case 445: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddTwoStates(444, 437); + } + break; + case 446: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(745, 747); + } + break; + case 447: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(748, 751); + } + break; + case 448: + if (curChar == 92) { + jjCheckNAddStates(823, 826); + } + break; + case 449: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(752, 755); + break; + case 450: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(756, 762); + break; + case 451: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(763, 765); + break; + case 452: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(766, 769); + break; + case 453: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(770, 774); + break; + case 454: + if ((0x7e0000007eL & l) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddStates(775, 780); + break; + case 455: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(781, 785); + } + break; + case 456: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(786, 793); + } + break; + case 458: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(794, 798); + } + break; + case 459: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(799, 804); + } + break; + case 460: + if ((0x7e0000007eL & l) != 0L) { + jjCheckNAddStates(805, 811); + } + break; + default: + break; + } + } while (i != startsAt); + } else { + int i2 = (curChar & 0xff) >> 6; + long l2 = 1L << (curChar & 077); + do { + switch (jjstateSet[--i]) { + case 162: + case 111: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 29: + if ((jjbitVec0[i2] & l2) != 0L) { + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + } + if ((jjbitVec0[i2] & l2) != 0L) { + jjCheckNAddStates(0, 3); + } + break; + case 171: + case 109: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 525: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 173: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 24: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 40) { + kind = 40; + } + jjCheckNAddStates(817, 822); + break; + case 172: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 170: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 103) { + kind = 103; + } + jjCheckNAddTwoStates(109, 110); + break; + case 75: + case 77: + case 79: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 76) { + kind = 76; + } + jjCheckNAddTwoStates(77, 78); + break; + case 522: + if ((jjbitVec0[i2] & l2) != 0L) { + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + } + if ((jjbitVec0[i2] & l2) != 0L) { + jjCheckNAddStates(0, 3); + } + break; + case 5: + case 8: + case 16: + if ((jjbitVec0[i2] & l2) != 0L) { + jjCheckNAddStates(138, 140); + } + break; + case 41: + case 46: + if ((jjbitVec0[i2] & l2) != 0L) { + jjCheckNAddStates(130, 133); + } + break; + case 58: + case 63: + if ((jjbitVec0[i2] & l2) != 0L) { + jjCheckNAddStates(126, 129); + } + break; + case 96: + case 98: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 96) { + kind = 96; + } + jjCheckNAddTwoStates(96, 97); + break; + case 217: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 2) { + kind = 2; + } + jjAddStates(9, 11); + break; + case 222: + if ((jjbitVec0[i2] & l2) != 0L && kind > 3) { + kind = 3; + } + break; + case 225: + case 227: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 72) { + kind = 72; + } + jjCheckNAddTwoStates(225, 226); + break; + case 235: + case 239: + if ((jjbitVec0[i2] & l2) != 0L) { + jjCheckNAddStates(0, 3); + } + break; + case 334: + case 336: + case 344: + if ((jjbitVec0[i2] & l2) == 0L) { + break; + } + if (kind > 95) { + kind = 95; + } + jjCheckNAddTwoStates(334, 335); + break; + case 354: + case 358: + if ((jjbitVec0[i2] & l2) != 0L) { + jjCheckNAddStates(572, 575); + } + break; + case 367: + case 372: + if ((jjbitVec0[i2] & l2) != 0L) { + jjCheckNAddStates(611, 614); + } + break; + case 384: + case 389: + if ((jjbitVec0[i2] & l2) != 0L) { + jjCheckNAddStates(656, 659); + } + break; + default: + break; + } + } while (i != startsAt); + } + if (kind != 0x7fffffff) { + jjmatchedKind = kind; + jjmatchedPos = curPos; + kind = 0x7fffffff; + } + ++curPos; + if ((i = jjnewStateCnt) == (startsAt = 522 - (jjnewStateCnt = startsAt))) { + return curPos; + } + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + return curPos; + } } - break; - default : - break; - } - return jjStartNfa_0(5, active0, active1); -} -private int jjMoveStringLiteralDfa7_0(long old0, long active0, long old1, long active1) -{ - if (((active0 &= old0) | (active1 &= old1)) == 0L) { - return jjStartNfa_0(5, old0, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(6, active0, active1); - return 7; - } - switch(curChar) - { - case 65: - case 97: - return jjMoveStringLiteralDfa8_0(active0, 0L, active1, 0x2000000000L); - case 69: - case 101: - if ((active0 & 0x40000000000000L) != 0L) { - return jjStartNfaWithStates_0(7, 54, 525); + } + + private int jjMoveStringLiteralDfa0_2() { + switch (curChar) { + case 42: + return jjMoveStringLiteralDfa1_2(0x40L); + default: + return 1; } - break; - case 79: - case 111: - return jjMoveStringLiteralDfa8_0(active0, 0x80000000000000L, active1, 0x2L); - case 84: - case 116: - if ((active1 & 0x8L) != 0L) { - return jjStartNfaWithStates_0(7, 67, 525); - } else if ((active1 & 0x800000000L) != 0L) { - return jjStartNfaWithStates_0(7, 99, 525); + } + + private int jjMoveStringLiteralDfa1_2(long active0) { + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + return 1; } - return jjMoveStringLiteralDfa8_0(active0, 0L, active1, 0x4L); - default : - break; - } - return jjStartNfa_0(6, active0, active1); -} -private int jjMoveStringLiteralDfa8_0(long old0, long active0, long old1, long active1) -{ - if (((active0 &= old0) | (active1 &= old1)) == 0L) { - return jjStartNfa_0(6, old0, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(7, active0, active1); - return 8; - } - switch(curChar) - { - case 67: - case 99: - return jjMoveStringLiteralDfa9_0(active0, 0L, active1, 0x2000000002L); - case 78: - case 110: - if ((active0 & 0x80000000000000L) != 0L) { - return jjStartNfaWithStates_0(8, 55, 525); + switch (curChar) { + case 47: + if ((active0 & 0x40L) != 0L) { + return jjStopAtPos(1, 6); + } + break; + default: + return 2; } - break; - case 83: - case 115: - if ((active1 & 0x4L) != 0L) { - return jjStartNfaWithStates_0(8, 66, 525); + return 2; + } + + private int jjMoveStringLiteralDfa0_1() { + switch (curChar) { + case 42: + return jjMoveStringLiteralDfa1_1(0x20L); + default: + return 1; } - break; - default : - break; - } - return jjStartNfa_0(7, active0, active1); -} -private int jjMoveStringLiteralDfa9_0(long old0, long active0, long old1, long active1) -{ - if (((active0 &= old0) | (active1 &= old1)) == 0L) { - return jjStartNfa_0(7, old0, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(8, 0L, active1); - return 9; - } - switch(curChar) - { - case 69: - case 101: - if ((active1 & 0x2000000000L) != 0L) { - return jjStartNfaWithStates_0(9, 101, 525); + } + + private int jjMoveStringLiteralDfa1_1(long active0) { + try { + curChar = input_stream.readChar(); + } catch (java.io.IOException e) { + return 1; } - break; - case 85: - case 117: - return jjMoveStringLiteralDfa10_0(active1, 0x2L); - default : - break; - } - return jjStartNfa_0(8, 0L, active1); -} -private int jjMoveStringLiteralDfa10_0(long old1, long active1) -{ - if (((active1 &= old1)) == 0L) { - return jjStartNfa_0(8, 0L, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(9, 0L, active1); - return 10; - } - switch(curChar) - { - case 77: - case 109: - return jjMoveStringLiteralDfa11_0(active1, 0x2L); - default : - break; - } - return jjStartNfa_0(9, 0L, active1); -} -private int jjMoveStringLiteralDfa11_0(long old1, long active1) -{ - if (((active1 &= old1)) == 0L) { - return jjStartNfa_0(9, 0L, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(10, 0L, active1); - return 11; - } - switch(curChar) - { - case 69: - case 101: - return jjMoveStringLiteralDfa12_0(active1, 0x2L); - default : - break; - } - return jjStartNfa_0(10, 0L, active1); -} -private int jjMoveStringLiteralDfa12_0(long old1, long active1) -{ - if (((active1 &= old1)) == 0L) { - return jjStartNfa_0(10, 0L, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(11, 0L, active1); - return 12; - } - switch(curChar) - { - case 78: - case 110: - return jjMoveStringLiteralDfa13_0(active1, 0x2L); - default : - break; - } - return jjStartNfa_0(11, 0L, active1); -} -private int jjMoveStringLiteralDfa13_0(long old1, long active1) -{ - if (((active1 &= old1)) == 0L) { - return jjStartNfa_0(11, 0L, old1); -} - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - jjStopStringLiteralDfa_0(12, 0L, active1); - return 13; - } - switch(curChar) - { - case 84: - case 116: - if ((active1 & 0x2L) != 0L) { - return jjStartNfaWithStates_0(13, 65, 525); + switch (curChar) { + case 47: + if ((active0 & 0x20L) != 0L) { + return jjStopAtPos(1, 5); + } + break; + default: + return 2; } - break; - default : - break; - } - return jjStartNfa_0(12, 0L, active1); -} -private int jjStartNfaWithStates_0(int pos, int kind, int state) -{ - jjmatchedKind = kind; - jjmatchedPos = pos; - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { return pos + 1; } - return jjMoveNfa_0(state, pos + 1); -} -static final long[] jjbitVec0 = { - 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL -}; -private int jjMoveNfa_0(int startState, int curPos) -{ - int startsAt = 0; - jjnewStateCnt = 522; - int i = 1; - jjstateSet[0] = startState; - int kind = 0x7fffffff; - for (;;) - { - if (++jjround == 0x7fffffff) { + return 2; + } + + static final int[] jjnextStates = { 235, 236, 237, 238, 331, 332, 333, 344, + 345, 217, 218, 220, 462, 463, 464, 465, 466, 467, 273, 468, 469, + 470, 276, 471, 472, 473, 279, 474, 475, 476, 282, 477, 478, 479, + 285, 480, 481, 482, 288, 483, 484, 485, 291, 486, 487, 488, 294, + 489, 490, 491, 298, 492, 493, 494, 302, 495, 496, 497, 305, 498, + 499, 500, 309, 501, 502, 503, 313, 504, 505, 506, 318, 507, 508, + 509, 321, 510, 511, 512, 323, 513, 514, 515, 326, 516, 517, 518, + 330, 519, 520, 521, 332, 333, 344, 345, 271, 272, 274, 277, 280, + 283, 286, 289, 292, 295, 299, 303, 306, 310, 314, 319, 322, 324, + 327, 331, 267, 268, 248, 255, 256, 265, 216, 223, 75, 76, 87, 88, + 58, 59, 60, 62, 41, 42, 43, 45, 3, 4, 16, 17, 5, 6, 7, 5, 10, 6, 7, + 11, 5, 12, 10, 6, 7, 13, 14, 15, 5, 10, 6, 7, 5, 12, 10, 6, 7, 5, + 12, 10, 6, 7, 13, 5, 12, 10, 6, 7, 13, 14, 10, 5, 6, 7, 19, 20, 10, + 5, 6, 7, 21, 22, 23, 10, 5, 6, 7, 20, 10, 5, 6, 7, 20, 10, 5, 6, 7, + 21, 20, 10, 5, 6, 7, 21, 22, 41, 48, 42, 43, 45, 49, 41, 50, 48, + 42, 43, 45, 51, 52, 53, 41, 48, 42, 43, 45, 41, 50, 48, 42, 43, 45, + 41, 50, 48, 42, 43, 45, 51, 41, 50, 48, 42, 43, 45, 51, 52, 58, 65, + 59, 60, 62, 66, 58, 67, 65, 59, 60, 62, 68, 69, 70, 58, 65, 59, 60, + 62, 58, 67, 65, 59, 60, 62, 58, 67, 65, 59, 60, 62, 68, 58, 67, 65, + 59, 60, 62, 68, 69, 77, 81, 78, 82, 77, 83, 81, 78, 84, 85, 86, 77, + 81, 78, 77, 83, 81, 78, 77, 83, 81, 78, 84, 77, 83, 81, 78, 84, 85, + 81, 77, 78, 90, 91, 81, 77, 78, 92, 93, 94, 81, 77, 78, 91, 81, 77, + 78, 91, 81, 77, 78, 92, 91, 81, 77, 78, 92, 93, 96, 100, 97, 101, + 96, 102, 100, 97, 103, 104, 105, 96, 100, 97, 96, 102, 100, 97, 96, + 102, 100, 97, 103, 96, 102, 100, 97, 103, 104, 109, 113, 110, 114, + 109, 115, 113, 110, 116, 117, 118, 109, 113, 110, 109, 115, 113, + 110, 109, 115, 113, 110, 116, 109, 115, 113, 110, 116, 117, 113, + 109, 110, 122, 123, 113, 109, 110, 124, 125, 126, 113, 109, 110, + 123, 113, 109, 110, 123, 113, 109, 110, 124, 123, 113, 109, 110, + 124, 125, 128, 129, 136, 137, 144, 145, 225, 229, 226, 230, 225, + 231, 229, 226, 232, 233, 234, 225, 229, 226, 225, 231, 229, 226, + 225, 231, 229, 226, 232, 225, 231, 229, 226, 232, 233, 235, 237, + 238, 241, 242, 235, 243, 237, 238, 241, 244, 245, 246, 235, 237, + 238, 241, 235, 243, 237, 238, 241, 235, 243, 237, 238, 241, 244, + 235, 243, 237, 238, 241, 244, 245, 334, 338, 335, 339, 334, 340, + 338, 335, 341, 342, 343, 334, 338, 335, 334, 340, 338, 335, 334, + 340, 338, 335, 341, 334, 340, 338, 335, 341, 342, 338, 334, 335, + 347, 348, 338, 334, 335, 349, 350, 351, 338, 334, 335, 348, 338, + 334, 335, 348, 338, 334, 335, 349, 348, 338, 334, 335, 349, 350, + 354, 366, 383, 356, 357, 400, 354, 355, 356, 357, 354, 356, 357, + 360, 361, 354, 362, 356, 357, 360, 363, 364, 365, 354, 356, 357, + 360, 354, 362, 356, 357, 360, 354, 362, 356, 357, 360, 363, 354, + 362, 356, 357, 360, 363, 364, 367, 368, 369, 371, 367, 374, 368, + 369, 371, 375, 367, 376, 374, 368, 369, 371, 377, 378, 379, 367, + 374, 368, 369, 371, 367, 376, 374, 368, 369, 371, 367, 376, 374, + 368, 369, 371, 377, 367, 376, 374, 368, 369, 371, 377, 378, 384, + 385, 386, 388, 384, 391, 385, 386, 388, 392, 384, 393, 391, 385, + 386, 388, 394, 395, 396, 384, 391, 385, 386, 388, 384, 393, 391, + 385, 386, 388, 384, 393, 391, 385, 386, 388, 394, 384, 393, 391, + 385, 386, 388, 394, 395, 354, 366, 383, 355, 356, 357, 400, 404, + 410, 406, 407, 408, 409, 406, 407, 408, 411, 415, 419, 423, 427, + 431, 406, 429, 430, 406, 432, 433, 434, 406, 432, 433, 414, 440, + 441, 442, 414, 440, 441, 444, 437, 445, 446, 447, 444, 437, 445, + 444, 437, 445, 446, 229, 225, 226, 450, 451, 229, 225, 226, 452, + 453, 454, 229, 225, 226, 451, 229, 225, 226, 451, 229, 225, 226, + 452, 451, 229, 225, 226, 452, 453, 235, 237, 238, 241, 456, 457, + 235, 237, 238, 241, 458, 459, 460, 457, 235, 237, 238, 241, 457, + 235, 237, 238, 241, 458, 457, 235, 237, 238, 241, 458, 459, 519, + 332, 333, 344, 345, 225, 235, 236, 237, 238, 226, 227, 449, 239, + 455, 162, 175, 186, 202, 214, 402, 403, 435, 107, 108, 119, 120, + 44, 54, 56, 55, 46, 47, 61, 71, 73, 72, 63, 64, 98, 99, 358, 359, + 370, 380, 382, 381, 372, 373, 387, 397, 399, 398, 389, 390, }; + + /** Token literal values. */ + public static final String[] jjstrLiteralImages = { "", null, null, null, + null, null, null, null, "\74\41\55\55", "\55\55\76", "\173", + "\175", "\174\75", "\136\75", "\44\75", "\52\75", "\176\75", "\75", + "\53", "\55", "\54", "\73", "\76", "\176", "\74", "\57", "\133", + "\135", "\52", "\45", "\46", "\56", "\50", "\51", "\75\75", + "\174\174", "\46\46", "\41\75", "\72", null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, }; + + /** Lexer state names. */ + public static final String[] lexStateNames = { "DEFAULT", + "IN_FORMAL_COMMENT", "IN_MULTI_LINE_COMMENT", }; + + /** Lex State array. */ + public static final int[] jjnewLexState = { -1, -1, -1, 1, 2, 0, 0, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, }; + static final long[] jjtoToken = { 0xfffe01ffffffff03L, 0xfc01fffffffbffL, }; + static final long[] jjtoSkip = { 0x64L, 0x0L, }; + static final long[] jjtoSpecial = { 0x24L, 0x0L, }; + static final long[] jjtoMore = { 0x98L, 0x0L, }; + protected CharStream input_stream; + private final int[] jjrounds = new int[522]; + private final int[] jjstateSet = new int[1044]; + private final StringBuilder jjimage = new StringBuilder(); + private StringBuilder image = jjimage; + private int jjimageLen; + private int lengthOfMatch; + protected char curChar; + + /** Constructor. */ + public ParserTokenManager(CharStream stream) { + input_stream = stream; + } + + /** Constructor. */ + public ParserTokenManager(CharStream stream, int lexState) { + this(stream); + SwitchTo(lexState); + } + + /** Reinitialise parser. */ + public void ReInit(CharStream stream) { + jjmatchedPos = jjnewStateCnt = 0; + curLexState = defaultLexState; + input_stream = stream; ReInitRounds(); } - if (curChar < 64) - { - long l = 1L << curChar; - do - { - switch(jjstateSet[--i]) - { - case 524: - if ((0x100003600L & l) != 0L) { - jjCheckNAddTwoStates(256, 265); - } - if ((0x100003600L & l) != 0L) { - jjCheckNAddTwoStates(248, 255); - } - break; - case 162: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 108; - } - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 213; - } - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 201; - } - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 185; - } - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 174; - } - break; - case 29: - if ((0x3ff200000000000L & l) != 0L) { - jjCheckNAddStates(0, 3); - } else if ((0x100003600L & l) != 0L) { - jjCheckNAddTwoStates(236, 237); - } else if (curChar == 40) - { - if (kind > 118) { - kind = 118; - } - } - if ((0x3ff200000000000L & l) != 0L) - { - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - } - break; - case 171: - if ((0x3ff200000000000L & l) != 0L) - { - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - } - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 170; - } - break; - case 523: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(4, 8); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(327, 330); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(324, 326); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(322, 323); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(319, 321); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(314, 318); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(310, 313); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(306, 309); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(303, 305); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(299, 302); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(295, 298); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(292, 294); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(289, 291); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(286, 288); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(283, 285); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(280, 282); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(277, 279); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(274, 276); - } - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(272, 273); - } - if ((0x3ff000000000000L & l) != 0L) - { - if (kind > 73) { - kind = 73; + + private void ReInitRounds() { + int i; + jjround = 0x80000001; + for (i = 522; i-- > 0;) { + jjrounds[i] = 0x80000000; + } + } + + /** Reinitialise parser. */ + public void ReInit(CharStream stream, int lexState) { + ReInit(stream); + SwitchTo(lexState); + } + + /** Switch to specified lex state. */ + public void SwitchTo(int lexState) { + if (lexState >= 3 || lexState < 0) { + throw new TokenMgrError("Error: Ignoring invalid lexical state : " + + lexState + ". State unchanged.", + TokenMgrError.INVALID_LEXICAL_STATE); + } else { + curLexState = lexState; + } + } + + protected Token jjFillToken() { + final Token t; + final String curTokenImage; + final int beginLine; + final int endLine; + final int beginColumn; + final int endColumn; + String im = jjstrLiteralImages[jjmatchedKind]; + curTokenImage = (im == null) ? input_stream.GetImage() : im; + beginLine = input_stream.getBeginLine(); + beginColumn = input_stream.getBeginColumn(); + endLine = input_stream.getEndLine(); + endColumn = input_stream.getEndColumn(); + t = Token.newToken(jjmatchedKind, curTokenImage); + + t.beginLine = beginLine; + t.endLine = endLine; + t.beginColumn = beginColumn; + t.endColumn = endColumn; + + return t; + } + + int curLexState = 0; + int defaultLexState = 0; + int jjnewStateCnt; + int jjround; + int jjmatchedPos; + int jjmatchedKind; + + /** Get the next Token. */ + public Token getNextToken() { + Token specialToken = null; + Token matchedToken; + int curPos = 0; + + EOFLoop: for (;;) { + try { + curChar = input_stream.BeginToken(); + } catch (java.io.IOException e) { + jjmatchedKind = 0; + matchedToken = jjFillToken(); + matchedToken.specialToken = specialToken; + return matchedToken; + } + image = jjimage; + image.setLength(0); + jjimageLen = 0; + + for (;;) { + switch (curLexState) { + case 0: + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_0(); + if (jjmatchedPos == 0 && jjmatchedKind > 119) { + jjmatchedKind = 119; } - jjCheckNAdd(271); - } - break; - case 525: - case 109: - if ((0x3ff200000000000L & l) == 0L) { break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 216: - if (curChar == 42) { - jjstateSet[jjnewStateCnt++] = 221; - } else if (curChar == 47) - { - if (kind > 2) { - kind = 2; + case 1: + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_1(); + if (jjmatchedPos == 0 && jjmatchedKind > 7) { + jjmatchedKind = 7; } - jjCheckNAddStates(9, 11); - } - break; - case 173: - if ((0x3ff200000000000L & l) == 0L) { break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 24: - if ((0x3ff000000000000L & l) != 0L) - { - if (kind > 73) { - kind = 73; + case 2: + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_2(); + if (jjmatchedPos == 0 && jjmatchedKind > 7) { + jjmatchedKind = 7; } - jjCheckNAddStates(12, 93); - } - else if ((0x100003600L & l) != 0L) - { - if (kind > 1) { - kind = 1; - } - jjCheckNAdd(0); - } - else if (curChar == 46) { - jjCheckNAddStates(94, 113); - } else if (curChar == 45) { - jjAddStates(114, 115); - } else if (curChar == 33) { - jjCheckNAddStates(116, 119); - } else if (curChar == 47) { - jjAddStates(120, 121); - } else if (curChar == 35) { - jjCheckNAddTwoStates(96, 97); - } else if (curChar == 36) { - jjCheckNAddStates(122, 125); - } else if (curChar == 39) { - jjCheckNAddStates(126, 129); - } else if (curChar == 34) { - jjCheckNAddStates(130, 133); - } - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 38; - } else if (curChar == 35) { - jjstateSet[jjnewStateCnt++] = 1; - } - break; - case 172: - if ((0x3ff200000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 170: - if ((0x3ff200000000000L & l) == 0L) { break; } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 75: - if (curChar == 45) { - jjCheckNAdd(76); - } - break; - case 522: - if ((0x3ff200000000000L & l) != 0L) { - jjCheckNAddStates(0, 3); - } else if ((0x100003600L & l) != 0L) { - jjCheckNAddTwoStates(236, 237); - } else if (curChar == 40) - { - if (kind > 118) { - kind = 118; + if (jjmatchedKind != 0x7fffffff) { + if (jjmatchedPos + 1 < curPos) { + input_stream.backup(curPos - jjmatchedPos - 1); } - } - if ((0x3ff200000000000L & l) != 0L) - { - if (kind > 72) { - kind = 72; + if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { + matchedToken = jjFillToken(); + matchedToken.specialToken = specialToken; + TokenLexicalActions(matchedToken); + if (jjnewLexState[jjmatchedKind] != -1) { + curLexState = jjnewLexState[jjmatchedKind]; + } + return matchedToken; + } else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { + if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { + matchedToken = jjFillToken(); + if (specialToken == null) { + specialToken = matchedToken; + } else { + matchedToken.specialToken = specialToken; + specialToken = (specialToken.next = matchedToken); + } + SkipLexicalActions(matchedToken); + } else { + SkipLexicalActions(null); + } + if (jjnewLexState[jjmatchedKind] != -1) { + curLexState = jjnewLexState[jjmatchedKind]; + } + continue EOFLoop; } - jjCheckNAddTwoStates(225, 226); - } - break; - case 0: - if ((0x100003600L & l) == 0L) { - break; - } - if (kind > 1) { - kind = 1; - } - jjCheckNAdd(0); - break; - case 2: - if (curChar == 36) { - jjCheckNAddStates(134, 137); - } - break; - case 3: - if (curChar == 45) { - jjCheckNAdd(4); - } - break; - case 5: - if ((0x3ff200000000000L & l) != 0L) { - jjCheckNAddStates(138, 140); - } - break; - case 8: - if ((0xffffffff00000000L & l) != 0L) { - jjCheckNAddStates(138, 140); - } - break; - case 9: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(141, 145); - } - break; - case 10: - if ((0x100003600L & l) != 0L) { - jjCheckNAddStates(138, 140); - } - break; - case 11: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(146, 153); - } - break; - case 12: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(154, 157); - } - break; - case 13: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(158, 162); - } - break; - case 14: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(163, 168); - } - break; - case 15: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(169, 175); - } - break; - case 18: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(176, 180); - } - break; - case 19: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(181, 188); - } - break; - case 20: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(189, 192); - } - break; - case 21: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(193, 197); - } - break; - case 22: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(198, 203); - } - break; - case 23: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(204, 210); - } - break; - case 36: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 35; - } - break; - case 39: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 38; - } - break; - case 40: - if (curChar == 34) { - jjCheckNAddStates(130, 133); - } - break; - case 41: - if ((0xfffffffb00000200L & l) != 0L) { - jjCheckNAddStates(130, 133); - } - break; - case 42: - if (curChar == 34 && kind > 71) { - kind = 71; - } - break; - case 44: - if (curChar == 12) { - jjCheckNAddStates(130, 133); - } - break; - case 46: - if ((0xffffffff00000000L & l) != 0L) { - jjCheckNAddStates(130, 133); - } - break; - case 47: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(211, 216); - } - break; - case 48: - if ((0x100003600L & l) != 0L) { - jjCheckNAddStates(130, 133); - } - break; - case 49: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(217, 225); - } - break; - case 50: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(226, 230); - } - break; - case 51: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(231, 236); - } - break; - case 52: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(237, 243); - } - break; - case 53: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(244, 251); - } - break; - case 54: - if (curChar == 13) { - jjCheckNAddStates(130, 133); - } - break; - case 55: - if (curChar == 10) { - jjCheckNAddStates(130, 133); - } - break; - case 56: - if (curChar == 13) { - jjstateSet[jjnewStateCnt++] = 55; - } - break; - case 57: - if (curChar == 39) { - jjCheckNAddStates(126, 129); - } - break; - case 58: - if ((0xffffff7f00000200L & l) != 0L) { - jjCheckNAddStates(126, 129); - } - break; - case 59: - if (curChar == 39 && kind > 71) { - kind = 71; - } - break; - case 61: - if (curChar == 12) { - jjCheckNAddStates(126, 129); - } - break; - case 63: - if ((0xffffffff00000000L & l) != 0L) { - jjCheckNAddStates(126, 129); - } - break; - case 64: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(252, 257); - } - break; - case 65: - if ((0x100003600L & l) != 0L) { - jjCheckNAddStates(126, 129); - } - break; - case 66: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(258, 266); - } - break; - case 67: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(267, 271); - } - break; - case 68: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(272, 277); - } - break; - case 69: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(278, 284); - } - break; - case 70: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(285, 292); - } - break; - case 71: - if (curChar == 13) { - jjCheckNAddStates(126, 129); - } - break; - case 72: - if (curChar == 10) { - jjCheckNAddStates(126, 129); - } - break; - case 73: - if (curChar == 13) { - jjstateSet[jjnewStateCnt++] = 72; - } - break; - case 74: - if (curChar == 36) { - jjCheckNAddStates(122, 125); - } - break; - case 77: - if ((0x3ff200000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddTwoStates(77, 78); - break; - case 79: - if ((0xffffffff00000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddTwoStates(77, 78); - break; - case 80: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(293, 296); - break; - case 81: - if ((0x100003600L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddTwoStates(77, 78); - break; - case 82: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(297, 303); - break; - case 83: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(304, 306); - break; - case 84: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(307, 310); - break; - case 85: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(311, 315); - break; - case 86: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(316, 321); - break; - case 89: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(322, 325); - break; - case 90: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(326, 332); - break; - case 91: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(333, 335); - break; - case 92: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(336, 339); - break; - case 93: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(340, 344); - break; - case 94: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(345, 350); - break; - case 95: - if (curChar == 35) { - jjCheckNAddTwoStates(96, 97); - } - break; - case 96: - if ((0x3ff200000000000L & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddTwoStates(96, 97); - break; - case 98: - if ((0xffffffff00000000L & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddTwoStates(96, 97); - break; - case 99: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(351, 354); - break; - case 100: - if ((0x100003600L & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddTwoStates(96, 97); - break; - case 101: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(355, 361); - break; - case 102: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(362, 364); - break; - case 103: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(365, 368); - break; - case 104: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(369, 373); - break; - case 105: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(374, 379); - break; - case 107: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 108; - } - break; - case 111: - if ((0xffffffff00000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 112: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(380, 383); - break; - case 113: - if ((0x100003600L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 114: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(384, 390); - break; - case 115: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(391, 393); - break; - case 116: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(394, 397); - break; - case 117: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(398, 402); - break; - case 118: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(403, 408); - break; - case 121: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(409, 412); - break; - case 122: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(413, 419); - break; - case 123: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(420, 422); - break; - case 124: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(423, 426); - break; - case 125: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(427, 431); - break; - case 126: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(432, 437); - break; - case 128: - if ((0x100003600L & l) != 0L) { - jjAddStates(438, 439); - } - break; - case 129: - if (curChar == 40 && kind > 115) { - kind = 115; - } - break; - case 136: - if ((0x100003600L & l) != 0L) { - jjAddStates(440, 441); - } - break; - case 137: - if (curChar == 40 && kind > 116) { - kind = 116; - } - break; - case 144: - if ((0x100003600L & l) != 0L) { - jjAddStates(442, 443); - } - break; - case 145: - if (curChar == 40 && kind > 117) { - kind = 117; - } - break; - case 175: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 174; - } - break; - case 184: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 183; - } - break; - case 186: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 185; - } - break; - case 195: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 194; - } - break; - case 202: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 201; - } - break; - case 211: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 210; - } - break; - case 214: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 213; - } - break; - case 215: - if (curChar == 47) { - jjAddStates(120, 121); - } - break; - case 217: - if ((0xffffffffffffdbffL & l) == 0L) { - break; - } - if (kind > 2) { - kind = 2; - } - jjCheckNAddStates(9, 11); - break; - case 218: - if ((0x2400L & l) != 0L && kind > 2) { - kind = 2; - } - break; - case 219: - if (curChar == 10 && kind > 2) { - kind = 2; - } - break; - case 220: - if (curChar == 13) { - jjstateSet[jjnewStateCnt++] = 219; - } - break; - case 221: - if (curChar == 42) { - jjstateSet[jjnewStateCnt++] = 222; - } - break; - case 222: - if ((0xffff7fffffffffffL & l) != 0L && kind > 3) { - kind = 3; - } - break; - case 223: - if (curChar == 42) { - jjstateSet[jjnewStateCnt++] = 221; - } - break; - case 225: - if ((0x3ff200000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - break; - case 227: - if ((0xffffffff00000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - break; - case 228: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(444, 447); - break; - case 229: - if ((0x100003600L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - break; - case 230: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(448, 454); - break; - case 231: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(455, 457); - break; - case 232: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(458, 461); - break; - case 233: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(462, 466); - break; - case 234: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(467, 472); - break; - case 235: - if ((0x3ff200000000000L & l) != 0L) { - jjCheckNAddStates(0, 3); - } - break; - case 236: - if ((0x100003600L & l) != 0L) { - jjCheckNAddTwoStates(236, 237); - } - break; - case 237: - if (curChar == 40 && kind > 118) { - kind = 118; - } - break; - case 239: - if ((0xffffffff00000000L & l) != 0L) { - jjCheckNAddStates(0, 3); - } - break; - case 240: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(473, 477); - } - break; - case 241: - if ((0x100003600L & l) != 0L) { - jjCheckNAddStates(0, 3); - } - break; - case 242: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(478, 485); - } - break; - case 243: - case 457: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(486, 489); - } - break; - case 244: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(490, 494); - } - break; - case 245: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(495, 500); - } - break; - case 246: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(501, 507); - } - break; - case 247: - if (curChar == 33) { - jjCheckNAddStates(116, 119); - } - break; - case 248: - if ((0x100003600L & l) != 0L) { - jjCheckNAddTwoStates(248, 255); - } - break; - case 256: - if ((0x100003600L & l) != 0L) { - jjCheckNAddTwoStates(256, 265); - } - break; - case 266: - if (curChar == 45) { - jjAddStates(114, 115); - } - break; - case 270: - if (curChar == 46) { - jjCheckNAddStates(94, 113); - } - break; - case 271: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 73) { - kind = 73; - } - jjCheckNAdd(271); - break; - case 272: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(272, 273); - } - break; - case 273: - if (curChar == 37 && kind > 77) { - kind = 77; - } - break; - case 274: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(274, 276); - } - break; - case 277: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(277, 279); - } - break; - case 280: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(280, 282); - } - break; - case 283: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(283, 285); - } - break; - case 286: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(286, 288); - } - break; - case 289: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(289, 291); - } - break; - case 292: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(292, 294); - } - break; - case 295: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(295, 298); - } - break; - case 299: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(299, 302); - } - break; - case 303: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(303, 305); - } - break; - case 306: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(306, 309); - } - break; - case 310: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(310, 313); - } - break; - case 314: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(314, 318); - } - break; - case 319: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(319, 321); - } - break; - case 322: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(322, 323); - } - break; - case 324: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(324, 326); - } - break; - case 327: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(327, 330); - } - break; - case 331: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(4, 8); - } - break; - case 332: - if (curChar == 45) { - jjCheckNAdd(333); - } - break; - case 334: - if ((0x3ff200000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddTwoStates(334, 335); - break; - case 336: - if ((0xffffffff00000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddTwoStates(334, 335); - break; - case 337: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(508, 511); - break; - case 338: - if ((0x100003600L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddTwoStates(334, 335); - break; - case 339: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(512, 518); - break; - case 340: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(519, 521); - break; - case 341: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(522, 525); - break; - case 342: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(526, 530); - break; - case 343: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(531, 536); - break; - case 346: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(537, 540); - break; - case 347: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(541, 547); - break; - case 348: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(548, 550); - break; - case 349: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(551, 554); - break; - case 350: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(555, 559); - break; - case 351: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(560, 565); - break; - case 353: - if (curChar == 40) { - jjCheckNAddStates(566, 571); - } - break; - case 354: - if ((0xfffffc7a00000000L & l) != 0L) { - jjCheckNAddStates(572, 575); - } - break; - case 355: - if ((0x100003600L & l) != 0L) { - jjCheckNAddTwoStates(355, 356); - } - break; - case 356: - if (curChar == 41 && kind > 75) { - kind = 75; - } - break; - case 358: - if ((0xffffffff00000000L & l) != 0L) { - jjCheckNAddStates(572, 575); - } - break; - case 359: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(576, 580); - } - break; - case 360: - if ((0x100003600L & l) != 0L) { - jjCheckNAddStates(572, 575); - } - break; - case 361: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(581, 588); - } - break; - case 362: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(589, 592); - } - break; - case 363: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(593, 597); - } - break; - case 364: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(598, 603); - } - break; - case 365: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(604, 610); - } - break; - case 366: - if (curChar == 39) { - jjCheckNAddStates(611, 614); - } - break; - case 367: - if ((0xffffff7f00000200L & l) != 0L) { - jjCheckNAddStates(611, 614); - } - break; - case 368: - if (curChar == 39) { - jjCheckNAddTwoStates(355, 356); - } - break; - case 370: - if (curChar == 12) { - jjCheckNAddStates(611, 614); - } - break; - case 372: - if ((0xffffffff00000000L & l) != 0L) { - jjCheckNAddStates(611, 614); - } - break; - case 373: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(615, 620); - } - break; - case 374: - if ((0x100003600L & l) != 0L) { - jjCheckNAddStates(611, 614); - } - break; - case 375: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(621, 629); - } - break; - case 376: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(630, 634); - } - break; - case 377: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(635, 640); - } - break; - case 378: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(641, 647); - } - break; - case 379: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(648, 655); - } - break; - case 380: - if (curChar == 13) { - jjCheckNAddStates(611, 614); - } - break; - case 381: - if (curChar == 10) { - jjCheckNAddStates(611, 614); - } - break; - case 382: - if (curChar == 13) { - jjstateSet[jjnewStateCnt++] = 381; - } - break; - case 383: - if (curChar == 34) { - jjCheckNAddStates(656, 659); - } - break; - case 384: - if ((0xfffffffb00000200L & l) != 0L) { - jjCheckNAddStates(656, 659); - } - break; - case 385: - if (curChar == 34) { - jjCheckNAddTwoStates(355, 356); - } - break; - case 387: - if (curChar == 12) { - jjCheckNAddStates(656, 659); - } - break; - case 389: - if ((0xffffffff00000000L & l) != 0L) { - jjCheckNAddStates(656, 659); - } - break; - case 390: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(660, 665); - } - break; - case 391: - if ((0x100003600L & l) != 0L) { - jjCheckNAddStates(656, 659); - } - break; - case 392: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(666, 674); - } - break; - case 393: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(675, 679); - } - break; - case 394: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(680, 685); - } - break; - case 395: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(686, 692); - } - break; - case 396: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(693, 700); - } - break; - case 397: - if (curChar == 13) { - jjCheckNAddStates(656, 659); - } - break; - case 398: - if (curChar == 10) { - jjCheckNAddStates(656, 659); - } - break; - case 399: - if (curChar == 13) { - jjstateSet[jjnewStateCnt++] = 398; - } - break; - case 400: - if ((0x100003600L & l) != 0L) { - jjCheckNAddStates(701, 707); - } - break; - case 403: - if (curChar == 43) { - jjAddStates(708, 709); - } - break; - case 404: - if (curChar != 63) { - break; - } - if (kind > 114) { - kind = 114; - } - jjstateSet[jjnewStateCnt++] = 405; - break; - case 405: - if (curChar != 63) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddStates(710, 713); - break; - case 406: - if (curChar == 63 && kind > 114) { - kind = 114; - } - break; - case 407: - case 422: - case 426: - case 429: - case 432: - if (curChar != 63) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAdd(406); - break; - case 408: - if (curChar != 63) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddTwoStates(406, 407); - break; - case 409: - if (curChar != 63) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddStates(714, 716); - break; - case 410: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjAddStates(717, 722); - break; - case 411: - if ((0x3ff000000000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 412; - } - break; - case 412: - if ((0x3ff000000000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 413; - } - break; - case 413: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAdd(414); - } - break; - case 414: - if ((0x3ff000000000000L & l) != 0L && kind > 114) { - kind = 114; - } - break; - case 415: - if ((0x3ff000000000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 416; - } - break; - case 416: - if ((0x3ff000000000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 417; - } - break; - case 417: - if ((0x3ff000000000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 418; - } - break; - case 418: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAdd(406); - break; - case 419: - if ((0x3ff000000000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 420; - } - break; - case 420: - if ((0x3ff000000000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 421; - } - break; - case 421: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjstateSet[jjnewStateCnt++] = 422; - break; - case 423: - if ((0x3ff000000000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 424; - } - break; - case 424: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjstateSet[jjnewStateCnt++] = 425; - break; - case 425: - if (curChar != 63) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddTwoStates(406, 426); - break; - case 427: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjstateSet[jjnewStateCnt++] = 428; - break; - case 428: - if (curChar != 63) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddStates(723, 725); - break; - case 430: - if (curChar != 63) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddTwoStates(406, 429); - break; - case 431: - if (curChar != 63) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddStates(726, 729); - break; - case 433: - if (curChar != 63) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddTwoStates(406, 432); - break; - case 434: - if (curChar != 63) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddStates(730, 732); - break; - case 435: - if (curChar == 43) { - jjstateSet[jjnewStateCnt++] = 436; - } - break; - case 436: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(437, 443); - } - break; - case 437: - if (curChar == 45) { - jjstateSet[jjnewStateCnt++] = 438; - } - break; - case 438: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjstateSet[jjnewStateCnt++] = 439; - break; - case 439: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddStates(733, 736); - break; - case 440: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAdd(414); - break; - case 441: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddTwoStates(414, 440); - break; - case 442: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddStates(737, 739); - break; - case 443: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(740, 744); - } - break; - case 444: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAdd(437); - } - break; - case 445: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(444, 437); - } - break; - case 446: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(745, 747); - } - break; - case 447: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(748, 751); - } - break; - case 449: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(752, 755); - break; - case 450: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(756, 762); - break; - case 451: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(763, 765); - break; - case 452: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(766, 769); - break; - case 453: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(770, 774); - break; - case 454: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(775, 780); - break; - case 455: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(781, 785); - } - break; - case 456: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(786, 793); - } - break; - case 458: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(794, 798); - } - break; - case 459: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(799, 804); - } - break; - case 460: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(805, 811); - } - break; - case 461: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 73) { - kind = 73; - } - jjCheckNAddStates(12, 93); - break; - case 462: - if ((0x3ff000000000000L & l) == 0L) { - break; - } - if (kind > 73) { - kind = 73; - } - jjCheckNAdd(462); - break; - case 463: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(463, 464); - } - break; - case 464: - if (curChar == 46) { - jjCheckNAdd(271); - } - break; - case 465: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(465, 273); - } - break; - case 466: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(466, 467); - } - break; - case 467: - if (curChar == 46) { - jjCheckNAdd(272); - } - break; - case 468: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(468, 276); - } - break; - case 469: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(469, 470); - } - break; - case 470: - if (curChar == 46) { - jjCheckNAdd(274); - } - break; - case 471: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(471, 279); - } - break; - case 472: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(472, 473); - } - break; - case 473: - if (curChar == 46) { - jjCheckNAdd(277); - } - break; - case 474: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(474, 282); - } - break; - case 475: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(475, 476); - } - break; - case 476: - if (curChar == 46) { - jjCheckNAdd(280); - } - break; - case 477: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(477, 285); - } - break; - case 478: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(478, 479); - } - break; - case 479: - if (curChar == 46) { - jjCheckNAdd(283); - } - break; - case 480: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(480, 288); - } - break; - case 481: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(481, 482); - } - break; - case 482: - if (curChar == 46) { - jjCheckNAdd(286); - } - break; - case 483: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(483, 291); - } - break; - case 484: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(484, 485); - } - break; - case 485: - if (curChar == 46) { - jjCheckNAdd(289); - } - break; - case 486: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(486, 294); - } - break; - case 487: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(487, 488); - } - break; - case 488: - if (curChar == 46) { - jjCheckNAdd(292); - } - break; - case 489: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(489, 298); - } - break; - case 490: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(490, 491); - } - break; - case 491: - if (curChar == 46) { - jjCheckNAdd(295); - } - break; - case 492: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(492, 302); - } - break; - case 493: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(493, 494); - } - break; - case 494: - if (curChar == 46) { - jjCheckNAdd(299); - } - break; - case 495: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(495, 305); - } - break; - case 496: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(496, 497); - } - break; - case 497: - if (curChar == 46) { - jjCheckNAdd(303); - } - break; - case 498: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(498, 309); - } - break; - case 499: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(499, 500); - } - break; - case 500: - if (curChar == 46) { - jjCheckNAdd(306); - } - break; - case 501: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(501, 313); - } - break; - case 502: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(502, 503); - } - break; - case 503: - if (curChar == 46) { - jjCheckNAdd(310); - } - break; - case 504: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(504, 318); - } - break; - case 505: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(505, 506); - } - break; - case 506: - if (curChar == 46) { - jjCheckNAdd(314); - } - break; - case 507: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(507, 321); - } - break; - case 508: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(508, 509); - } - break; - case 509: - if (curChar == 46) { - jjCheckNAdd(319); - } - break; - case 510: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(510, 323); - } - break; - case 511: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(511, 512); - } - break; - case 512: - if (curChar == 46) { - jjCheckNAdd(322); - } - break; - case 513: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(513, 326); - } - break; - case 514: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(514, 515); - } - break; - case 515: - if (curChar == 46) { - jjCheckNAdd(324); - } - break; - case 516: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(516, 330); - } - break; - case 517: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(517, 518); - } - break; - case 518: - if (curChar == 46) { - jjCheckNAdd(327); - } - break; - case 519: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddStates(812, 816); - } - break; - case 520: - if ((0x3ff000000000000L & l) != 0L) { - jjCheckNAddTwoStates(520, 521); - } - break; - case 521: - if (curChar == 46) { - jjCheckNAdd(331); - } - break; - default : break; - } - } while(i != startsAt); - } - else if (curChar < 128) - { - long l = 1L << (curChar & 077); - do - { - switch(jjstateSet[--i]) - { - case 524: - if ((0x20000000200L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 264; - } else if ((0x1000000010L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 254; - } - break; - case 162: - if ((0x7fffffe07fffffeL & l) != 0L) - { - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - } - else if (curChar == 92) { - jjCheckNAddTwoStates(111, 121); - } - if ((0x80000000800L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 161; - } - break; - case 29: - if ((0x7fffffe87fffffeL & l) != 0L) { - jjCheckNAddStates(0, 3); - } else if (curChar == 92) { - jjCheckNAddTwoStates(227, 228); - } - if ((0x7fffffe87fffffeL & l) != 0L) - { - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - } - else if (curChar == 92) { - jjCheckNAddTwoStates(239, 240); - } - if ((0x20000000200L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 28; - } - break; - case 171: - if ((0x7fffffe87fffffeL & l) != 0L) - { - if (kind > 103) { - kind = 103; + MoreLexicalActions(); + if (jjnewLexState[jjmatchedKind] != -1) { + curLexState = jjnewLexState[jjmatchedKind]; } - jjCheckNAddTwoStates(109, 110); - } - else if (curChar == 92) { - jjCheckNAddTwoStates(111, 112); - } - break; - case 525: - if ((0x7fffffe87fffffeL & l) != 0L) - { - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - } - else if (curChar == 92) { - jjCheckNAddTwoStates(111, 112); - } - break; - case 38: - if ((0x7fffffe07fffffeL & l) != 0L) { - jjCheckNAddStates(0, 3); - } - if ((0x7fffffe07fffffeL & l) != 0L) - { - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - } - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 37; - } - break; - case 173: - if ((0x7fffffe87fffffeL & l) != 0L) - { - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - } - else if (curChar == 92) { - jjCheckNAddTwoStates(111, 112); - } - if ((0x8000000080000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 211; - } else if ((0x800000008000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 172; - } - break; - case 24: - if ((0x7fffffe07fffffeL & l) != 0L) - { - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(817, 822); - } - else if (curChar == 92) { - jjCheckNAddStates(823, 826); - } else if (curChar == 64) { - jjAddStates(827, 831); - } - if ((0x20000000200000L & l) != 0L) { - jjAddStates(832, 834); - } else if ((0x800000008L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 151; - } else if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 141; - } else if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 133; - } else if ((0x4000000040L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 29; - } else if (curChar == 64) { - jjAddStates(835, 838); - } - break; - case 172: - if ((0x7fffffe87fffffeL & l) != 0L) - { - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - } - else if (curChar == 92) { - jjCheckNAddTwoStates(111, 112); - } - if ((0x400000004000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 171; - } - break; - case 170: - if ((0x7fffffe87fffffeL & l) != 0L) - { - if (kind > 103) { - kind = 103; + curPos = 0; + jjmatchedKind = 0x7fffffff; + try { + curChar = input_stream.readChar(); + continue; + } catch (java.io.IOException e1) { } - jjCheckNAddTwoStates(109, 110); - } - else if (curChar == 92) { - jjCheckNAddTwoStates(111, 112); - } - if ((0x80000000800L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 169; - } - break; - case 174: - if ((0x7fffffe07fffffeL & l) != 0L) - { - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - } - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 212; - } else if ((0x80000000800000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 200; - } else if ((0x800000008000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 184; - } - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 173; - } - break; - case 75: - if ((0x7fffffe07fffffeL & l) != 0L) - { - if (kind > 76) { - kind = 76; - } - jjCheckNAddTwoStates(77, 78); - } - else if (curChar == 92) { - jjCheckNAddTwoStates(79, 89); - } - break; - case 522: - if ((0x7fffffe87fffffeL & l) != 0L) { - jjCheckNAddStates(0, 3); - } else if (curChar == 92) { - jjCheckNAddTwoStates(227, 228); } - if ((0x7fffffe87fffffeL & l) != 0L) - { - if (kind > 72) { - kind = 72; + int error_line = input_stream.getEndLine(); + int error_column = input_stream.getEndColumn(); + String error_after = null; + boolean EOFSeen = false; + try { + input_stream.readChar(); + input_stream.backup(1); + } catch (java.io.IOException e1) { + EOFSeen = true; + error_after = curPos <= 1 ? "" : input_stream.GetImage(); + if (curChar == '\n' || curChar == '\r') { + error_line++; + error_column = 0; + } else { + error_column++; } - jjCheckNAddTwoStates(225, 226); - } - else if (curChar == 92) { - jjCheckNAddTwoStates(239, 240); - } - break; - case 1: - if (curChar == 123) { - jjstateSet[jjnewStateCnt++] = 2; - } - break; - case 4: - if ((0x7fffffe07fffffeL & l) != 0L) { - jjCheckNAddStates(138, 140); - } - break; - case 5: - if ((0x7fffffe87fffffeL & l) != 0L) { - jjCheckNAddStates(138, 140); - } - break; - case 6: - if (curChar == 125 && kind > 39) { - kind = 39; - } - break; - case 7: - if (curChar == 92) { - jjCheckNAddTwoStates(8, 9); - } - break; - case 8: - if ((0x7fffffffffffffffL & l) != 0L) { - jjCheckNAddStates(138, 140); - } - break; - case 9: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(141, 145); - } - break; - case 11: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(146, 153); - } - break; - case 12: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(154, 157); - } - break; - case 13: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(158, 162); - } - break; - case 14: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(163, 168); - } - break; - case 15: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(169, 175); - } - break; - case 17: - if (curChar == 92) { - jjCheckNAddTwoStates(8, 18); - } - break; - case 18: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(176, 180); - } - break; - case 19: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(181, 188); - } - break; - case 20: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(189, 192); - } - break; - case 21: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(193, 197); - } - break; - case 22: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(198, 203); - } - break; - case 23: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(204, 210); - } - break; - case 25: - if ((0x4000000040000L & l) != 0L && kind > 68) { - kind = 68; - } - break; - case 26: - case 31: - if ((0x2000000020L & l) != 0L) { - jjCheckNAdd(25); } - break; - case 27: - if ((0x10000000100000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 26; - } - break; - case 28: - if ((0x100000001000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 27; - } - break; - case 30: - if ((0x4000000040L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 29; - } - break; - case 32: - if ((0x10000000100000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 31; - } - break; - case 33: - if ((0x100000001000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 32; - } - break; - case 34: - if ((0x20000000200L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 33; - } - break; - case 35: - if ((0x4000000040L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 34; - } - break; - case 37: - if ((0x8000000080000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 36; - } - break; - case 41: - case 46: - if ((0x7fffffffffffffffL & l) != 0L) { - jjCheckNAddStates(130, 133); - } - break; - case 43: - if (curChar == 92) { - jjAddStates(839, 842); - } - break; - case 45: - if (curChar == 92) { - jjAddStates(843, 844); - } - break; - case 47: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(211, 216); - } - break; - case 49: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(217, 225); - } - break; - case 50: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(226, 230); - } - break; - case 51: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(231, 236); - } - break; - case 52: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(237, 243); - } - break; - case 53: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(244, 251); - } - break; - case 58: - case 63: - if ((0x7fffffffffffffffL & l) != 0L) { - jjCheckNAddStates(126, 129); - } - break; - case 60: - if (curChar == 92) { - jjAddStates(845, 848); - } - break; - case 62: - if (curChar == 92) { - jjAddStates(849, 850); - } - break; - case 64: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(252, 257); - } - break; - case 66: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(258, 266); - } - break; - case 67: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(267, 271); - } - break; - case 68: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(272, 277); - } - break; - case 69: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(278, 284); - } - break; - case 70: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(285, 292); - } - break; - case 76: - if ((0x7fffffe07fffffeL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddTwoStates(77, 78); - break; - case 77: - if ((0x7fffffe87fffffeL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddTwoStates(77, 78); - break; - case 78: - if (curChar == 92) { - jjCheckNAddTwoStates(79, 80); - } - break; - case 79: - if ((0x7fffffffffffffffL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddTwoStates(77, 78); - break; - case 80: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(293, 296); - break; - case 82: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(297, 303); - break; - case 83: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(304, 306); - break; - case 84: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(307, 310); - break; - case 85: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(311, 315); - break; - case 86: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(316, 321); - break; - case 88: - if (curChar == 92) { - jjCheckNAddTwoStates(79, 89); - } - break; - case 89: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(322, 325); - break; - case 90: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(326, 332); - break; - case 91: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(333, 335); - break; - case 92: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(336, 339); - break; - case 93: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(340, 344); - break; - case 94: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddStates(345, 350); - break; - case 96: - if ((0x7fffffe87fffffeL & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddTwoStates(96, 97); - break; - case 97: - if (curChar == 92) { - jjAddStates(851, 852); - } - break; - case 98: - if ((0x7fffffffffffffffL & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddTwoStates(96, 97); - break; - case 99: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(351, 354); - break; - case 101: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(355, 361); - break; - case 102: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(362, 364); - break; - case 103: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(365, 368); - break; - case 104: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(369, 373); - break; - case 105: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddStates(374, 379); - break; - case 106: - if (curChar == 64) { - jjAddStates(835, 838); - } - break; - case 108: - if ((0x7fffffe07fffffeL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 109: - if ((0x7fffffe87fffffeL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 110: - if (curChar == 92) { - jjCheckNAddTwoStates(111, 112); - } - break; - case 111: - if ((0x7fffffffffffffffL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 112: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(380, 383); - break; - case 114: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(384, 390); - break; - case 115: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(391, 393); - break; - case 116: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(394, 397); - break; - case 117: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(398, 402); - break; - case 118: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(403, 408); - break; - case 120: - if (curChar == 92) { - jjCheckNAddTwoStates(111, 121); - } - break; - case 121: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(409, 412); - break; - case 122: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(413, 419); - break; - case 123: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(420, 422); - break; - case 124: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(423, 426); - break; - case 125: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(427, 431); - break; - case 126: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddStates(432, 437); - break; - case 127: - if ((0x2000000020L & l) != 0L) { - jjAddStates(438, 439); - } - break; - case 130: - if ((0x40000000400000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 127; - } - break; - case 131: - if ((0x800000008000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 130; - } - break; - case 132: - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 131; - } - break; - case 133: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 132; - } - break; - case 134: - if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 133; - } - break; - case 135: - if ((0x1000000010L & l) != 0L) { - jjAddStates(440, 441); - } - break; - case 138: - if ((0x400000004000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 135; - } - break; - case 139: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 138; - } - break; - case 140: - if ((0x1000000010000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 139; - } - break; - case 141: - if ((0x1000000010000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 140; - } - break; - case 142: - if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 141; - } - break; - case 143: - if ((0x8000000080000L & l) != 0L) { - jjAddStates(442, 443); - } - break; - case 146: - if ((0x400000004000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 143; - } - break; - case 147: - if ((0x20000000200L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 146; - } - break; - case 148: - if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 147; - } - break; - case 149: - if ((0x10000000100000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 148; - } - break; - case 150: - if ((0x400000004000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 149; - } - break; - case 151: - if ((0x800000008000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 150; - } - break; - case 152: - if ((0x800000008L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 151; - } - break; - case 153: - if (curChar == 64) { - jjAddStates(827, 831); - } - break; - case 154: - if ((0x8000000080000L & l) != 0L && kind > 102) { - kind = 102; - } - break; - case 155: - case 163: - case 176: - case 187: - case 203: - if ((0x2000000020L & l) != 0L) { - jjCheckNAdd(154); - } - break; - case 156: - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 155; - } - break; - case 157: - if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 156; - } - break; - case 158: - if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 157; - } - break; - case 159: - if ((0x4000000040L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 158; - } - break; - case 160: - if ((0x200000002000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 159; - } - break; - case 161: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 160; - } - break; - case 164: - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 163; - } - break; - case 165: - if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 164; - } - break; - case 166: - if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 165; - } - break; - case 167: - if ((0x4000000040L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 166; - } - break; - case 168: - if ((0x200000002000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 167; - } - break; - case 169: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 168; - } - break; - case 177: - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 176; - } - break; - case 178: - if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 177; - } - break; - case 179: - if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 178; - } - break; - case 180: - if ((0x4000000040L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 179; - } - break; - case 181: - if ((0x200000002000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 180; - } - break; - case 182: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 181; - } - break; - case 183: - if ((0x80000000800L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 182; - } - break; - case 185: - if ((0x800000008000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 184; - } - break; - case 188: - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 187; - } - break; - case 189: - if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 188; - } - break; - case 190: - if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 189; - } - break; - case 191: - if ((0x4000000040L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 190; - } - break; - case 192: - if ((0x200000002000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 191; - } - break; - case 193: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 192; - } - break; - case 194: - if ((0x80000000800L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 193; - } - break; - case 196: - if ((0x10000000100000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 195; - } - break; - case 197: - if ((0x20000000200L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 196; - } - break; - case 198: - if ((0x80000000800L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 197; - } - break; - case 199: - if ((0x400000004L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 198; - } - break; - case 200: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 199; - } - break; - case 201: - if ((0x80000000800000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 200; - } - break; - case 204: - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 203; - } - break; - case 205: - if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 204; - } - break; - case 206: - if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 205; - } - break; - case 207: - if ((0x4000000040L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 206; - } - break; - case 208: - if ((0x200000002000000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 207; - } - break; - case 209: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 208; - } - break; - case 210: - if ((0x80000000800L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 209; - } - break; - case 212: - if ((0x8000000080000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 211; - } - break; - case 213: - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 212; - } - break; - case 217: - if (kind > 2) { - kind = 2; - } - jjAddStates(9, 11); - break; - case 222: - if (kind > 3) { - kind = 3; - } - break; - case 225: - if ((0x7fffffe87fffffeL & l) == 0L) { - break; + if (!EOFSeen) { + input_stream.backup(1); + error_after = curPos <= 1 ? "" : input_stream.GetImage(); } - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - break; - case 226: - if (curChar == 92) { - jjCheckNAddTwoStates(227, 228); - } - break; - case 227: - if ((0x7fffffffffffffffL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - break; - case 228: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(444, 447); - break; - case 230: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(448, 454); - break; - case 231: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(455, 457); - break; - case 232: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(458, 461); - break; - case 233: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(462, 466); - break; - case 234: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(467, 472); - break; - case 235: - if ((0x7fffffe87fffffeL & l) != 0L) { - jjCheckNAddStates(0, 3); - } - break; - case 238: - if (curChar == 92) { - jjCheckNAddTwoStates(239, 240); - } - break; - case 239: - if ((0x7fffffffffffffffL & l) != 0L) { - jjCheckNAddStates(0, 3); - } - break; - case 240: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(473, 477); - } - break; - case 242: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(478, 485); - } - break; - case 243: - case 457: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(486, 489); - } - break; - case 244: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(490, 494); - } - break; - case 245: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(495, 500); - } - break; - case 246: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(501, 507); - } - break; - case 249: - if ((0x10000000100000L & l) != 0L && kind > 70) { - kind = 70; - } - break; - case 250: - if ((0x100000001000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 249; - } - break; - case 251: - if ((0x20000000200000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 250; - } - break; - case 252: - if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 251; - } - break; - case 253: - if ((0x4000000040L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 252; - } - break; - case 254: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 253; - } - break; - case 255: - if ((0x1000000010L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 254; - } - break; - case 257: - if ((0x10000000100000L & l) != 0L && kind > 104) { - kind = 104; - } - break; - case 258: - if ((0x400000004000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 257; - } - break; - case 259: - if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 258; - } - break; - case 260: - if ((0x10000000100000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 259; - } - break; - case 261: - if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 260; - } - break; - case 262: - if ((0x800000008000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 261; - } - break; - case 263: - if ((0x1000000010000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 262; - } - break; - case 264: - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 263; - } - break; - case 265: - if ((0x20000000200L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 264; - } - break; - case 267: - if ((0x7fffffe07fffffeL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - break; - case 268: - if ((0x7fffffe07fffffeL & l) != 0L) { - jjCheckNAddStates(0, 3); - } - break; - case 269: - if ((0x7fffffe07fffffeL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(817, 822); - break; - case 275: - if ((0x10000000100000L & l) != 0L && kind > 78) { - kind = 78; - } - break; - case 276: - if ((0x1000000010000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 275; - } - break; - case 278: - if ((0x200000002000L & l) != 0L && kind > 79) { - kind = 79; - } - break; - case 279: - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 278; - } - break; - case 281: - if ((0x200000002000L & l) != 0L && kind > 80) { - kind = 80; - } - break; - case 282: - if ((0x800000008L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 281; - } - break; - case 284: - if ((0x800000008L & l) != 0L && kind > 81) { - kind = 81; - } - break; - case 285: - if ((0x1000000010000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 284; - } - break; - case 287: - if ((0x400000004000L & l) != 0L && kind > 82) { - kind = 82; - } - break; - case 288: - if ((0x20000000200L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 287; - } - break; - case 290: - if ((0x100000001000000L & l) != 0L && kind > 83) { - kind = 83; - } - break; - case 291: - if ((0x1000000010000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 290; - } - break; - case 293: - if ((0x200000002000L & l) != 0L && kind > 84) { - kind = 84; - } - break; - case 294: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 293; - } - break; - case 296: - if ((0x200000002000L & l) != 0L && kind > 85) { - kind = 85; - } - break; - case 297: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 296; - } - break; - case 298: - if ((0x100000001000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 297; - } - break; - case 300: - if ((0x200000002000L & l) != 0L && kind > 86) { - kind = 86; - } - break; - case 301: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 300; - } - break; - case 302: - if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 301; - } - break; - case 304: - if ((0x100000001000000L & l) != 0L && kind > 87) { - kind = 87; - } - break; - case 305: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 304; - } - break; - case 307: - if ((0x8000000080L & l) != 0L && kind > 88) { - kind = 88; - } - break; - case 308: - if ((0x2000000020L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 307; - } - break; - case 309: - if ((0x1000000010L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 308; - } - break; - case 311: - if ((0x1000000010L & l) != 0L && kind > 89) { - kind = 89; - } - break; - case 312: - if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 311; - } - break; - case 313: - if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 312; - } - break; - case 315: - if ((0x1000000010L & l) != 0L && kind > 90) { - kind = 90; - } - break; - case 316: - if ((0x200000002L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 315; - } - break; - case 317: - if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 316; - } - break; - case 318: - if ((0x8000000080L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 317; - } - break; - case 320: - if ((0x8000000080000L & l) != 0L && kind > 91) { - kind = 91; - } - break; - case 321: - if ((0x200000002000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 320; - } - break; - case 323: - if ((0x8000000080000L & l) != 0L && kind > 92) { - kind = 92; - } - break; - case 325: - if ((0x400000004000000L & l) != 0L && kind > 93) { - kind = 93; - } - break; - case 326: - if ((0x10000000100L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 325; - } - break; - case 328: - if ((0x400000004000000L & l) != 0L && kind > 94) { - kind = 94; - } - break; - case 329: - if ((0x10000000100L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 328; - } - break; - case 330: - if ((0x80000000800L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 329; - } - break; - case 333: - if ((0x7fffffe07fffffeL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddTwoStates(334, 335); - break; - case 334: - if ((0x7fffffe87fffffeL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddTwoStates(334, 335); - break; - case 335: - if (curChar == 92) { - jjCheckNAddTwoStates(336, 337); - } - break; - case 336: - if ((0x7fffffffffffffffL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddTwoStates(334, 335); - break; - case 337: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(508, 511); - break; - case 339: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(512, 518); - break; - case 340: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(519, 521); - break; - case 341: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(522, 525); - break; - case 342: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(526, 530); - break; - case 343: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(531, 536); - break; - case 345: - if (curChar == 92) { - jjCheckNAddTwoStates(336, 346); - } - break; - case 346: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(537, 540); - break; - case 347: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(541, 547); - break; - case 348: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(548, 550); - break; - case 349: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(551, 554); - break; - case 350: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(555, 559); - break; - case 351: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddStates(560, 565); - break; - case 352: - if ((0x20000000200000L & l) != 0L) { - jjAddStates(832, 834); - } - break; - case 354: - case 358: - if ((0x7fffffffffffffffL & l) != 0L) { - jjCheckNAddStates(572, 575); - } - break; - case 357: - if (curChar == 92) { - jjAddStates(853, 854); - } - break; - case 359: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(576, 580); - } - break; - case 361: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(581, 588); - } - break; - case 362: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(589, 592); - } - break; - case 363: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(593, 597); - } - break; - case 364: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(598, 603); - } - break; - case 365: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(604, 610); - } - break; - case 367: - case 372: - if ((0x7fffffffffffffffL & l) != 0L) { - jjCheckNAddStates(611, 614); - } - break; - case 369: - if (curChar == 92) { - jjAddStates(855, 858); - } - break; - case 371: - if (curChar == 92) { - jjAddStates(859, 860); - } - break; - case 373: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(615, 620); - } - break; - case 375: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(621, 629); - } - break; - case 376: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(630, 634); - } - break; - case 377: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(635, 640); - } - break; - case 378: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(641, 647); - } - break; - case 379: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(648, 655); - } - break; - case 384: - case 389: - if ((0x7fffffffffffffffL & l) != 0L) { - jjCheckNAddStates(656, 659); - } - break; - case 386: - if (curChar == 92) { - jjAddStates(861, 864); - } - break; - case 388: - if (curChar == 92) { - jjAddStates(865, 866); - } - break; - case 390: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(660, 665); - } - break; - case 392: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(666, 674); - } - break; - case 393: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(675, 679); - } - break; - case 394: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(680, 685); - } - break; - case 395: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(686, 692); - } - break; - case 396: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(693, 700); - } - break; - case 401: - if ((0x100000001000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 353; - } - break; - case 402: - if ((0x4000000040000L & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 401; - } - break; - case 410: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjAddStates(717, 722); - break; - case 411: - if ((0x7e0000007eL & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 412; - } - break; - case 412: - if ((0x7e0000007eL & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 413; - } - break; - case 413: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAdd(414); - } - break; - case 414: - if ((0x7e0000007eL & l) != 0L && kind > 114) { - kind = 114; - } - break; - case 415: - if ((0x7e0000007eL & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 416; - } - break; - case 416: - if ((0x7e0000007eL & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 417; - } - break; - case 417: - if ((0x7e0000007eL & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 418; - } - break; - case 418: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjstateSet[jjnewStateCnt++] = 406; - break; - case 419: - if ((0x7e0000007eL & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 420; - } - break; - case 420: - if ((0x7e0000007eL & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 421; - } - break; - case 421: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjstateSet[jjnewStateCnt++] = 422; - break; - case 423: - if ((0x7e0000007eL & l) != 0L) { - jjstateSet[jjnewStateCnt++] = 424; - } - break; - case 424: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjstateSet[jjnewStateCnt++] = 425; - break; - case 427: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjstateSet[jjnewStateCnt++] = 428; - break; - case 436: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddTwoStates(437, 443); - } - break; - case 438: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjstateSet[jjnewStateCnt++] = 439; - break; - case 439: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddStates(733, 736); - break; - case 440: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAdd(414); - break; - case 441: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddTwoStates(414, 440); - break; - case 442: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 114) { - kind = 114; - } - jjCheckNAddStates(737, 739); - break; - case 443: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(740, 744); - } - break; - case 444: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAdd(437); - } - break; - case 445: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddTwoStates(444, 437); - } - break; - case 446: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(745, 747); - } - break; - case 447: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(748, 751); - } - break; - case 448: - if (curChar == 92) { - jjCheckNAddStates(823, 826); - } - break; - case 449: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(752, 755); - break; - case 450: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(756, 762); - break; - case 451: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(763, 765); - break; - case 452: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(766, 769); - break; - case 453: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(770, 774); - break; - case 454: - if ((0x7e0000007eL & l) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddStates(775, 780); - break; - case 455: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(781, 785); - } - break; - case 456: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(786, 793); - } - break; - case 458: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(794, 798); - } - break; - case 459: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(799, 804); - } - break; - case 460: - if ((0x7e0000007eL & l) != 0L) { - jjCheckNAddStates(805, 811); - } - break; - default : break; + throw new TokenMgrError(EOFSeen, curLexState, error_line, + error_column, error_after, curChar, + TokenMgrError.LEXICAL_ERROR); } - } while(i != startsAt); - } - else - { - int i2 = (curChar & 0xff) >> 6; - long l2 = 1L << (curChar & 077); - do - { - switch(jjstateSet[--i]) - { - case 162: - case 111: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 29: - if ((jjbitVec0[i2] & l2) != 0L) - { - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - } - if ((jjbitVec0[i2] & l2) != 0L) { - jjCheckNAddStates(0, 3); - } - break; - case 171: - case 109: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 525: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 173: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 24: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 40) { - kind = 40; - } - jjCheckNAddStates(817, 822); - break; - case 172: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 170: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 103) { - kind = 103; - } - jjCheckNAddTwoStates(109, 110); - break; - case 75: - case 77: - case 79: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 76) { - kind = 76; - } - jjCheckNAddTwoStates(77, 78); - break; - case 522: - if ((jjbitVec0[i2] & l2) != 0L) - { - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - } - if ((jjbitVec0[i2] & l2) != 0L) { - jjCheckNAddStates(0, 3); - } - break; - case 5: - case 8: - case 16: - if ((jjbitVec0[i2] & l2) != 0L) { - jjCheckNAddStates(138, 140); - } - break; - case 41: - case 46: - if ((jjbitVec0[i2] & l2) != 0L) { - jjCheckNAddStates(130, 133); - } - break; - case 58: - case 63: - if ((jjbitVec0[i2] & l2) != 0L) { - jjCheckNAddStates(126, 129); - } - break; - case 96: - case 98: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 96) { - kind = 96; - } - jjCheckNAddTwoStates(96, 97); - break; - case 217: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 2) { - kind = 2; - } - jjAddStates(9, 11); - break; - case 222: - if ((jjbitVec0[i2] & l2) != 0L && kind > 3) { - kind = 3; - } - break; - case 225: - case 227: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 72) { - kind = 72; - } - jjCheckNAddTwoStates(225, 226); - break; - case 235: - case 239: - if ((jjbitVec0[i2] & l2) != 0L) { - jjCheckNAddStates(0, 3); - } - break; - case 334: - case 336: - case 344: - if ((jjbitVec0[i2] & l2) == 0L) { - break; - } - if (kind > 95) { - kind = 95; - } - jjCheckNAddTwoStates(334, 335); - break; - case 354: - case 358: - if ((jjbitVec0[i2] & l2) != 0L) { - jjCheckNAddStates(572, 575); - } - break; - case 367: - case 372: - if ((jjbitVec0[i2] & l2) != 0L) { - jjCheckNAddStates(611, 614); - } - break; - case 384: - case 389: - if ((jjbitVec0[i2] & l2) != 0L) { - jjCheckNAddStates(656, 659); - } - break; - default : break; - } - } while(i != startsAt); - } - if (kind != 0x7fffffff) - { - jjmatchedKind = kind; - jjmatchedPos = curPos; - kind = 0x7fffffff; - } - ++curPos; - if ((i = jjnewStateCnt) == (startsAt = 522 - (jjnewStateCnt = startsAt))) { - return curPos; - } - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { return curPos; } - } -} -private int jjMoveStringLiteralDfa0_2() -{ - switch(curChar) - { - case 42: - return jjMoveStringLiteralDfa1_2(0x40L); - default : - return 1; - } -} -private int jjMoveStringLiteralDfa1_2(long active0) -{ - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - return 1; - } - switch(curChar) - { - case 47: - if ((active0 & 0x40L) != 0L) { - return jjStopAtPos(1, 6); - } - break; - default : - return 2; - } - return 2; -} -private int jjMoveStringLiteralDfa0_1() -{ - switch(curChar) - { - case 42: - return jjMoveStringLiteralDfa1_1(0x20L); - default : - return 1; - } -} -private int jjMoveStringLiteralDfa1_1(long active0) -{ - try { curChar = input_stream.readChar(); } - catch(java.io.IOException e) { - return 1; - } - switch(curChar) - { - case 47: - if ((active0 & 0x20L) != 0L) { - return jjStopAtPos(1, 5); } - break; - default : - return 2; - } - return 2; -} -static final int[] jjnextStates = { - 235, 236, 237, 238, 331, 332, 333, 344, 345, 217, 218, 220, 462, 463, 464, 465, - 466, 467, 273, 468, 469, 470, 276, 471, 472, 473, 279, 474, 475, 476, 282, 477, - 478, 479, 285, 480, 481, 482, 288, 483, 484, 485, 291, 486, 487, 488, 294, 489, - 490, 491, 298, 492, 493, 494, 302, 495, 496, 497, 305, 498, 499, 500, 309, 501, - 502, 503, 313, 504, 505, 506, 318, 507, 508, 509, 321, 510, 511, 512, 323, 513, - 514, 515, 326, 516, 517, 518, 330, 519, 520, 521, 332, 333, 344, 345, 271, 272, - 274, 277, 280, 283, 286, 289, 292, 295, 299, 303, 306, 310, 314, 319, 322, 324, - 327, 331, 267, 268, 248, 255, 256, 265, 216, 223, 75, 76, 87, 88, 58, 59, - 60, 62, 41, 42, 43, 45, 3, 4, 16, 17, 5, 6, 7, 5, 10, 6, - 7, 11, 5, 12, 10, 6, 7, 13, 14, 15, 5, 10, 6, 7, 5, 12, - 10, 6, 7, 5, 12, 10, 6, 7, 13, 5, 12, 10, 6, 7, 13, 14, - 10, 5, 6, 7, 19, 20, 10, 5, 6, 7, 21, 22, 23, 10, 5, 6, - 7, 20, 10, 5, 6, 7, 20, 10, 5, 6, 7, 21, 20, 10, 5, 6, - 7, 21, 22, 41, 48, 42, 43, 45, 49, 41, 50, 48, 42, 43, 45, 51, - 52, 53, 41, 48, 42, 43, 45, 41, 50, 48, 42, 43, 45, 41, 50, 48, - 42, 43, 45, 51, 41, 50, 48, 42, 43, 45, 51, 52, 58, 65, 59, 60, - 62, 66, 58, 67, 65, 59, 60, 62, 68, 69, 70, 58, 65, 59, 60, 62, - 58, 67, 65, 59, 60, 62, 58, 67, 65, 59, 60, 62, 68, 58, 67, 65, - 59, 60, 62, 68, 69, 77, 81, 78, 82, 77, 83, 81, 78, 84, 85, 86, - 77, 81, 78, 77, 83, 81, 78, 77, 83, 81, 78, 84, 77, 83, 81, 78, - 84, 85, 81, 77, 78, 90, 91, 81, 77, 78, 92, 93, 94, 81, 77, 78, - 91, 81, 77, 78, 91, 81, 77, 78, 92, 91, 81, 77, 78, 92, 93, 96, - 100, 97, 101, 96, 102, 100, 97, 103, 104, 105, 96, 100, 97, 96, 102, 100, - 97, 96, 102, 100, 97, 103, 96, 102, 100, 97, 103, 104, 109, 113, 110, 114, - 109, 115, 113, 110, 116, 117, 118, 109, 113, 110, 109, 115, 113, 110, 109, 115, - 113, 110, 116, 109, 115, 113, 110, 116, 117, 113, 109, 110, 122, 123, 113, 109, - 110, 124, 125, 126, 113, 109, 110, 123, 113, 109, 110, 123, 113, 109, 110, 124, - 123, 113, 109, 110, 124, 125, 128, 129, 136, 137, 144, 145, 225, 229, 226, 230, - 225, 231, 229, 226, 232, 233, 234, 225, 229, 226, 225, 231, 229, 226, 225, 231, - 229, 226, 232, 225, 231, 229, 226, 232, 233, 235, 237, 238, 241, 242, 235, 243, - 237, 238, 241, 244, 245, 246, 235, 237, 238, 241, 235, 243, 237, 238, 241, 235, - 243, 237, 238, 241, 244, 235, 243, 237, 238, 241, 244, 245, 334, 338, 335, 339, - 334, 340, 338, 335, 341, 342, 343, 334, 338, 335, 334, 340, 338, 335, 334, 340, - 338, 335, 341, 334, 340, 338, 335, 341, 342, 338, 334, 335, 347, 348, 338, 334, - 335, 349, 350, 351, 338, 334, 335, 348, 338, 334, 335, 348, 338, 334, 335, 349, - 348, 338, 334, 335, 349, 350, 354, 366, 383, 356, 357, 400, 354, 355, 356, 357, - 354, 356, 357, 360, 361, 354, 362, 356, 357, 360, 363, 364, 365, 354, 356, 357, - 360, 354, 362, 356, 357, 360, 354, 362, 356, 357, 360, 363, 354, 362, 356, 357, - 360, 363, 364, 367, 368, 369, 371, 367, 374, 368, 369, 371, 375, 367, 376, 374, - 368, 369, 371, 377, 378, 379, 367, 374, 368, 369, 371, 367, 376, 374, 368, 369, - 371, 367, 376, 374, 368, 369, 371, 377, 367, 376, 374, 368, 369, 371, 377, 378, - 384, 385, 386, 388, 384, 391, 385, 386, 388, 392, 384, 393, 391, 385, 386, 388, - 394, 395, 396, 384, 391, 385, 386, 388, 384, 393, 391, 385, 386, 388, 384, 393, - 391, 385, 386, 388, 394, 384, 393, 391, 385, 386, 388, 394, 395, 354, 366, 383, - 355, 356, 357, 400, 404, 410, 406, 407, 408, 409, 406, 407, 408, 411, 415, 419, - 423, 427, 431, 406, 429, 430, 406, 432, 433, 434, 406, 432, 433, 414, 440, 441, - 442, 414, 440, 441, 444, 437, 445, 446, 447, 444, 437, 445, 444, 437, 445, 446, - 229, 225, 226, 450, 451, 229, 225, 226, 452, 453, 454, 229, 225, 226, 451, 229, - 225, 226, 451, 229, 225, 226, 452, 451, 229, 225, 226, 452, 453, 235, 237, 238, - 241, 456, 457, 235, 237, 238, 241, 458, 459, 460, 457, 235, 237, 238, 241, 457, - 235, 237, 238, 241, 458, 457, 235, 237, 238, 241, 458, 459, 519, 332, 333, 344, - 345, 225, 235, 236, 237, 238, 226, 227, 449, 239, 455, 162, 175, 186, 202, 214, - 402, 403, 435, 107, 108, 119, 120, 44, 54, 56, 55, 46, 47, 61, 71, 73, - 72, 63, 64, 98, 99, 358, 359, 370, 380, 382, 381, 372, 373, 387, 397, 399, - 398, 389, 390, -}; - -/** Token literal values. */ -public static final String[] jjstrLiteralImages = { -"", null, null, null, null, null, null, null, "\74\41\55\55", "\55\55\76", -"\173", "\175", "\174\75", "\136\75", "\44\75", "\52\75", "\176\75", "\75", "\53", -"\55", "\54", "\73", "\76", "\176", "\74", "\57", "\133", "\135", "\52", "\45", -"\46", "\56", "\50", "\51", "\75\75", "\174\174", "\46\46", "\41\75", "\72", null, -null, null, null, null, null, null, null, null, null, null, null, null, null, null, -null, null, null, null, null, null, null, null, null, null, null, null, null, null, -null, null, null, null, null, null, null, null, null, null, null, null, null, null, -null, null, null, null, null, null, null, null, null, null, null, null, null, null, -null, null, null, null, null, null, null, null, null, null, null, null, null, null, -null, null, null, null, null, null, null, null, null, null, }; - -/** Lexer state names. */ -public static final String[] lexStateNames = { - "DEFAULT", - "IN_FORMAL_COMMENT", - "IN_MULTI_LINE_COMMENT", -}; - -/** Lex State array. */ -public static final int[] jjnewLexState = { - -1, -1, -1, 1, 2, 0, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -}; -static final long[] jjtoToken = { - 0xfffe01ffffffff03L, 0xfc01fffffffbffL, -}; -static final long[] jjtoSkip = { - 0x64L, 0x0L, -}; -static final long[] jjtoSpecial = { - 0x24L, 0x0L, -}; -static final long[] jjtoMore = { - 0x98L, 0x0L, -}; -protected CharStream input_stream; -private final int[] jjrounds = new int[522]; -private final int[] jjstateSet = new int[1044]; -private final StringBuilder jjimage = new StringBuilder(); -private StringBuilder image = jjimage; -private int jjimageLen; -private int lengthOfMatch; -protected char curChar; -/** Constructor. */ -public ParserTokenManager(CharStream stream){ - input_stream = stream; -} - -/** Constructor. */ -public ParserTokenManager(CharStream stream, int lexState){ - this(stream); - SwitchTo(lexState); -} - -/** Reinitialise parser. */ -public void ReInit(CharStream stream) -{ - jjmatchedPos = jjnewStateCnt = 0; - curLexState = defaultLexState; - input_stream = stream; - ReInitRounds(); -} -private void ReInitRounds() -{ - int i; - jjround = 0x80000001; - for (i = 522; i-- > 0;) { - jjrounds[i] = 0x80000000; -} -} - -/** Reinitialise parser. */ -public void ReInit(CharStream stream, int lexState) -{ - ReInit(stream); - SwitchTo(lexState); -} - -/** Switch to specified lex state. */ -public void SwitchTo(int lexState) -{ - if (lexState >= 3 || lexState < 0) { - throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE); -} else { - curLexState = lexState; -} -} - -protected Token jjFillToken() -{ - final Token t; - final String curTokenImage; - final int beginLine; - final int endLine; - final int beginColumn; - final int endColumn; - String im = jjstrLiteralImages[jjmatchedKind]; - curTokenImage = (im == null) ? input_stream.GetImage() : im; - beginLine = input_stream.getBeginLine(); - beginColumn = input_stream.getBeginColumn(); - endLine = input_stream.getEndLine(); - endColumn = input_stream.getEndColumn(); - t = Token.newToken(jjmatchedKind, curTokenImage); - - t.beginLine = beginLine; - t.endLine = endLine; - t.beginColumn = beginColumn; - t.endColumn = endColumn; - - return t; -} - -int curLexState = 0; -int defaultLexState = 0; -int jjnewStateCnt; -int jjround; -int jjmatchedPos; -int jjmatchedKind; - -/** Get the next Token. */ -public Token getNextToken() -{ - Token specialToken = null; - Token matchedToken; - int curPos = 0; - - EOFLoop : - for (;;) - { - try - { - curChar = input_stream.BeginToken(); - } - catch(java.io.IOException e) - { - jjmatchedKind = 0; - matchedToken = jjFillToken(); - matchedToken.specialToken = specialToken; - return matchedToken; - } - image = jjimage; - image.setLength(0); - jjimageLen = 0; + } - for (;;) - { - switch(curLexState) - { - case 0: - jjmatchedKind = 0x7fffffff; - jjmatchedPos = 0; - curPos = jjMoveStringLiteralDfa0_0(); - if (jjmatchedPos == 0 && jjmatchedKind > 119) - { - jjmatchedKind = 119; - } - break; - case 1: - jjmatchedKind = 0x7fffffff; - jjmatchedPos = 0; - curPos = jjMoveStringLiteralDfa0_1(); - if (jjmatchedPos == 0 && jjmatchedKind > 7) - { - jjmatchedKind = 7; - } - break; - case 2: - jjmatchedKind = 0x7fffffff; - jjmatchedPos = 0; - curPos = jjMoveStringLiteralDfa0_2(); - if (jjmatchedPos == 0 && jjmatchedKind > 7) - { - jjmatchedKind = 7; - } - break; - } - if (jjmatchedKind != 0x7fffffff) - { - if (jjmatchedPos + 1 < curPos) { - input_stream.backup(curPos - jjmatchedPos - 1); + void SkipLexicalActions(Token matchedToken) { + switch (jjmatchedKind) { + default: + break; } - if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) - { - matchedToken = jjFillToken(); - matchedToken.specialToken = specialToken; - TokenLexicalActions(matchedToken); - if (jjnewLexState[jjmatchedKind] != -1) { - curLexState = jjnewLexState[jjmatchedKind]; } - return matchedToken; - } - else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) - { - if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) - { - matchedToken = jjFillToken(); - if (specialToken == null) { - specialToken = matchedToken; - } else - { - matchedToken.specialToken = specialToken; - specialToken = (specialToken.next = matchedToken); - } - SkipLexicalActions(matchedToken); - } else { - SkipLexicalActions(null); - } - if (jjnewLexState[jjmatchedKind] != -1) { - curLexState = jjnewLexState[jjmatchedKind]; - } - continue EOFLoop; + + void MoreLexicalActions() { + jjimageLen += (lengthOfMatch = jjmatchedPos + 1); + switch (jjmatchedKind) { + case 3: + image.append(input_stream.GetSuffix(jjimageLen)); + jjimageLen = 0; + input_stream.backup(1); + break; + default: + break; } - MoreLexicalActions(); - if (jjnewLexState[jjmatchedKind] != -1) { - curLexState = jjnewLexState[jjmatchedKind]; } - curPos = 0; - jjmatchedKind = 0x7fffffff; - try { - curChar = input_stream.readChar(); - continue; + + void TokenLexicalActions(Token matchedToken) { + switch (jjmatchedKind) { + case 1: + image.append(input_stream.GetSuffix(jjimageLen + + (lengthOfMatch = jjmatchedPos + 1))); + image = Parser.SPACE; + break; + default: + break; } - catch (java.io.IOException e1) { } - } - int error_line = input_stream.getEndLine(); - int error_column = input_stream.getEndColumn(); - String error_after = null; - boolean EOFSeen = false; - try { input_stream.readChar(); input_stream.backup(1); } - catch (java.io.IOException e1) { - EOFSeen = true; - error_after = curPos <= 1 ? "" : input_stream.GetImage(); - if (curChar == '\n' || curChar == '\r') { - error_line++; - error_column = 0; - } else { - error_column++; + } + + private void jjCheckNAdd(int state) { + if (jjrounds[state] != jjround) { + jjstateSet[jjnewStateCnt++] = state; + jjrounds[state] = jjround; } - } - if (!EOFSeen) { - input_stream.backup(1); - error_after = curPos <= 1 ? "" : input_stream.GetImage(); - } - throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); - } - } -} + } -void SkipLexicalActions(Token matchedToken) -{ - switch(jjmatchedKind) - { - default : - break; - } -} -void MoreLexicalActions() -{ - jjimageLen += (lengthOfMatch = jjmatchedPos + 1); - switch(jjmatchedKind) - { - case 3 : - image.append(input_stream.GetSuffix(jjimageLen)); - jjimageLen = 0; - input_stream.backup(1); - break; - default : - break; - } -} -void TokenLexicalActions(Token matchedToken) -{ - switch(jjmatchedKind) - { - case 1 : - image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); - image = Parser.SPACE; - break; - default : - break; - } -} -private void jjCheckNAdd(int state) -{ - if (jjrounds[state] != jjround) - { - jjstateSet[jjnewStateCnt++] = state; - jjrounds[state] = jjround; - } -} -private void jjAddStates(int start, int end) -{ - do { - jjstateSet[jjnewStateCnt++] = jjnextStates[start]; - } while (start++ != end); -} -private void jjCheckNAddTwoStates(int state1, int state2) -{ - jjCheckNAdd(state1); - jjCheckNAdd(state2); -} + private void jjAddStates(int start, int end) { + do { + jjstateSet[jjnewStateCnt++] = jjnextStates[start]; + } while (start++ != end); + } -private void jjCheckNAddStates(int start, int end) -{ - do { - jjCheckNAdd(jjnextStates[start]); - } while (start++ != end); -} + private void jjCheckNAddTwoStates(int state1, int state2) { + jjCheckNAdd(state1); + jjCheckNAdd(state2); + } + + private void jjCheckNAddStates(int start, int end) { + do { + jjCheckNAdd(jjnextStates[start]); + } while (start++ != end); + } } diff --git a/theme-compiler/tests/resources/automatic/css/nested-if.css b/theme-compiler/tests/resources/automatic/css/nested-if.css new file mode 100644 index 0000000000..4fffc83705 --- /dev/null +++ b/theme-compiler/tests/resources/automatic/css/nested-if.css @@ -0,0 +1,7 @@ +.foobar { + color: red; +} + +.quux { + color: blue; +}
\ No newline at end of file diff --git a/theme-compiler/tests/resources/automatic/scss/nested-if.scss b/theme-compiler/tests/resources/automatic/scss/nested-if.scss new file mode 100644 index 0000000000..86c31f346b --- /dev/null +++ b/theme-compiler/tests/resources/automatic/scss/nested-if.scss @@ -0,0 +1,19 @@ +@if 1==1 { + @if 1==1 { + .foobar { + color: red; + } + } +} + +@if 1==1 { + .quux { + color: blue; + } + + @if 1==0 { + .baz { + background: #f00; + } + } +}
\ No newline at end of file diff --git a/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java b/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java index 070cd2834d..99f9707479 100644 --- a/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java +++ b/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java @@ -26,6 +26,7 @@ import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.HashMap; import java.util.Map; +import java.util.Map.Entry; import javax.servlet.Filter; import javax.servlet.FilterChain; @@ -212,8 +213,35 @@ public class DevelopmentServerLauncher { Socket accept = serverSocket.accept(); // First stop listening to the port serverSocket.close(); + final Thread stopThread = Thread.currentThread(); + + // Start a thread that kills the JVM if + // server.stop() doesn't have any effect + Thread interruptThread = new Thread() { + @Override + public void run() { + try { + Thread.sleep(5000); + if (!server.isStopped()) { + System.out + .println("Jetty still running. Closing JVM."); + dumpThreadStacks(); + System.exit(-1); + } + } catch (InterruptedException e) { + // Interrupted if server.stop() was + // successful + } + } + }; + interruptThread.setDaemon(true); + interruptThread.start(); + // Then stop the jetty server server.stop(); + + interruptThread.interrupt(); + // Send a byte to tell the other process that it can // start jetty OutputStream outputStream = accept @@ -352,4 +380,19 @@ public class DevelopmentServerLauncher { } + private static void dumpThreadStacks() { + for (Entry<Thread, StackTraceElement[]> entry : Thread + .getAllStackTraces().entrySet()) { + Thread thread = entry.getKey(); + StackTraceElement[] stackTraceElements = entry.getValue(); + + System.out.println(thread.getName() + " - " + thread.getState()); + for (StackTraceElement stackTraceElement : stackTraceElements) { + System.out.println(" at " + stackTraceElement.toString()); + } + System.out.println(); + } + + } + } diff --git a/uitest/src/com/vaadin/tests/browserfeatures/WebkitScrollbarTest.html b/uitest/src/com/vaadin/tests/browserfeatures/WebkitScrollbarTest.html new file mode 100644 index 0000000000..a5296b8b4d --- /dev/null +++ b/uitest/src/com/vaadin/tests/browserfeatures/WebkitScrollbarTest.html @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="" /> +<title>New Test</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">New Test</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/run/com.vaadin.tests.browserfeatures.WebkitScrollbarTest?restartApplication</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>vaadin=runcomvaadintestsbrowserfeaturesWebkitScrollbarTest::/VVerticalLayout[0]/Slot[0]/VButton[0]/domChild[0]/domChild[0]</td> + <td></td> +</tr> +<tr> + <td>screenCapture</td> + <td></td> + <td>windowShouldNotHaveScrollbars</td> +</tr> + +</tbody></table> +</body> +</html> diff --git a/uitest/src/com/vaadin/tests/browserfeatures/WebkitScrollbarTest.java b/uitest/src/com/vaadin/tests/browserfeatures/WebkitScrollbarTest.java new file mode 100644 index 0000000000..a031fb0c7a --- /dev/null +++ b/uitest/src/com/vaadin/tests/browserfeatures/WebkitScrollbarTest.java @@ -0,0 +1,76 @@ +/* + * Copyright 2000-2013 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + +package com.vaadin.tests.browserfeatures; + +import com.vaadin.server.VaadinRequest; +import com.vaadin.tests.components.AbstractTestUI; +import com.vaadin.ui.Button; +import com.vaadin.ui.Button.ClickEvent; +import com.vaadin.ui.GridLayout; +import com.vaadin.ui.ListSelect; +import com.vaadin.ui.UI; +import com.vaadin.ui.VerticalLayout; +import com.vaadin.ui.Window; + +@SuppressWarnings("serial") +public class WebkitScrollbarTest extends AbstractTestUI { + + @Override + protected void setup(VaadinRequest request) { + final VerticalLayout uiLayout = new VerticalLayout(); + uiLayout.setMargin(true); + setContent(uiLayout); + + final VerticalLayout windowLayout = new VerticalLayout(); + + final Window testWindow = new Window("WebKitFail", windowLayout); + testWindow.setWidth(300, Unit.PIXELS); + + GridLayout gl = new GridLayout(); + gl.setHeight(null); + gl.setWidth(100, Unit.PERCENTAGE); + windowLayout.addComponent(gl); + + ListSelect listSelect = new ListSelect(); + listSelect.setWidth(100, Unit.PERCENTAGE); + gl.addComponent(listSelect); + gl.setMargin(true); + + final Button testButton = new Button("Open Window", + new Button.ClickListener() { + @Override + public void buttonClick(ClickEvent event) { + UI.getCurrent().addWindow(testWindow); + } + }); + uiLayout.addComponent(testButton); + + } + + @Override + protected String getTestDescription() { + return "When opening the window, it should NOT contain a horizontal" + + " scrollbar and the vertical height should be proportional" + + " to the list select component inside it."; + } + + @Override + protected Integer getTicketNumber() { + return 11994; + } + +} diff --git a/uitest/src/com/vaadin/tests/components/calendar/CalendarDragAndDrop.html b/uitest/src/com/vaadin/tests/components/calendar/CalendarDragAndDrop.html index 425f95c529..b0a702adc0 100644 --- a/uitest/src/com/vaadin/tests/components/calendar/CalendarDragAndDrop.html +++ b/uitest/src/com/vaadin/tests/components/calendar/CalendarDragAndDrop.html @@ -3,7 +3,6 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://selenium-ide.openqa.org/profiles/test-case"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -<link rel="selenium.base" href="http://localhost:7171/" /> <title>New Test</title> </head> <body> @@ -25,7 +24,7 @@ <tr> <td>drop</td> <td>vaadin=runcomvaadintestscomponentscalendarCalendarDragAndDrop::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VHorizontalLayout[0]/Slot[0]/VCalendar[0]/domChild[0]/domChild[1]/domChild[1]/domChild[0]/domChild[1]/domChild[1]/domChild[5]/domChild[0]/domChild[2]</td> - <td>54,9</td> + <td>40,9</td> </tr> <tr> <td>assertText</td> @@ -46,7 +45,7 @@ <tr> <td>drop</td> <td>vaadin=runcomvaadintestscomponentscalendarCalendarDragAndDrop::PID_SCalendar/domChild[0]/domChild[3]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2]/domChild[0]/domChild[15]</td> - <td>75,9</td> + <td>0,0</td> </tr> <tr> <td>assertText</td> diff --git a/uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldValueChangeEvents.html b/uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldValueChangeEvents.html new file mode 100644 index 0000000000..18f0ce0da2 --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldValueChangeEvents.html @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="http://localhost:7171/" /> +<title>New Test</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">New Test</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/run/com.vaadin.tests.components.datefield.PopupDateFieldValueChangeEvents?restartApplication</td> + <td></td> +</tr> +<tr> + <td>mouseClick</td> + <td>vaadin=runcomvaadintestscomponentsdatefieldPopupDateFieldValueChangeEvents::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VHorizontalLayout[0]/Slot[0]/VPopupCalendar[0]#popupButton</td> + <td>12,11</td> +</tr> +<tr> + <td>mouseClick</td> + <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[2]/td/table/tbody/tr[4]/td[3]/span</td> + <td>18,12</td> +</tr> +<tr> + <td>assertText</td> + <td>vaadin=runcomvaadintestscomponentsdatefieldPopupDateFieldValueChangeEvents::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[1]/VLabel[0]/domChild[0]</td> + <td>Value changes: 1</td> +</tr> +<tr> + <td>mouseClick</td> + <td>vaadin=runcomvaadintestscomponentsdatefieldPopupDateFieldValueChangeEvents::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VHorizontalLayout[0]/Slot[0]/VPopupCalendar[0]#popupButton</td> + <td>12,11</td> +</tr> +<tr> + <td>select</td> + <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[3]/td/div/select</td> + <td>label=01</td> +</tr> +<tr> + <td>select</td> + <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[3]/td/div/select[2]</td> + <td>label=02</td> +</tr> +<tr> + <td>select</td> + <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[3]/td/div/select[3]</td> + <td>label=03</td> +</tr> +<tr> + <td>pressSpecialKey</td> + <td>//table[@id='PID_VAADIN_POPUPCAL']/tbody/tr[3]/td/div/select[3]</td> + <td>enter</td> +</tr> +<tr> + <td>mouseClick</td> + <td>vaadin=runcomvaadintestscomponentsdatefieldPopupDateFieldValueChangeEvents::/VVerticalLayout[0]/Slot[0]/VLabel[0]</td> + <td>410,9</td> +</tr> +<tr> + <td>assertText</td> + <td>vaadin=runcomvaadintestscomponentsdatefieldPopupDateFieldValueChangeEvents::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[1]/VLabel[0]/domChild[0]</td> + <td>Value changes: 2</td> +</tr> +<tr> + <td>select</td> + <td>vaadin=runcomvaadintestscomponentsdatefieldPopupDateFieldValueChangeEvents::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VHorizontalLayout[0]/Slot[1]/VNativeSelect[0]/domChild[0]</td> + <td>label=MONTH</td> +</tr> +<tr> + <td>mouseClick</td> + <td>vaadin=runcomvaadintestscomponentsdatefieldPopupDateFieldValueChangeEvents::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VHorizontalLayout[0]/Slot[0]/VPopupCalendar[0]#popupButton</td> + <td>14,9</td> +</tr> +<tr> + <td>mouseClick</td> + <td>xpath=(//button[@type='button'])[4]</td> + <td>3,13</td> +</tr> +<tr> + <td>mouseClick</td> + <td>xpath=(//button[@type='button'])[5]</td> + <td>9,6</td> +</tr> +<tr> + <td>mouseClick</td> + <td>xpath=(//button[@type='button'])[4]</td> + <td>7,8</td> +</tr> +<tr> + <td>pressSpecialKey</td> + <td>xpath=(//button[@type='button'])[4]</td> + <td>enter</td> +</tr> +<tr> + <td>assertText</td> + <td>vaadin=runcomvaadintestscomponentsdatefieldPopupDateFieldValueChangeEvents::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[1]/VLabel[0]/domChild[0]</td> + <td>Value changes: 3</td> +</tr> + +</tbody></table> +</body> +</html> diff --git a/uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldValueChangeEvents.java b/uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldValueChangeEvents.java new file mode 100644 index 0000000000..b875d86428 --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/datefield/PopupDateFieldValueChangeEvents.java @@ -0,0 +1,112 @@ +/* + * Copyright 2000-2013 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + +/** + * + */ +package com.vaadin.tests.components.datefield; + +import java.util.Arrays; +import java.util.Calendar; + +import com.vaadin.data.Property; +import com.vaadin.data.Property.ValueChangeEvent; +import com.vaadin.data.Property.ValueChangeListener; +import com.vaadin.server.VaadinRequest; +import com.vaadin.shared.ui.datefield.Resolution; +import com.vaadin.shared.ui.label.ContentMode; +import com.vaadin.tests.components.AbstractTestUI; +import com.vaadin.ui.DateField; +import com.vaadin.ui.HorizontalLayout; +import com.vaadin.ui.Label; +import com.vaadin.ui.NativeSelect; + +/** + * + * @since + * @author Vaadin Ltd + */ +public class PopupDateFieldValueChangeEvents extends AbstractTestUI { + + private int count = 0; + + /* + * (non-Javadoc) + * + * @see com.vaadin.tests.components.AbstractTestUI#setup(com.vaadin.server. + * VaadinRequest) + */ + @Override + protected void setup(VaadinRequest request) { + + HorizontalLayout hl = new HorizontalLayout(); + addComponent(hl); + + Calendar calendar = Calendar.getInstance(); + calendar.set(2010, 1, 1, 18, 19, 20); + + final DateField df = new DateField(null, calendar.getTime()); + df.setResolution(Resolution.SECOND); + df.setImmediate(true); + hl.addComponent(df); + + NativeSelect resolution = new NativeSelect(null, + Arrays.asList(Resolution.values())); + resolution.setImmediate(true); + resolution.setValue(df.getResolution()); + hl.addComponent(resolution); + resolution.addValueChangeListener(new ValueChangeListener() { + + @Override + public void valueChange(ValueChangeEvent event) { + df.setResolution((Resolution) event.getProperty().getValue()); + } + }); + + final Label log = new Label("", ContentMode.PREFORMATTED); + addComponent(log); + + df.addValueChangeListener(new Property.ValueChangeListener() { + + @Override + public void valueChange(ValueChangeEvent event) { + log.setValue("Value changes: " + (++count)); + + } + }); + } + + /* + * (non-Javadoc) + * + * @see com.vaadin.tests.components.AbstractTestUI#getTestDescription() + */ + @Override + protected String getTestDescription() { + return "DateField Time resolution fields should only send events when focus is removed"; + } + + /* + * (non-Javadoc) + * + * @see com.vaadin.tests.components.AbstractTestUI#getTicketNumber() + */ + @Override + protected Integer getTicketNumber() { + return 6252; + } + +} diff --git a/uitest/src/com/vaadin/tests/components/datefield/TestSettingTimeOnInitiallyNullPopupDateField.html b/uitest/src/com/vaadin/tests/components/datefield/TestSettingTimeOnInitiallyNullPopupDateField.html index 9fabd8b1e7..9db6763296 100644 --- a/uitest/src/com/vaadin/tests/components/datefield/TestSettingTimeOnInitiallyNullPopupDateField.html +++ b/uitest/src/com/vaadin/tests/components/datefield/TestSettingTimeOnInitiallyNullPopupDateField.html @@ -107,6 +107,11 @@ <td>index=1</td> </tr> <tr> + <td>pressSpecialKey</td> + <td>vaadin=runcomvaadintestscomponentsdatefieldPopupDateFieldTest::Root/VOverlay[0]/VCalendarPanel[0]#ampm</td> + <td>[tab]</td> +</tr> +<tr> <td>assertText</td> <td>vaadin=runcomvaadintestscomponentsdatefieldPopupDateFieldTest::PID_SLog_row_0</td> <td>*. ValueChangeEvent, new value: * DATE(D), DATE(YYYY) 12:00:00.000</td> diff --git a/uitest/src/com/vaadin/tests/components/draganddropwrapper/DragAndDropBatchUpload.java b/uitest/src/com/vaadin/tests/components/draganddropwrapper/DragAndDropBatchUpload.java new file mode 100644 index 0000000000..adb5cd9e3a --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/draganddropwrapper/DragAndDropBatchUpload.java @@ -0,0 +1,132 @@ +/* + * Copyright 2000-2013 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + +package com.vaadin.tests.components.draganddropwrapper; + +import java.io.OutputStream; + +import org.apache.commons.io.output.NullOutputStream; + +import com.vaadin.event.Transferable; +import com.vaadin.event.dd.DragAndDropEvent; +import com.vaadin.event.dd.DropHandler; +import com.vaadin.event.dd.acceptcriteria.AcceptAll; +import com.vaadin.event.dd.acceptcriteria.AcceptCriterion; +import com.vaadin.server.StreamVariable; +import com.vaadin.server.VaadinRequest; +import com.vaadin.shared.ui.label.ContentMode; +import com.vaadin.tests.components.AbstractTestUI; +import com.vaadin.ui.Button; +import com.vaadin.ui.DragAndDropWrapper; +import com.vaadin.ui.DragAndDropWrapper.WrapperTransferable; +import com.vaadin.ui.Html5File; +import com.vaadin.ui.Label; + +public class DragAndDropBatchUpload extends AbstractTestUI { + + private int batchId = 0; + private Label console = new Label("No activity detected yet", + ContentMode.HTML); + + @Override + protected void setup(VaadinRequest request) { + final DragAndDropWrapper dndWrapper = new DragAndDropWrapper( + new Button("Upload here by drag and dropping")); + dndWrapper.setDropHandler(new DropHandler() { + + @Override + public AcceptCriterion getAcceptCriterion() { + return AcceptAll.get(); + } + + @Override + public void drop(DragAndDropEvent event) { + Transferable transferable = event.getTransferable(); + String consoleString = "<b>Drop batch number " + (++batchId) + + "</b>"; + if (transferable instanceof WrapperTransferable) { + WrapperTransferable wTransferable = (WrapperTransferable) transferable; + Html5File[] files = wTransferable.getFiles(); + + if (files != null) { + consoleString += "<br>" + files.length + " file(s):"; + for (Html5File file : files) { + consoleString += "<br>" + file.getFileName(); + file.setStreamVariable(new StreamVariable() { + + @Override + public void streamingStarted( + StreamingStartEvent event) { + } + + @Override + public void streamingFinished( + StreamingEndEvent event) { + } + + @Override + public void streamingFailed( + StreamingErrorEvent event) { + } + + @Override + public void onProgress( + StreamingProgressEvent event) { + } + + @Override + public boolean listenProgress() { + return false; + } + + @Override + public boolean isInterrupted() { + return false; + } + + @Override + public OutputStream getOutputStream() { + return new NullOutputStream(); + } + }); + } + } else { + consoleString += "<br>No files detected..."; + } + console.setValue(consoleString); + } else { + console.setValue(consoleString + + "<br>Something else than files were dragged"); + } + + } + }); + + addComponent(dndWrapper); + addComponent(console); + } + + @Override + protected String getTestDescription() { + return "Starting to upload a new batch before the old one must not reuse receivers"; + } + + @Override + protected Integer getTicketNumber() { + return 12330; + } + +} diff --git a/uitest/src/com/vaadin/tests/components/draganddropwrapper/DragAndDropDisable.html b/uitest/src/com/vaadin/tests/components/draganddropwrapper/DragAndDropDisable.html index 1565e5eb96..50b66a3b68 100644 --- a/uitest/src/com/vaadin/tests/components/draganddropwrapper/DragAndDropDisable.html +++ b/uitest/src/com/vaadin/tests/components/draganddropwrapper/DragAndDropDisable.html @@ -3,7 +3,6 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://selenium-ide.openqa.org/profiles/test-case"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -<link rel="selenium.base" href="http://localhost:8888/" /> <title>DragAndDropDisable</title> </head> <body> @@ -18,12 +17,12 @@ </tr> <tr> <td>drag</td> - <td>vaadin=runDragAndDropDisable::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[2]/VPanel[0]/VDragAndDropWrapper[0]/VCssLayout[0]</td> + <td>vaadin=runDragAndDropDisable::PID_Scsslayout-2</td> <td>18,25</td> </tr> <tr> <td>drop</td> - <td>vaadin=runDragAndDropDisable::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VPanel[0]/VDragAndDropWrapper[0]/VCssLayout[0]</td> + <td>vaadin=runDragAndDropDisable::PID_Scsslayout-1</td> <td>34,51</td> </tr> <tr> @@ -33,27 +32,27 @@ </tr> <tr> <td>drag</td> - <td>vaadin=runDragAndDropDisable::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[2]/VPanel[0]/VDragAndDropWrapper[0]/VCssLayout[0]</td> + <td>vaadin=runDragAndDropDisable::PID_Scsslayout-2</td> <td>20,32</td> </tr> <tr> <td>drop</td> - <td>vaadin=runDragAndDropDisable::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VPanel[0]/VDragAndDropWrapper[0]/VCssLayout[0]</td> + <td>vaadin=runDragAndDropDisable::PID_Scsslayout-1</td> <td>37,59</td> </tr> <tr> <td>drag</td> - <td>vaadin=runDragAndDropDisable::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VPanel[0]/VDragAndDropWrapper[0]/VCssLayout[0]/VLabel[0]</td> + <td>vaadin=runDragAndDropDisable::PID_Scsslayout-1/VLabel[0]</td> <td>59,10</td> </tr> <tr> <td>drop</td> - <td>vaadin=runDragAndDropDisable::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[2]/VPanel[0]/VDragAndDropWrapper[0]/VCssLayout[0]</td> + <td>vaadin=runDragAndDropDisable::PID_Scsslayout-2</td> <td>68,15</td> </tr> <tr> <td>mouseClick</td> - <td>vaadin=runDragAndDropDisable::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VPanel[0]/VDragAndDropWrapper[0]/VCssLayout[0]/VLabel[0]</td> + <td>vaadin=runDragAndDropDisable::PID_Scsslayout-1/VLabel[0]</td> <td>68,160</td> </tr> <tr> @@ -63,7 +62,7 @@ </tr> <tr> <td>drop</td> - <td>vaadin=runDragAndDropDisable::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VPanel[0]/VDragAndDropWrapper[0]/VCssLayout[0]</td> + <td>vaadin=runDragAndDropDisable::PID_Scsslayout-1</td> <td>118,50</td> </tr> <tr> diff --git a/uitest/src/com/vaadin/tests/components/draganddropwrapper/DragAndDropDisable.java b/uitest/src/com/vaadin/tests/components/draganddropwrapper/DragAndDropDisable.java index fb7ed92967..02dc326ed8 100644 --- a/uitest/src/com/vaadin/tests/components/draganddropwrapper/DragAndDropDisable.java +++ b/uitest/src/com/vaadin/tests/components/draganddropwrapper/DragAndDropDisable.java @@ -31,9 +31,11 @@ public class DragAndDropDisable extends AbstractTestUI { addComponent(p); final CssLayout layout = new CssLayout(); + layout.setId("csslayout-1"); layout.setHeight("100px"); final DragAndDropWrapper dnd = new DragAndDropWrapper(layout); + dnd.setId("ddwrapper-1"); p.setContent(dnd); final CheckBox enabled = new CheckBox("Enabled", true); @@ -68,9 +70,11 @@ public class DragAndDropDisable extends AbstractTestUI { addComponent(p); final CssLayout layout = new CssLayout(); + layout.setId("csslayout-2"); layout.setHeight("100px"); final DragAndDropWrapper dnd = new DragAndDropWrapper(layout); + dnd.setId("ddwrapper-2"); p.setContent(dnd); final CheckBox enabled = new CheckBox("Enabled", true); diff --git a/uitest/src/com/vaadin/tests/components/orderedlayout/NestedLayoutCaptionTooltip.html b/uitest/src/com/vaadin/tests/components/orderedlayout/NestedLayoutCaptionTooltip.html new file mode 100644 index 0000000000..4f574a92c7 --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/orderedlayout/NestedLayoutCaptionTooltip.html @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="" /> +<title>New Test</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">New Test</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/run/com.vaadin.tests.applicationcontext.CloseSession?restartApplication&debug</td> + <td></td> +</tr> +<!-- Show tooltip for the Events caption --> +<tr> + <td>showTooltip</td> + <td>//div[@id='gwt-uid-4']/span</td> + <td></td> +</tr> +<!-- Verify that there's no error notification --> +<tr> + <td>assertElementNotPresent</td> + <td>vaadin=runcomvaadintestsapplicationcontextCloseSession::Root/VNotification[0]</td> + <td></td> +</tr> +</tbody></table> +</body> +</html> diff --git a/uitest/src/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.html b/uitest/src/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.html index ee9df2a241..825988173a 100644 --- a/uitest/src/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.html +++ b/uitest/src/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.html @@ -26,6 +26,11 @@ <td>right</td> </tr> <tr> + <td>pause</td> + <td>1000</td> + <td>1000</td> +</tr> +<tr> <td>assertText</td> <td>vaadin=runTabKeyboardNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VTabsheet[0]/VTabsheetPanel[0]/VVerticalLayout[1]/ChildComponentContainer[0]/VLabel[0]</td> <td>Tab 1</td> @@ -56,6 +61,11 @@ <td>right</td> </tr> <tr> + <td>pause</td> + <td>1000</td> + <td>1000</td> +</tr> +<tr> <td>assertText</td> <td>vaadin=runTabKeyboardNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VTabsheet[0]/VTabsheetPanel[0]/VVerticalLayout[3]/ChildComponentContainer[0]/VLabel[0]</td> <td>Tab 2</td> @@ -86,6 +96,11 @@ <td>right</td> </tr> <tr> + <td>pause</td> + <td>1000</td> + <td>1000</td> +</tr> +<tr> <td>assertText</td> <td>vaadin=runTabKeyboardNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VTabsheet[0]/VTabsheetPanel[0]/VVerticalLayout[4]/ChildComponentContainer[0]/VLabel[0]</td> <td>Tab 5</td> @@ -151,6 +166,11 @@ <td>right</td> </tr> <tr> + <td>pause</td> + <td>1000</td> + <td>1000</td> +</tr> +<tr> <td>assertText</td> <td>vaadin=runTabKeyboardNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VTabsheet[0]/VTabsheetPanel[0]/VVerticalLayout[8]/ChildComponentContainer[0]/VLabel[0]</td> <td>Tab 9</td> @@ -191,6 +211,11 @@ <td>left</td> </tr> <tr> + <td>pause</td> + <td>1000</td> + <td>1000</td> +</tr> +<tr> <td>assertText</td> <td>vaadin=runTabKeyboardNavigation::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[4]/VTabsheet[0]/VTabsheetPanel[0]/VVerticalLayout[0]/ChildComponentContainer[0]/VLabel[0]</td> <td>Tab 5</td> diff --git a/uitest/src/com/vaadin/tests/dd/NotPaintedAcceptSource.html b/uitest/src/com/vaadin/tests/dd/NotPaintedAcceptSource.html index 03a4830584..2fcede8be9 100644 --- a/uitest/src/com/vaadin/tests/dd/NotPaintedAcceptSource.html +++ b/uitest/src/com/vaadin/tests/dd/NotPaintedAcceptSource.html @@ -3,7 +3,6 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://selenium-ide.openqa.org/profiles/test-case"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -<link rel="selenium.base" href="http://localhost:8888/" /> <title>New Test</title> </head> <body> @@ -25,7 +24,7 @@ <tr> <td>drop</td> <td>vaadin=runcomvaadintestsddNotPaintedAcceptSource::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[1]/VScrollTable[0]/domChild[1]/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[0]/domChild[0]</td> - <td>124,20</td> + <td>0,0</td> </tr> <!--Assert drag was successful--> <tr> @@ -53,7 +52,7 @@ <tr> <td>drop</td> <td>vaadin=runcomvaadintestsddNotPaintedAcceptSource::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[1]/VScrollTable[0]/domChild[1]/domChild[0]/domChild[1]/domChild[0]/domChild[2]/domChild[0]/domChild[0]</td> - <td>139,18</td> + <td>0,0</td> </tr> <tr> <td>contextmenu</td> diff --git a/uitest/src/com/vaadin/tests/push/BarInUIDL.html b/uitest/src/com/vaadin/tests/push/BarInUIDL.html new file mode 100644 index 0000000000..66f03158b6 --- /dev/null +++ b/uitest/src/com/vaadin/tests/push/BarInUIDL.html @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="http://localhost:8888/" /> +<title>New Test</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">New Test</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/run-push/com.vaadin.tests.push.BarInUIDL?restartApplication</td> + <td></td> +</tr> +<tr> + <td>click</td> + <td>vaadin=runpushcomvaadintestspushBarInUIDL::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VButton[0]/domChild[0]</td> + <td></td> +</tr> +<tr> + <td>assertText</td> + <td>vaadin=runpushcomvaadintestspushBarInUIDL::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[1]/VLabel[0]</td> + <td>Thank you for clicking | bar</td> +</tr> +<tr> + <td>click</td> + <td>vaadin=runpushcomvaadintestspushBarInUIDL::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VButton[0]/domChild[0]</td> + <td></td> +</tr> +<tr> + <td>assertText</td> + <td>vaadin=runpushcomvaadintestspushBarInUIDL::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[2]/VLabel[0]</td> + <td>Thank you for clicking | bar</td> +</tr> + +</tbody></table> +</body> +</html> diff --git a/uitest/src/com/vaadin/tests/push/BarInUIDL.java b/uitest/src/com/vaadin/tests/push/BarInUIDL.java new file mode 100644 index 0000000000..7e414cc89d --- /dev/null +++ b/uitest/src/com/vaadin/tests/push/BarInUIDL.java @@ -0,0 +1,66 @@ +/* + * Copyright 2000-2013 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + +package com.vaadin.tests.push; + +import com.vaadin.server.VaadinRequest; +import com.vaadin.tests.components.AbstractTestUI; +import com.vaadin.ui.Button; +import com.vaadin.ui.Button.ClickEvent; +import com.vaadin.ui.Label; + +public class BarInUIDL extends AbstractTestUI { + + /* + * (non-Javadoc) + * + * @see com.vaadin.tests.components.AbstractTestUI#setup(com.vaadin.server. + * VaadinRequest) + */ + @Override + protected void setup(VaadinRequest request) { + Button button = new Button("Click Me"); + button.addClickListener(new Button.ClickListener() { + @Override + public void buttonClick(ClickEvent event) { + addComponent(new Label("Thank you for clicking | bar")); + } + }); + addComponent(button); + + } + + /* + * (non-Javadoc) + * + * @see com.vaadin.tests.components.AbstractTestUI#getTestDescription() + */ + @Override + protected String getTestDescription() { + return "Verify that there is no problem with messages containing | by clicking the button repeatedly"; + } + + /* + * (non-Javadoc) + * + * @see com.vaadin.tests.components.AbstractTestUI#getTicketNumber() + */ + @Override + protected Integer getTicketNumber() { + return 12404; + } + +} |