Examples of IErlComment


Examples of org.erlide.engine.model.erlang.IErlComment

    private List<IErlComment> createComments(final IErlModule module,
            final OtpErlangList comments) {
        final List<IErlComment> moduleComments = Lists.newArrayListWithCapacity(comments
                .arity());
        for (final OtpErlangObject comment : comments) {
            final IErlComment c = createComment(module, (OtpErlangTuple) comment);
            if (c != null) {
                moduleComments.add(c);
            }
        }
        return moduleComments;
View Full Code Here

Examples of org.erlide.engine.model.erlang.IErlComment

        if (element.getKind() == ErlElementKind.CLAUSE
                || element.getKind() == ErlElementKind.FUNCTION) {
            collapse = fAllowCollapsing && fCollapseClauses;
            createProjection = true;
        } else if (element.getKind() == ErlElementKind.COMMENT) {
            final IErlComment c = (IErlComment) element;
            if (c.isHeader()) {
                collapse = fAllowCollapsing && fCollapseHeaderComments;
            } else {
                collapse = fAllowCollapsing && fCollapseComments;
            }
            createProjection = true;
View Full Code Here

Examples of org.erlide.engine.new_model.IErlComment

    @SuppressWarnings("unchecked")
    @Override
    public IErlComment getHeaderComment() {
        try {
            IErlComment _xblockexpression = null;
            {
                final IHandle[] _children = this.getChildren();
                final IHandle first = IterableExtensions
                        .<IHandle> head((Iterable<IHandle>) Conversions
                                .doWrapArray(_children));
                IErlComment _xifexpression = null;
                if (first instanceof IErlComment) {
                    _xifexpression = (IErlComment) first;
                }
                _xblockexpression = _xifexpression;
            }
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.