Package dtool.ast.references

Examples of dtool.ast.references.Reference


    return EArcheType.EnumMember;
  }
 
  @Override
  public void resolveSearchInMembersScope(CommonDefUnitSearch search) {
    Reference effectiveType = getEffectiveTypeReference();
    resolveSearchInReferredContainer(search, effectiveType);
  }
View Full Code Here


   
    return parse.resultConclude(new AttribLinkage(linkageStr));
  }
 
  protected NodeResult<AttribCppLinkage> parseAttribCppLinkage_fromLinkaged(ParseHelper parse, String linkageStr) {
    Reference typeRef = null;
    if(parse.consumeExpected(DeeTokens.COMMA)) {
      typeRef = parseTypeReference_ToMissing().node;
    }
    parse.consumeRequired(DeeTokens.CLOSE_PARENS);
   
View Full Code Here

    if(!tryConsume(DeeTokens.AT))
      return null;
   
    ParseHelper parse = new ParseHelper();
   
    Reference baseRef = null;
    NodeListView<Expression> args = null;
   
    if(lookAhead() == DeeTokens.IDENTIFIER && DeeTokenSemantics.isPredefinedAttribId(lookAheadElement())) {
      BaseLexElement traitsId = consumeLookAhead(DeeTokens.IDENTIFIER);
      Symbol attribIdentifier = conclude(srOf(traitsId, new Symbol(traitsId.getSourceValue())));
View Full Code Here

      return declarationNullResult();
    }
    DefParseHelper parse = createDefParseHelper(defStartInfo);
    NodeResult<Reference> refResult = parseTypeReference(); // This parses (BasicType + BasicType2) of spec
    assertNotNull(refResult.node);
    Reference ref = parse.checkResult(refResult);
   
    parsing: {
      if(parse.ruleBroken) break parsing;
     
      ProtoDefSymbol defId = null;
View Full Code Here

  protected NodeResult<? extends DefinitionVariable> parseDefinitionVariable_afterIdentifier(
    DefParseHelper parse, Reference ref, ProtoDefSymbol defId)
  {
    ArrayList<DefVarFragment> fragments = null;
    IInitializer init = null;
    Reference cstyleSuffix = null;
   
    final boolean isAutoRef = ref == null;
   
    parsing: {
      if(!isAutoRef) {
View Full Code Here

      return parseDefinitionAlias_atFragmentStart(parse);
    }
   
    // Note that there are heavy similarites between this code and var/function declaration parsing
    ArrayView<Attribute> attributes = null;
    Reference ref = null;
    ProtoDefSymbol defId = null;
    Reference cstyleSuffix = null;
    ArrayList<AliasVarDeclFragment> fragments = null;
   
    parsing: {
      ParserState savedParserState = saveParserState();
     
View Full Code Here

  }
 
  public DefinitionAliasFragment parseAliasFragment() {
    ProtoDefSymbol defId = parseDefId();
    ArrayView<TemplateParameter> tplParams = null;
    Reference ref = null;
   
    ParseHelper parse = new ParseHelper(defId.nameSourceRange.getStartPos());
   
    parsing: {
      parse.checkResult(defId);
View Full Code Here

        && (lookAhead(1) == DeeTokens.OPEN_PARENS || lookAhead(1) == DeeTokens.ASSIGN)) {
      return parseDefinitionEnumVar_afterId(parse);
    }
   
    ProtoDefSymbol defId = parseDefId();
    Reference type = null;
    EnumBody body = null;
   
    parsing : {
      if(tryConsume(DeeTokens.COLON)) {
        type = parse.checkResult(parseTypeReference_ToMissing());
View Full Code Here

 
  protected NodeResult<DeclarationEnum> parseDeclarationEnum_start() {
    consumeLookAhead(DeeTokens.KW_ENUM);
    ParseHelper parse = new ParseHelper();
   
    Reference type = null;
    EnumBody body = null;
   
    parsing : {
      if(tryConsume(DeeTokens.COLON)) {
        type = parse.checkResult(parseTypeReference_ToMissing());
View Full Code Here

    DefParseHelper parse = createDefParseHelper(defStartInfo);
    if(!tryConsume(DeeTokens.KW_MIXIN))
      return null;
   
    NodeResult<Reference> tplInstanceResult = parseTypeReference_ToMissing();
    Reference tplInstance = tplInstanceResult.node;
   
    if(!tplInstanceResult.ruleBroken && lookAhead() == DeeTokens.IDENTIFIER) {
      ProtoDefSymbol defId = parseDefId();
      parse.consumeRequired(DeeTokens.SEMICOLON);
      Token[] comments = parse.parseEndDDocComments();
View Full Code Here

TOP

Related Classes of dtool.ast.references.Reference

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.