Package com.aptana.editor.common.parsing

Examples of com.aptana.editor.common.parsing.IScannerSwitchStrategy


    private boolean isInDj;

    public static final IScannerSwitchStrategy[] SWITCH_STRATEGY = new IScannerSwitchStrategy[] { DJ_STRATEGY };

    public Short getTokenType(CompositeTokenScanner scanner, Object data) {
        IScannerSwitchStrategy strategy = scanner.getCurrentSwitchStrategy();
        if (strategy == DJ_STRATEGY) {
            if (!isInDj) {
                isInDj = true;
            }
            return DjangoTemplatesTokens.DJ_START;
View Full Code Here

TOP

Related Classes of com.aptana.editor.common.parsing.IScannerSwitchStrategy

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.