Package dtool.ast.declarations

Examples of dtool.ast.declarations.ImportContent


     
      RefModule refModule = parseRefModule();
      fragment = parse.conclude(new ImportAlias(aliasId, refModule));
    } else {
      RefModule refModule = parseRefModule();
      fragment = conclude(srOf(refModule, new ImportContent(refModule)));
    }
   
    if(tryConsume(DeeTokens.COLON)) {
      return parseSelectiveModuleImport(fragment);
    }
View Full Code Here


    case IMPORT_SELECTIVE: {
      ImportSelective importSelective = (ImportSelective) node;
      return canBeginWithEmptySpace((ASTNode) importSelective.fragment);
    }
    case IMPORT_CONTENT: {
      ImportContent importContent = (ImportContent) node;
      return canBeginWithEmptySpace(importContent.moduleRef);
    }
    case STRUCT_INIT_ENTRY: {
      StructInitEntry initEntry = (StructInitEntry) node;
      return canBeginWithEmptySpace(initEntry.member != null ? initEntry.member : (ASTNode) initEntry.value);
View Full Code Here

TOP

Related Classes of dtool.ast.declarations.ImportContent

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.