Examples of SourceInfo


Examples of com.google.gwt.dev.jjs.SourceInfo

      return processBinaryOperation(info, JBinaryOperator.OR, type, x.left,
          x.right);
    }

    JExpression processExpression(PostfixExpression x) {
      SourceInfo info = makeSourceInfo(x);
      JUnaryOperator op;

      switch (x.operator) {
        case PostfixExpression.MINUS:
          op = JUnaryOperator.DEC;
View Full Code Here

Examples of com.linkedin.databus.bootstrap.common.SourceInfo

  @Override
  public ConsumerCallbackResult onStartSource(String source, Schema sourceSchema)
  {
    _numEvents = 0;
    boolean ret = false;
    SourceInfo srcInfo = null;
    _currentSource = source;
    _srcRm.start();
    try
    {
      srcInfo = _trackedSources.get(source);
      if (null == srcInfo)
      {
        LOG.error("Source :"
            + source
            + " not managed in this bootstrap DB instance !! Managed Sources : ("
            + _trackedSources + ")");
        return ConsumerCallbackResult.ERROR;
      }
      ret = prepareStatement(srcInfo.getSrcId());
    } catch (SQLException e)
    {

      if (null != _statsCollector)
        _statsCollector.registerSQLException();
View Full Code Here

Examples of com.wiquery.plugins.demo.code.SourceInfo

   * Use this method to add INFO pages.
   *
   * @param codeInfos
   */
  private void addThisSourceCode(List<SourceInfo> codeInfos) {
    codeInfos.add(new SourceInfo(BasePage.class));
    codeInfos.add(new SourceInfo(BasePage.class, FORMAT.HTML, "BasePage.html", "BasePage.html"));
  }
View Full Code Here

Examples of hu.sztaki.ilab.longneck.process.SourceInfo

                blockStack.addLast(String.format("%1$s:%2$s",
                        attributes.getValue("id"), attributes.getValue("version")));
            }

            // Create source info and add serialized form as attribute.
            SourceInfo pframe = new SourceInfo(documentUrl,
                    (! blockStack.isEmpty()) ? blockStack.peekLast() : null,
                    sequenceCounter, locator.getLineNumber(), locator.getColumnNumber());
            element.setAttribute("source-info", pframe.toJSONString());

            // Increase sequence counter.
            ++sequenceCounter;
           
            // Add and set current
View Full Code Here

Examples of org.dmd.dmc.rules.SourceInfo

        ResultException ex = new ResultException();
        ex.addError(e.getMessage());
        ex.result.lastResult().moreMessages(DebugInfo.extractTheStack(e));
        throw(ex);
      } catch(DmcRuleExceptionSet e){
        e.source(new SourceInfo(srcFile, lineNumber + ""));
        throw(e);
      }
         
            if (cd.getObjectName().getNameString().compareTo("SchemaDefinition") == 0)
                isSchema = true;
View Full Code Here

Examples of org.persvr.data.DataSourceManager.SourceInfo

      if(source == null){
      result = new PersistableObject();
        ScriptRuntime.setObjectProtoAndParent((ScriptableObject) result, GlobalData.getGlobalScope());
        return result;
      }
    SourceInfo info = DataSourceManager.getObjectsClass(source);
    if (info.objectsClass !=null)
      try {
        result = (PersistableObject) info.objectsClass.newInstance();
      } catch (Exception e) {
        throw new RuntimeException(e);
View Full Code Here

Examples of org.tod.meta.sourcecode.SourceInfo

            // If we are currently on a line marked as a return (such as a 'return now' line),
            // then we must perform step over TWICE, to get around the odd way in which TOD
            // instruments the bytecode.
            if(this.behavior != null && this.lineNumber >= 0) {
                ClassInfo classInfo = this.getTODSession().getClassInformationProvider().getClassInfo(behavior.getDeclaringType());
                SourceInfo sourceInfo = classInfo.getSourceInfo();
               
                if (sourceInfo.isActionEnd(this.lineNumber) || sourceInfo.isReturn(this.lineNumber)) {
                    // Step over twice.
                    if (this.behavior.getName().equals("Main") || this.behavior.getName().equals("main")) {
                        return false;
                    }
                    this.getTODSession().getJVMHandler().stepOver(this.thread, 2);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.