Package dtool.ast.definitions.DefinitionVariable

Examples of dtool.ast.definitions.DefinitionVariable.DefinitionAutoVariable


    parse.clearRuleBroken().consumeRequired(DeeTokens.SEMICOLON);
    Token[] comments = parse.parseEndDDocComments();
   
    if(isAutoRef) {
      return parse.resultConclude(
        new DefinitionAutoVariable(comments, defId, init, arrayView(fragments)));
    }
    return parse.resultConclude(
      new DefinitionVariable(comments, defId, ref, cstyleSuffix, init, arrayView(fragments)));
  }
View Full Code Here


 
  protected String getDDocHTMLViewForAuto(IModuleResolver mr, DeclarationAttrib declAttrib) {
   
    IDeclaration singleDecl = declAttrib.getSingleDeclaration();
    if(singleDecl instanceof DefinitionAutoVariable) {
      DefinitionAutoVariable defVar = (DefinitionAutoVariable) singleDecl;
      if(defVar.getFragments().isEmpty()) {
        return getDDocHTMLViewForAutoLike(mr, defVar);
      }
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of dtool.ast.definitions.DefinitionVariable.DefinitionAutoVariable

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.