Package org.erlide.engine.model.erlang

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


        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

TOP

Related Classes of org.erlide.engine.model.erlang.IErlComment

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.