Examples of TagContext


Examples of com.dubture.twig.core.codeassist.context.TagContext

    @Override
    public void apply(ICompletionReporter reporter) throws Exception
    {

        TagContext ctx = (TagContext) getContext();
        ISourceModule module = ctx.getSourceModule();
        Tag[] tags = TwigModelAccess.getDefault().findTags(
                module.getScriptProject());
        SourceRange range = getReplacementRange(ctx);

        String prefix = ctx.getPrefix();

        for (Tag tag : tags) {
            if (CodeAssistUtils.startsWithIgnoreCase(tag.getElementName(),
                    prefix))
                reporter.reportType(tag, "", range);
View Full Code Here

Examples of com.dubture.twig.core.codeassist.context.TagContext

        contexts.add(new FilterContext());
        contexts.add(new VariableFieldContext());
        contexts.add(new TemplateVariablesContext());
        contexts.add(new QuotesContext());
        contexts.add(new FunctionContext());
        contexts.add(new TagContext());
        contexts.add(new TestContext());
        contexts.add(new BlocknameContext());

        IConfigurationElement[] config = Platform.getExtensionRegistry()
                .getConfigurationElementsFor(CONTEXTYFACTORY_ID);
View Full Code Here

Examples of play.templates.TagContext

        TagContext.exitTag();
    }

    @Override
    public GTTagContextInfo current() {
        TagContext org = TagContext.current();
        return new GTTagContextInfoBridge(org);
    }
View Full Code Here

Examples of play.templates.TagContext

        return new GTTagContextInfoBridge(org);
    }

    @Override
    public GTTagContextInfo parent() {
        TagContext org = TagContext.parent();
        return new GTTagContextInfoBridge(org);
    }
View Full Code Here

Examples of play.templates.TagContext

        return TagContext.hasParentTag(name);
    }

    @Override
    public GTTagContextInfo parent(String name) {
        TagContext org = TagContext.parent(name);
        return new GTTagContextInfoBridge(org);
    }
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.