Examples of unqualifiedVariables()


Examples of com.puppetlabs.geppetto.pp.dsl.validation.IValidationAdvisor.unqualifiedVariables()

    if(mustExist) {
      if(!(existsAdjusted || existsOutside)) {
        // importedNames.addUnresolved(qName);

        // found nowhere
        if(qualified || advisor.unqualifiedVariables().isWarningOrError()) {
          StringBuilder message = new StringBuilder();
          if(disqualified)
            message.append("Reference to not yet initialized variable: ");
          else
            message.append(qualified
View Full Code Here

Examples of com.puppetlabs.geppetto.pp.dsl.validation.IValidationAdvisor.unqualifiedVariables()

          message.append("'");

          String issue = disqualified
              ? IPPDiagnostics.ISSUE__UNINITIALIZED_VARIABLE
              : IPPDiagnostics.ISSUE__UNKNOWN_VARIABLE;
          if(disqualified || advisor.unqualifiedVariables() == ValidationPreference.ERROR)
            acceptor.acceptError(message.toString(), o, attr, issue);
          else
            acceptor.acceptWarning(message.toString(), o, attr, issue);
        }
      }
View Full Code Here

Examples of com.puppetlabs.geppetto.pp.dsl.validation.IValidationAdvisor.unqualifiedVariables()

            acceptor.acceptWarning(message.toString(), o, attr, issue);
        }
      }
      else if(!existsAdjusted && existsOutside) {
        // found outside
        if(qualified || advisor.unqualifiedVariables().isWarningOrError())
          acceptor.acceptWarning(
            "Found outside current search path variable: '" + varName + "'", o, attr,
            IPPDiagnostics.ISSUE__NOT_ON_PATH);
      }
    }
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.