Package de.fosd.typechef.featureexpr

Examples of de.fosd.typechef.featureexpr.FeatureExprParserJava


                smallFeatureModel = FeatureExprLib.featureModelFactory().createFromDimacsFilePrefix(g.getOptarg(),"CONFIG_");
            else
                smallFeatureModel = FeatureExprLib.featureModelFactory().createFromDimacsFilePrefix(g.getOptarg(),"");
        } else if (c == FM_FEXPR) {     //--featureModelFExpr
            checkFileExists(g.getOptarg());
            FeatureExpr f = new FeatureExprParserJava(FeatureExprLib.l()).parseFile(g.getOptarg());
            if (smallFeatureModel == null)
                smallFeatureModel = FeatureExprLib.featureModelFactory().create(f);
            else smallFeatureModel = smallFeatureModel.and(f);
//        } else if (c == FM_CLASS) {//--featureModelClass
//            try {
View Full Code Here


    public FeatureExpr getFilePresenceCondition() {
        if (filePC == null) {
            File pcFile = new File(getFilePresenceConditionFilename());
            if (pcFile.exists())
                filePC = new FeatureExprParserJava(FeatureExprFactory$.MODULE$.dflt()).parseFile(pcFile);
            else
                filePC = FeatureExprFactory$.MODULE$.dflt().True();
        }
        return filePC;
    }
View Full Code Here

    public FeatureExpr getLocalFeatureModel() {
        if (localFM == null) {
            File file = new File(getLocalFeatureModelFilename());
            if (file.exists())
                localFM = new FeatureExprParserJava(FeatureExprFactory$.MODULE$.dflt()).parseFile(file);
            else localFM = FeatureExprFactory$.MODULE$.dflt().True();
        }
        return localFM;
    }
View Full Code Here

TOP

Related Classes of de.fosd.typechef.featureexpr.FeatureExprParserJava

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.