Package dtool.ast.definitions.DefinitionEnumVar

Examples of dtool.ast.definitions.DefinitionEnumVar.DefinitionEnumVarFragment


 
  protected NodeResult<DefinitionEnumVar> parseDefinitionEnumVar_afterId(DefParseHelper parse) {
    ArrayList<DefinitionEnumVarFragment> fragments = new ArrayList<>();
   
    while(true) {
      DefinitionEnumVarFragment fragment = parseEnumVarFragment();
      fragments.add(fragment);
     
      if(!tryConsume(DeeTokens.COMMA)) {
        break;
      }
View Full Code Here


     
      if(parse.consumeRequired(DeeTokens.ASSIGN).ruleBroken) break parsing;
     
      initializer = parseInitializer().node;
    }
    return parse.conclude(new DefinitionEnumVarFragment(defId, tplParams, initializer));
  }
View Full Code Here

      }
    } else if(pickedNode instanceof DefinitionEnumVar) {
      DefinitionEnumVar definitionEnumVar = (DefinitionEnumVar) pickedNode;
      if(definitionEnumVar.isOffsetAtEnumKeyword(offset)) {
        if(definitionEnumVar.defFragments.size() == 1) {
          DefinitionEnumVarFragment firstEnumDef = definitionEnumVar.defFragments.get(0);
          return getDDocHTMLViewForAutoLike(mr, firstEnumDef);
        }
      }
    }
   
View Full Code Here

TOP

Related Classes of dtool.ast.definitions.DefinitionEnumVar.DefinitionEnumVarFragment

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.