Package com.puppetlabs.geppetto.pp

Examples of com.puppetlabs.geppetto.pp.LiteralExpression.eClass()


  private void _link(HostClassDefinition o, PPImportedNamesAdapter importedNames, IMessageAcceptor acceptor) {
    final LiteralExpression parent = o.getParent();
    if(parent == null)
      return;
    String parentString = null;
    if(parent.eClass() == PPPackage.Literals.LITERAL_DEFAULT)
      parentString = "default";
    else if(parent.eClass() == PPPackage.Literals.LITERAL_NAME_OR_REFERENCE)
      parentString = ((LiteralNameOrReference) parent).getValue();
    if(parentString == null || parentString.length() < 1)
      return;
View Full Code Here


    if(parent == null)
      return;
    String parentString = null;
    if(parent.eClass() == PPPackage.Literals.LITERAL_DEFAULT)
      parentString = "default";
    else if(parent.eClass() == PPPackage.Literals.LITERAL_NAME_OR_REFERENCE)
      parentString = ((LiteralNameOrReference) parent).getValue();
    if(parentString == null || parentString.length() < 1)
      return;

    SearchResult searchResult = ppFinder.findHostClasses(o, parentString, importedNames);
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.