Package org.antlr.works.ate.folding

Examples of org.antlr.works.ate.folding.ATEFoldingEntity


    public ATEFoldingEntity getEntityForIdentifier(List entities, String identifier) {
        if(entities == null || entities.isEmpty())
            return null;
        // optimize using a map ?
        for (Object entity1 : entities) {
            ATEFoldingEntity entity = (ATEFoldingEntity) entity1;
            if (entity.foldingEntityID().equals(identifier))
                return entity;
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.antlr.works.ate.folding.ATEFoldingEntity

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.