Package org.antlr.works.grammar.element

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


        }

        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

        }
        return matches;
    }

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

        }
    }

    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

Related Classes of org.antlr.works.grammar.element.Jumpable

Copyright © 2018 www.massapicom. 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.