Examples of Jumpable


Examples of cn.wensiqun.asmsupport.operators.Jumpable

   
    @Override
    public void executing() {
        insnHelper.nop();
      if(condition instanceof Jumpable){
          Jumpable jmp = (Jumpable) condition;
          jmp.setJumpLable(getEndLabel());
          jmp.executeAndJump(ControlType.IF);
        }else{
            condition.loadToStack(this);
            insnHelper.unbox(condition.getParamterizedType().getType());
            insnHelper.ifZCmp(InstructionHelper.EQ, getEndLabel());
        }
View Full Code Here

Examples of cn.wensiqun.asmsupport.operators.Jumpable

  @Override
    public void executing() {
        insnHelper.nop();
        if(condition instanceof Jumpable){
          Jumpable jmp = (Jumpable) condition;
          jmp.setJumpLable(getEndLabel());
          jmp.executeAndJump(ControlType.IF);
        }else{
            condition.loadToStack(this);
            insnHelper.unbox(condition.getParamterizedType().getType());
            insnHelper.ifZCmp(InstructionHelper.EQ, getEndLabel());
        }
View Full Code Here

Examples of cn.wensiqun.asmsupport.operators.Jumpable

    @Override
    protected void executing() {
        Label l1 = new Label();
        Label l2 = new Label();
      if(exp1 instanceof Jumpable){
          Jumpable jmp = (Jumpable) exp1;
          jmp.setJumpLable(l1);
          jmp.executeAndJump(ControlType.IF);
        }else{
          exp1.loadToStack(block);
            insnHelper.unbox(exp1.getParamterizedType().getType());
            insnHelper.ifZCmp(InstructionHelper.EQ, l1);
        }
View Full Code Here

Examples of cn.wensiqun.asmsupport.operators.Jumpable

        for(Executeable exe : getExecuteQueue()){
            exe.execute();
        }
       
        if(condition instanceof Jumpable){
          Jumpable jmp = (Jumpable) condition;
          jmp.setJumpLable(startLbl);
          jmp.executeAndJump(ControlType.WHILE);
        }else{
            condition.loadToStack(this);
            insnHelper.unbox(condition.getParamterizedType().getType());
            insnHelper.ifZCmp(InstructionHelper.NE, startLbl);
        }
View Full Code Here

Examples of cn.wensiqun.asmsupport.operators.Jumpable

        //if(!inversContinueLblMark){
        insnHelper.mark(condiLbl);
        //}

        if(condition instanceof Jumpable){
          Jumpable jmp = (Jumpable) condition;
          jmp.setJumpLable(startLbl);
          jmp.executeAndJump(ControlType.WHILE);
        }else{
            condition.loadToStack(this);
            insnHelper.unbox(condition.getParamterizedType().getType());
            insnHelper.ifZCmp(InstructionHelper.NE, startLbl);
        }
View Full Code Here

Examples of org.antlr.works.grammar.element.Jumpable

        }
        return false;
    }

    public void goToDeclaration() {
        Jumpable ref = getCurrentReference();
        if(ref == null) {
            ref = getImportAtPosition(getCaretPosition());
        }
        getGoToMenu().goToDeclaration(ref);
    }
View Full Code Here

Examples of org.antlr.works.grammar.element.Jumpable

        }

        setHighlightedReference(null);
        if(event.isMetaDown() && XJSystem.isMacOS() || event.isControlDown()) {
            int index = textEditor.getTextIndexAtPosition(pt.x, pt.y);
            Jumpable ref = getReferenceAtPosition(index);
            if(ref == null) {
                ref = getImportAtPosition(index);
            }
            setHighlightedReference(ref);
        }
View Full Code Here

Examples of org.antlr.works.grammar.element.Jumpable

        }
        return matches;
    }

    public void goToDeclaration() {
        Jumpable ref = getCurrentReference();
        getActionGoTo().goToDeclaration(ref);
    }
View Full Code Here

Examples of org.antlr.works.grammar.element.Jumpable

        }
    }

    public ATERenderingToken[] getTokens() {
        indexesModified = false;
        Jumpable ref = window.getHighlightedReference();
        if(ref != null) {
            highlightedReferenceStartToken.setIndex(ref.getStartIndex());
            highlightedReferenceToken.setIndex(ref.getEndIndex());
            highlightedReferenceToken.setStartToken(highlightedReferenceStartToken);
            addToken(highlightedReferenceStartToken);
            addToken(highlightedReferenceToken);
        } else {
            removeToken(highlightedReferenceStartToken);
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.