Package com.dubture.twig.core.codeassist.strategies

Examples of com.dubture.twig.core.codeassist.strategies.KeywordStrategy


        List<ICompletionStrategy> result = new LinkedList<ICompletionStrategy>();

        for (ICompletionContext context : contexts) {
            if (context.getClass() == KeywordContext.class) {
                result.add(new KeywordStrategy(context));
            } else if (context.getClass() == FilterContext.class) {
                result.add(new FilterStrategy(context));
            } else if (context.getClass() == VariableFieldContext.class) {
                // can't really do much in a plain twig context, this is the job
                // for extensions
View Full Code Here

TOP

Related Classes of com.dubture.twig.core.codeassist.strategies.KeywordStrategy

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.