rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
assertNull(serviceMonitor.stopError); | if (stopStrategy == StopStrategies.FORCE) { assertNotNull(serviceMonitor.stopError); ForcedStopException cause = (ForcedStopException) serviceMonitor.stopError.getCause(); assertTrue(cause.getUnsatisfiedConditions().contains(stopCondition)); } else { assertNull(serviceMonitor.stopError); } | private void stop(StopStrategy stopStrategy) throws Exception { serviceMonitor.reset(); startCondition.reset(); stopCondition.reset(); ServiceState initialState = serviceManager.getState(); serviceManager.stop(stopStrategy); assertSame(serviceName, serviceManager.getService... |
if (initialState != ServiceState.STOPPING) { | if (stopStrategy == StopStrategies.FORCE) { assertEquals(serviceMonitor.stopping.getEventId() + 1, serviceMonitor.stopError.getEventId()); assertEquals(serviceMonitor.stopping.getEventId() + 2, serviceMonitor.stopped.getEventId()); } else if (initialState != ServiceState.STOPPING) { | private void stop(StopStrategy stopStrategy) throws Exception { serviceMonitor.reset(); startCondition.reset(); stopCondition.reset(); ServiceState initialState = serviceManager.getState(); serviceManager.stop(stopStrategy); assertSame(serviceName, serviceManager.getService... |
destroy(); | destroy(StopStrategies.SYNCHRONOUS); | public void testInitializeDestroy() throws Exception { initialize(); destroy(); initialize(); destroy(); } |
startException(StartStrategies.ASYNCHRONOUS); startException(StartStrategies.SYNCHRONOUS); startException(StartStrategies.UNREGISTER); startException(StartStrategies.BLOCK); | startException(StartStrategies.ASYNCHRONOUS, false); startException(StartStrategies.SYNCHRONOUS, false); startException(StartStrategies.UNREGISTER, false); startException(StartStrategies.BLOCK, false); | public void testStartException() throws Exception { startException(StartStrategies.ASYNCHRONOUS); startException(StartStrategies.SYNCHRONOUS); startException(StartStrategies.UNREGISTER); startException(StartStrategies.BLOCK); startException(StartStrategies.ASYNCHRONOUS); st... |
startRecursive(StartStrategies.ASYNCHRONOUS); startRecursive(StartStrategies.SYNCHRONOUS); startRecursive(StartStrategies.UNREGISTER); startRecursive(StartStrategies.BLOCK); | startStop(StartStrategies.ASYNCHRONOUS, true); startStop(StartStrategies.SYNCHRONOUS, true); startStop(StartStrategies.UNREGISTER, true); startStop(StartStrategies.BLOCK, true); | public void testStartRecursive() throws Exception { startRecursive(StartStrategies.ASYNCHRONOUS); startRecursive(StartStrategies.SYNCHRONOUS); startRecursive(StartStrategies.UNREGISTER); startRecursive(StartStrategies.BLOCK); startRecursive(StartStrategies.ASYNCHRONOUS); st... |
startStop(StartStrategies.ASYNCHRONOUS); startStop(StartStrategies.SYNCHRONOUS); startStop(StartStrategies.UNREGISTER); startStop(StartStrategies.BLOCK); | startStop(StartStrategies.ASYNCHRONOUS, false); startStop(StartStrategies.SYNCHRONOUS, false); startStop(StartStrategies.UNREGISTER, false); startStop(StartStrategies.BLOCK, false); | public void testStartStop() throws Exception { startStop(StartStrategies.ASYNCHRONOUS); startStop(StartStrategies.SYNCHRONOUS); startStop(StartStrategies.UNREGISTER); startStop(StartStrategies.BLOCK); startStop(StartStrategies.ASYNCHRONOUS); startStop(StartStrategies.SYNCHR... |
startCondition.satisfied = false; start(false, StartStrategies.ASYNCHRONOUS); stop(StopStrategies.ASYNCHRONOUS); | startWaiting(StartStrategies.ASYNCHRONOUS, false); startWaiting(StartStrategies.SYNCHRONOUS, false); startWaiting(StartStrategies.UNREGISTER, false); | public void testStartWaiting() throws Exception { startCondition.satisfied = false; start(false, StartStrategies.ASYNCHRONOUS); stop(StopStrategies.ASYNCHRONOUS); start(false, StartStrategies.ASYNCHRONOUS); stop(StopStrategies.ASYNCHRONOUS); } |
start(false, StartStrategies.ASYNCHRONOUS); stop(StopStrategies.ASYNCHRONOUS); | startWaiting(StartStrategies.ASYNCHRONOUS, false); startWaiting(StartStrategies.SYNCHRONOUS, false); startWaiting(StartStrategies.UNREGISTER, false); | public void testStartWaiting() throws Exception { startCondition.satisfied = false; start(false, StartStrategies.ASYNCHRONOUS); stop(StopStrategies.ASYNCHRONOUS); start(false, StartStrategies.ASYNCHRONOUS); stop(StopStrategies.ASYNCHRONOUS); } |
startCondition.satisfied = false; start(false, StartStrategies.ASYNCHRONOUS); start(false, StartStrategies.ASYNCHRONOUS); startCondition.satisfied = true; start(false, StartStrategies.ASYNCHRONOUS); start(false, StartStrategies.ASYNCHRONOUS); stop(StopStrategies.ASYNCHRONOUS); | startWaitingStart(StartStrategies.ASYNCHRONOUS, false); startWaitingStart(StartStrategies.SYNCHRONOUS, false); startWaitingStart(StartStrategies.UNREGISTER, false); | public void testStartWaitingStart() throws Exception { startCondition.satisfied = false; start(false, StartStrategies.ASYNCHRONOUS); start(false, StartStrategies.ASYNCHRONOUS); startCondition.satisfied = true; start(false, StartStrategies.ASYNCHRONOUS); start(false, StartSt... |
start(false, StartStrategies.ASYNCHRONOUS); stopCondition.satisfied = false; stop(StopStrategies.ASYNCHRONOUS); stop(StopStrategies.ASYNCHRONOUS); stopCondition.satisfied = true; stop(StopStrategies.ASYNCHRONOUS); start(false, StartStrategies.ASYNCHRONOUS); stopCondition.satisfied = false; stop(StopStrategies.ASYNCHRO... | waitingStop(StopStrategies.ASYNCHRONOUS); waitingStop(StopStrategies.SYNCHRONOUS); waitingStop(StopStrategies.FORCE); | public void testWaitingStop() throws Exception { start(false, StartStrategies.ASYNCHRONOUS); stopCondition.satisfied = false; stop(StopStrategies.ASYNCHRONOUS); stop(StopStrategies.ASYNCHRONOUS); stopCondition.satisfied = true; stop(StopStrategies.ASYNCHRONOUS); star... |
ResourceUtils.resButton(logoutWithStatus, "Log out with status"); | ResourceUtils.resButton(logoutWithStatus, "Log Out with &status"); | private void configureMenu() { // setup file menu JMenuItem exitMenuItem = new JMenuItem("Exit"); // Setup ResourceUtils ResourceUtils.resButton(connectMenu, "&" + Default.getString(Default.APPLICATION_NAME)); ResourceUtils.resButton(contactsMenu, "Con&tacts"); ResourceUtil... |
public String getInput(String title, String description, Icon icon, Component parent) { textArea = new JTextArea(); subjectField = new JTextField(); textArea.setLineWrap(true); | public String getInput(String title, String description, Icon icon, int width, int height) { this.width = width; this.height = height; | public String getInput(String title, String description, Icon icon, Component parent) { textArea = new JTextArea(); subjectField = new JTextField(); textArea.setLineWrap(true); TitlePanel titlePanel = new TitlePanel(title, description, icon, true); // Construct main panel w/ layou... |
TitlePanel titlePanel = new TitlePanel(title, description, icon, true); final JPanel mainPanel = new JPanel(); mainPanel.setLayout(new BorderLayout()); mainPanel.add(titlePanel, BorderLayout.NORTH); final JPanel centerPanel = new JPanel(new GridBagLayout()); final Object[] options = {"Ok", "Cancel"}; optionPane =... | return getInput(title, description, icon, SparkManager.getMainWindow()); | public String getInput(String title, String description, Icon icon, Component parent) { textArea = new JTextArea(); subjectField = new JTextField(); textArea.setLineWrap(true); TitlePanel titlePanel = new TitlePanel(title, description, icon, true); // Construct main panel w/ layou... |
Reader in = getReader(); | source = getReader(); | public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access _content. We must // ensure that any data copied into _content is ready for public // use--which means dealing with two subtle issues. First, the Block ... |
editArticleBlock.setEditView(editMode); | editArticleBlock.setEditMode(editMode); | public void initializeContent(){ //TODO Remove this and use newer localization system: FacesContext context = FacesContext.getCurrentInstance(); WFPage.loadResourceBundles(context); super.initializeContent(); String bref = WFPage.CONTENT_BUNDLE + "."; WFTabbedPane tb = new WFTabbedPane(); //tb.setMainAreaStyl... |
errors.add(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | errors.addAll(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | public void serviceRegistered(ServiceEvent serviceEvent) { List errors = new ArrayList(); Set serviceMonitors = getServiceMonitors(serviceEvent.getServiceName()); for (Iterator iterator = serviceMonitors.iterator(); iterator.hasNext();) { ServiceMonitor serviceMonitor = (ServiceMonit... |
} catch (Exception e) { errors.add(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | } catch (Throwable e) { errors.addAll(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | public void serviceStarting(ServiceEvent serviceEvent) { List errors = new ArrayList(); Set serviceMonitors = getServiceMonitors(serviceEvent.getServiceName()); for (Iterator iterator = serviceMonitors.iterator(); iterator.hasNext();) { ServiceMonitor serviceMonitor = (ServiceMonitor... |
} catch (Exception e) { errors.add(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | } catch (Throwable e) { errors.addAll(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | public void serviceWaitingToStart(ServiceEvent serviceEvent) { List errors = new ArrayList(); Set serviceMonitors = getServiceMonitors(serviceEvent.getServiceName()); for (Iterator iterator = serviceMonitors.iterator(); iterator.hasNext();) { ServiceMonitor serviceMonitor = (ServiceM... |
} catch (Exception e) { errors.add(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | } catch (Throwable e) { errors.addAll(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | public void serviceStartError(ServiceEvent serviceEvent) { List errors = new ArrayList(); Set serviceMonitors = getServiceMonitors(serviceEvent.getServiceName()); for (Iterator iterator = serviceMonitors.iterator(); iterator.hasNext();) { ServiceMonitor serviceMonitor = (ServiceMonit... |
} catch (Exception e) { errors.add(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | } catch (Throwable e) { errors.addAll(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | public void serviceRunning(ServiceEvent serviceEvent) { List errors = new ArrayList(); Set serviceMonitors = getServiceMonitors(serviceEvent.getServiceName()); for (Iterator iterator = serviceMonitors.iterator(); iterator.hasNext();) { ServiceMonitor serviceMonitor = (ServiceMonitor)... |
} catch (Exception e) { errors.add(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | } catch (Throwable e) { errors.addAll(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | public void serviceStopping(ServiceEvent serviceEvent) { List errors = new ArrayList(); Set serviceMonitors = getServiceMonitors(serviceEvent.getServiceName()); for (Iterator iterator = serviceMonitors.iterator(); iterator.hasNext();) { ServiceMonitor serviceMonitor = (ServiceMonitor... |
} catch (Exception e) { errors.add(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | } catch (Throwable e) { errors.addAll(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | public void serviceWaitingToStop(ServiceEvent serviceEvent) { List errors = new ArrayList(); Set serviceMonitors = getServiceMonitors(serviceEvent.getServiceName()); for (Iterator iterator = serviceMonitors.iterator(); iterator.hasNext();) { ServiceMonitor serviceMonitor = (ServiceMo... |
} catch (Exception e) { errors.add(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | } catch (Throwable e) { errors.addAll(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | public void serviceStopError(ServiceEvent serviceEvent) { List errors = new ArrayList(); Set serviceMonitors = getServiceMonitors(serviceEvent.getServiceName()); for (Iterator iterator = serviceMonitors.iterator(); iterator.hasNext();) { ServiceMonitor serviceMonitor = (ServiceMonito... |
} catch (Exception e) { errors.add(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | } catch (Throwable e) { errors.addAll(fireServiceNotificationError(serviceMonitor, serviceEvent, e)); | public void serviceStopped(ServiceEvent serviceEvent) { List errors = new ArrayList(); Set serviceMonitors = getServiceMonitors(serviceEvent.getServiceName()); for (Iterator iterator = serviceMonitors.iterator(); iterator.hasNext();) { ServiceMonitor serviceMonitor = (ServiceMonitor)... |
} catch (Exception e) { | } catch (Throwable e) { | public void serviceUnregistered(ServiceEvent serviceEvent) { List errors = new ArrayList(); Set serviceMonitors = getServiceMonitors(serviceEvent.getServiceName()); for (Iterator iterator = serviceMonitors.iterator(); iterator.hasNext();) { ServiceMonitor serviceMonitor = (ServiceMon... |
serviceMonitors.put(serviceName, serviceMonitor); | serviceMonitors.put(serviceName, monitors); | public void addServiceMonitor(ServiceMonitor serviceMonitor, ServiceName serviceName) { synchronized (serviceMonitors) { Set monitors = (Set) serviceMonitors.get(serviceName); if (monitors == null) { monitors = new LinkedHashSet(); serviceMonitors.put(servi... |
public void load(File file) throws XmlException, IOException{ | public void load(String path) throws XmlException, IOException{ IWUserContext iwuc = IWContext.getInstance(); IWApplicationContext iwac = iwuc.getApplicationContext(); IWSlideSession session = (IWSlideSession)IBOLookup.getSessionInstance(iwuc,IWSlideSession.class); IWSlideService service = (IWSlideService)IBOLookup.ge... | public void load(File file) throws XmlException, IOException{ ArticleDocument articleDoc; articleDoc = ArticleDocument.Factory.parse(file); ArticleDocument.Article article = articleDoc.getArticle();// ArticleItemBean articleBean = new ArticleItemBean(); setHeadline(article.getHeadline()); setBod... |
articleDoc = ArticleDocument.Factory.parse(file); | articleDoc = ArticleDocument.Factory.parse(webdavResource.getMethodDataAsString()); | public void load(File file) throws XmlException, IOException{ ArticleDocument articleDoc; articleDoc = ArticleDocument.Factory.parse(file); ArticleDocument.Article article = articleDoc.getArticle();// ArticleItemBean articleBean = new ArticleItemBean(); setHeadline(article.getHeadline()); setBod... |
String category = ""; int lastSlash = path.lastIndexOf('/'); if(lastSlash>0) { category = path.substring(0,lastSlash); } setMainCategory(category); | public void load(File file) throws XmlException, IOException{ ArticleDocument articleDoc; articleDoc = ArticleDocument.Factory.parse(file); ArticleDocument.Article article = articleDoc.getArticle();// ArticleItemBean articleBean = new ArticleItemBean(); setHeadline(article.getHeadline()); setBod... | |
String filename = getHeadline(); if(null==filename || filename.length()==0) { filename = "empty"; | String filename = getHeadline(); if(null==filename || filename.length()==0) { filename = "empty"; } /* File path = new File(getMainCategory()); if(!path.exists()) { path.mkdirs(); | public Boolean store() { boolean storeOk = true; clearErrorKeys(); ArticleDocument articleDoc = ArticleDocument.Factory.newInstance(); ArticleDocument.Article article = articleDoc.addNewArticle(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; ... |
try { articleDoc.save(new File("/Test/article/"+filename+".xml")); | */ try { IWUserContext iwuc = IWContext.getInstance(); IWApplicationContext iwac = iwuc.getApplicationContext(); IWSlideSession session = (IWSlideSession)IBOLookup.getSessionInstance(iwuc,IWSlideSession.class); IWSlideService service = (IWSlideService)IBOLookup.getServiceInstance(iwac,IWSlideService.class); System.ou... | public Boolean store() { boolean storeOk = true; clearErrorKeys(); ArticleDocument articleDoc = ArticleDocument.Factory.newInstance(); ArticleDocument.Article article = articleDoc.addNewArticle(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; ... |
public static final String createToolTip(String text) { | public static final String createToolTip(String text, int width) { | public static final String createToolTip(String text) { final String htmlColor = toHTMLColor(TOOLTIP_COLOR); final String toolTip = "<html><table bgColor=" + htmlColor + "><tr><td>" + text + "</td></tr></table></table>"; return toolTip; } |
final String toolTip = "<html><table bgColor=" + htmlColor + "><tr><td>" + text + "</td></tr></table></table>"; | final String toolTip = "<html><table width=" + width + " bgColor=" + htmlColor + "><tr><td>" + text + "</td></tr></table></table>"; | public static final String createToolTip(String text) { final String htmlColor = toHTMLColor(TOOLTIP_COLOR); final String toolTip = "<html><table bgColor=" + htmlColor + "><tr><td>" + text + "</td></tr></table></table>"; return toolTip; } |
_providers.clear(); | synchronized public void shutdown() { _log.notice("shutting down"); Enumeration e = _providers.elements(); _providers.clear(); while (e.hasMoreElements()) { Provider pr = (Provider) e.nextElement(); _log.info("stopping: " + pr); pr.destroy(); } _ls.flush(); } | |
_providers.clear(); | synchronized public void shutdown() { _log.notice("shutting down"); Enumeration e = _providers.elements(); _providers.clear(); while (e.hasMoreElements()) { Provider pr = (Provider) e.nextElement(); _log.info("stopping: " + pr); pr.destroy(); } _ls.flush(); } | |
public static LogSystem getInstance(String category) { synchronized (_instances) { if (category == null) return _singleton; LogSystem ls = (LogSystem) _instances.get(category); if (ls == null) { ls = new LogSystem(category); _instances.put(category, ls); } return ls; } | public static LogSystem getInstance() { return getInstance(null); | public static LogSystem getInstance(String category) { synchronized (_instances) { if (category == null) return _singleton; LogSystem ls = (LogSystem) _instances.get(category); if (ls == null) { ls = new LogSystem(category); _instances.put(category, ls); } ... |
synchronized public Log getLog(String type, String description) { LogSource l = (LogSource) _logs.get(type); if (l != null) return l; l = new LogSource(_category, type, description); _logs.put(type, l); Iterator i = _targets.iterator(); while (i.hasNext()) { LogTarget lt = (LogTarget) i.next(); for (int level = LogSy... | public Log getLog(String type) { return getLog(type, type); | synchronized public Log getLog(String type, String description) { LogSource l = (LogSource) _logs.get(type); if (l != null) return l; l = new LogSource(_category, type, description); _logs.put(type, l); Iterator i = _targets.iterator(); while (i.hasNext()) { LogTarget lt... |
public void load(URL u) throws IOException { InputStream in = u.openStream(); _props.load(in); in.close(); | public void load(String fileName) throws InitException, IOException { ClassLoader cl = this.getClass().getClassLoader(); URL u = cl.getResource(fileName); if (u == null) u = ClassLoader.getSystemResource(fileName); if (u == null) try { u = new URL("file:" + fileName); } catch (MalformedURLException e) { }; if (u == nu... | public void load(URL u) throws IOException { InputStream in = u.openStream(); _props.load(in); in.close(); } |
controllers.invokeControllerMethod(methodDescriptor, e); | dispatcher.invokeControllerMethod(methodDescriptor, e); | public void handleEvent(Event e) { String methodDescriptor = srcToEvtToMethod.get(e.widget).get(e.type); controllers.invokeControllerMethod(methodDescriptor, e); } |
try { if (customList.contains(StringUtils.parseBareAddress(message.getFrom()))) { cancelledNotification(message.getFrom(), ""); } } catch (Exception e) { Log.error(e); } | public void filterIncomingMessage(ChatRoom room, Message message) { // Fire Message Filters final ChatManager chatManager = SparkManager.getChatManager(); Iterator filters = chatManager.getMessageFilters().iterator(); while (filters.hasNext()) { ((MessageFilter)filters.next())... | |
c = (Context) _context.clone(); | c = (Context) _context.clone(); c.setPool(cpool); | final public Context getContext() { Pool cpool = (Pool) _contextCache.get(); Context c = (Context) cpool.get(); if (c == null) { c = (Context) _context.clone(); } c.setPool(cpool); return c; } |
c.setPool(cpool); | else c.clear(); | final public Context getContext() { Pool cpool = (Pool) _contextCache.get(); Context c = (Context) cpool.get(); if (c == null) { c = (Context) _context.clone(); } c.setPool(cpool); return c; } |
c = _webContext.newInstance(req,resp); | c = _webContext.newInstance(req,resp); c.setPool(cpool); | final public WebContext getWebContext(HttpServletRequest req, HttpServletResponse resp) { Pool cpool = (Pool) _webContextCache.get(); WebContext c = (WebContext) cpool.get(); if (c == null) { c = _webContext.newInstance(req,resp); } Context ctx = c; ctx.setPool(cp... |
Context ctx = c; ctx.setPool(cpool); | else c.reinitialize(req, resp); | final public WebContext getWebContext(HttpServletRequest req, HttpServletResponse resp) { Pool cpool = (Pool) _webContextCache.get(); WebContext c = (WebContext) cpool.get(); if (c == null) { c = _webContext.newInstance(req,resp); } Context ctx = c; ctx.setPool(cp... |
l.mapEvent(menu, SWT.Show, TreeContextMenuController.INITIALISE_MENU); | l.mapEvent(menu, SWT.Show, TreeController.INITIALISE_CONTEXT_MENU); l.mapEvent(menu, SWT.Dispose, TreeController.DISPOSE_CONTEXT_MENU); | public TreeContextMenu(Control parent, Listener l) { // menu menu = new Menu(parent); l.mapEvent(menu, SWT.Show, TreeContextMenuController.INITIALISE_MENU); parent.setMenu(menu); // menu items addNote = createMenuItem(menu, "Add Note", l, TreeContextMenuController.ADD_NOTE); removeNotes = createMenuItem(men... |
add(scrollPane, new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(5, 5, 5, 5), 0, 0)); | add(scrollPane, new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(5, 5, 5, 5), 30, 0)); | public PreferencesPanel(Iterator preferences) { this.setLayout(new GridBagLayout()); titleLabel.setText(Res.getString("title.preferences")); titleLabel.setFont(new Font("Dialog", Font.BOLD, 15)); JScrollPane scrollPane = new JScrollPane(list); scrollPane.setPreferredSize(new Dimen... |
case END: | final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_11: while (true) { switc... | |
case RBRACE: | final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_11: while (true) { switc... | |
case END: | final public BlockBuilder LiteralBlock() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(); Token t; if (jj_2_20(2147483647)) { jj_consume_token(LBRACE); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case BEGIN: ca... | |
case RBRACE: | final public BlockBuilder LiteralBlock() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(); Token t; if (jj_2_20(2147483647)) { jj_consume_token(LBRACE); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case BEGIN: ca... | |
case END: | final public BlockBuilder WMDocument() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(); Token t; label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case BEGIN: case END: case LBRACE: case RBRACE: case POUNDPOUND: cas... | |
case RBRACE: | final public BlockBuilder WMDocument() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(); Token t; label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case BEGIN: case END: case LBRACE: case RBRACE: case POUNDPOUND: cas... | |
if (jj_scan_token(WS)) return true; | if (jj_scan_token(BEGIN)) return true; | final private boolean jj_3R_15() { if (jj_scan_token(WS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(WS)) return true; | if (jj_scan_token(LBRACE)) return true; | final private boolean jj_3R_16() { if (jj_scan_token(WS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_MULT)) return true; | if (jj_scan_token(WS)) return true; | final private boolean jj_3R_18() { if (jj_scan_token(OP_MULT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_DIV)) return true; | if (jj_scan_token(WS)) return true; | final private boolean jj_3R_19() { if (jj_scan_token(OP_DIV)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(WS)) return true; | if (jj_scan_token(OP_MULT)) return true; | final private boolean jj_3R_20() { if (jj_scan_token(WS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
Token xsp; xsp = jj_scanpos; if (jj_3R_42()) { jj_scanpos = xsp; if (jj_3R_43()) { jj_scanpos = xsp; if (jj_3R_44()) { jj_scanpos = xsp; if (jj_3R_45()) { jj_scanpos = xsp; if (jj_3R_46()) { jj_scanpos = xsp; if (jj_3R_47()) { jj_scanpos = xsp; if (jj_3R_48()) { jj_scanpos = xsp; if (jj_3R_49()) { jj_scanpos = xsp; if ... | if (jj_scan_token(OP_DIV)) return true; | final private boolean jj_3R_21() { Token xsp; xsp = jj_scanpos; if (jj_3R_42()) { jj_scanpos = xsp; if (jj_3R_43()) { jj_scanpos = xsp; if (jj_3R_44()) { jj_scanpos = xsp; if (jj_3R_45()) { jj_scanpos = xsp; if (jj_3R_46()) { jj_scanpos = xsp; if (jj_3R_47()) { jj_scanpos = x... |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return fa... | final private boolean jj_3R_21() { Token xsp; xsp = jj_scanpos; if (jj_3R_42()) { jj_scanpos = xsp; if (jj_3R_43()) { jj_scanpos = xsp; if (jj_3R_44()) { jj_scanpos = xsp; if (jj_3R_45()) { jj_scanpos = xsp; if (jj_3R_46()) { jj_scanpos = xsp; if (jj_3R_47()) { jj_scanpos = x... | |
if (jj_scan_token(OP_PLUS)) return true; | Token xsp; xsp = jj_scanpos; if (jj_3R_44()) { jj_scanpos = xsp; if (jj_3R_45()) { jj_scanpos = xsp; if (jj_3R_46()) { jj_scanpos = xsp; if (jj_3R_47()) { jj_scanpos = xsp; if (jj_3R_48()) { jj_scanpos = xsp; if (jj_3R_49()) { jj_scanpos = xsp; if (jj_3R_50()) { jj_scanpos = xsp; if (jj_3R_51()) { jj_scanpos = xsp; if ... | final private boolean jj_3R_23() { if (jj_scan_token(OP_PLUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return fa... | final private boolean jj_3R_23() { if (jj_scan_token(OP_PLUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | |
if (jj_scan_token(OP_MINUS)) return true; | if (jj_scan_token(WS)) return true; | final private boolean jj_3R_24() { if (jj_scan_token(OP_MINUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(WS)) return true; | if (jj_scan_token(OP_PLUS)) return true; | final private boolean jj_3R_25() { if (jj_scan_token(WS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_3R_21()) return true; | if (jj_scan_token(OP_MINUS)) return true; | final private boolean jj_3R_26() { if (jj_3R_21()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
Token xsp; xsp = jj_scanpos; if (jj_3R_52()) { jj_scanpos = xsp; if (jj_3R_53()) { jj_scanpos = xsp; if (jj_3R_54()) { jj_scanpos = xsp; if (jj_3R_55()) { jj_scanpos = xsp; if (jj_3R_56()) { jj_scanpos = xsp; if (jj_3R_57()) { jj_scanpos = xsp; if (jj_3R_58()) return true; | if (jj_3R_23()) return true; | final private boolean jj_3R_28() { Token xsp; xsp = jj_scanpos; if (jj_3R_52()) { jj_scanpos = xsp; if (jj_3R_53()) { jj_scanpos = xsp; if (jj_3R_54()) { jj_scanpos = xsp; if (jj_3R_55()) { jj_scanpos = xsp; if (jj_3R_56()) { jj_scanpos = xsp; if (jj_3R_57()) { jj_scanpos = x... |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return fa... | final private boolean jj_3R_28() { Token xsp; xsp = jj_scanpos; if (jj_3R_52()) { jj_scanpos = xsp; if (jj_3R_53()) { jj_scanpos = xsp; if (jj_3R_54()) { jj_scanpos = xsp; if (jj_3R_55()) { jj_scanpos = xsp; if (jj_3R_56()) { jj_scanpos = xsp; if (jj_3R_57()) { jj_scanpos = x... | |
if (jj_3R_26()) return true; | Token xsp; xsp = jj_scanpos; if (jj_3R_54()) { jj_scanpos = xsp; if (jj_3R_55()) { jj_scanpos = xsp; if (jj_3R_56()) { jj_scanpos = xsp; if (jj_3R_57()) { jj_scanpos = xsp; if (jj_3R_58()) { jj_scanpos = xsp; if (jj_3R_59()) { jj_scanpos = xsp; if (jj_3R_60()) return true; | final private boolean jj_3R_30() { if (jj_3R_26()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return fa... | final private boolean jj_3R_30() { if (jj_3R_26()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | |
if (jj_scan_token(WS)) return true; | if (jj_3R_28()) return true; | final private boolean jj_3R_32() { if (jj_scan_token(WS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_3R_30()) return true; | if (jj_scan_token(WS)) return true; | final private boolean jj_3R_33() { if (jj_3R_30()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(WS)) return true; | if (jj_3R_32()) return true; | final private boolean jj_3R_35() { if (jj_scan_token(WS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_3R_33()) return true; | if (jj_scan_token(WS)) return true; | final private boolean jj_3R_36() { if (jj_3R_33()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(DOLLAR)) return true; | if (jj_scan_token(WS)) return true; | final private boolean jj_3R_37() { if (jj_scan_token(DOLLAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(LPAREN)) return true; | if (jj_3R_35()) return true; | final private boolean jj_3R_38() { if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_3R_59()) return true; | if (jj_scan_token(DOLLAR)) return true; | final private boolean jj_3R_39() { if (jj_3R_59()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
Token xsp; xsp = jj_scanpos; if (jj_3R_60()) { jj_scanpos = xsp; if (jj_3R_61()) return true; | if (jj_scan_token(LPAREN)) return true; | final private boolean jj_3R_40() { Token xsp; xsp = jj_scanpos; if (jj_3R_60()) { jj_scanpos = xsp; if (jj_3R_61()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | final private boolean jj_3R_40() { Token xsp; xsp = jj_scanpos; if (jj_3R_60()) { jj_scanpos = xsp; if (jj_3R_61()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | |
if (jj_3R_62()) return true; | if (jj_3R_61()) return true; | final private boolean jj_3R_41() { if (jj_3R_62()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | final private boolean jj_3R_42() { if (jj_3R_63()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | |
if (jj_scan_token(LPAREN)) return true; | if (jj_3R_64()) return true; | final private boolean jj_3R_43() { if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_3R_64()) return true; | if (jj_3R_65()) return true; | final private boolean jj_3R_44() { if (jj_3R_64()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_3R_65()) return true; | if (jj_scan_token(LPAREN)) return true; | final private boolean jj_3R_45() { if (jj_3R_65()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(NULL)) return true; | if (jj_3R_66()) return true; | final private boolean jj_3R_46() { if (jj_scan_token(NULL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(TRUE)) return true; | if (jj_3R_67()) return true; | final private boolean jj_3R_47() { if (jj_scan_token(TRUE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(FALSE)) return true; | if (jj_scan_token(NULL)) return true; | final private boolean jj_3R_48() { if (jj_scan_token(FALSE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_NOT)) return true; | if (jj_scan_token(TRUE)) return true; | final private boolean jj_3R_49() { if (jj_scan_token(OP_NOT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(NUMBER)) return true; | if (jj_scan_token(FALSE)) return true; | final private boolean jj_3R_50() { if (jj_scan_token(NUMBER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_MINUS)) return true; | if (jj_scan_token(OP_NOT)) return true; | final private boolean jj_3R_51() { if (jj_scan_token(OP_MINUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_EQ)) return true; | if (jj_scan_token(NUMBER)) return true; | final private boolean jj_3R_52() { if (jj_scan_token(OP_EQ)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_SET)) return true; | if (jj_scan_token(OP_MINUS)) return true; | final private boolean jj_3R_53() { if (jj_scan_token(OP_SET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_NE)) return true; | if (jj_scan_token(OP_EQ)) return true; | final private boolean jj_3R_54() { if (jj_scan_token(OP_NE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_GT)) return true; | if (jj_scan_token(OP_SET)) return true; | final private boolean jj_3R_55() { if (jj_scan_token(OP_GT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_GE)) return true; | if (jj_scan_token(OP_NE)) return true; | final private boolean jj_3R_56() { if (jj_scan_token(OP_GE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_LE)) return true; | if (jj_scan_token(OP_GT)) return true; | final private boolean jj_3R_57() { if (jj_scan_token(OP_LE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_LT)) return true; | if (jj_scan_token(OP_GE)) return true; | final private boolean jj_3R_58() { if (jj_scan_token(OP_LT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
Token xsp; xsp = jj_scanpos; if (jj_3R_66()) { jj_scanpos = xsp; if (jj_3R_67()) { jj_scanpos = xsp; if (jj_3R_68()) { jj_scanpos = xsp; if (jj_3R_69()) { jj_scanpos = xsp; if (jj_3R_70()) return true; | if (jj_scan_token(OP_LE)) return true; | final private boolean jj_3R_59() { Token xsp; xsp = jj_scanpos; if (jj_3R_66()) { jj_scanpos = xsp; if (jj_3R_67()) { jj_scanpos = xsp; if (jj_3R_68()) { jj_scanpos = xsp; if (jj_3R_69()) { jj_scanpos = xsp; if (jj_3R_70()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) r... |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | final private boolean jj_3R_59() { Token xsp; xsp = jj_scanpos; if (jj_3R_66()) { jj_scanpos = xsp; if (jj_3R_67()) { jj_scanpos = xsp; if (jj_3R_68()) { jj_scanpos = xsp; if (jj_3R_69()) { jj_scanpos = xsp; if (jj_3R_70()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) r... | |
if (jj_scan_token(LBRACE)) return true; | if (jj_scan_token(OP_LT)) return true; | final private boolean jj_3R_60() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(RBRACE)) return true; | Token xsp; xsp = jj_scanpos; if (jj_3R_68()) { jj_scanpos = xsp; if (jj_3R_69()) { jj_scanpos = xsp; if (jj_3R_70()) { jj_scanpos = xsp; if (jj_3R_71()) { jj_scanpos = xsp; if (jj_3R_72()) return true; | final private boolean jj_3R_61() { if (jj_scan_token(RBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | final private boolean jj_3R_61() { if (jj_scan_token(RBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.