Package dtool.ast.references

Examples of dtool.ast.references.RefTypeof


      } else {
        exp = parseExpression_toMissing();
      }
      parse.consumeRequired(DeeTokens.CLOSE_PARENS);
    }
    return parse.resultConclude(new RefTypeof(exp));
  }
View Full Code Here


      if(parse.consumeExpected(DeeTokens.SEMICOLON)) {
        iterable = parseForeachIterableExpression();
        if(iterable instanceof ExpReference) {
          ExpReference expReference = (ExpReference) iterable;
          if(expReference.ref instanceof RefTypeof) {
            RefTypeof refTypeof = (RefTypeof) expReference.ref;
            refTypeof.detachFromParent();
            // This will remove the typeof error, since foreach allows tuples as the iterable part,
            // and typeof can be used to create a type tuple.
            iterable = createExpReference(refTypeof, false);
          }
        }
View Full Code Here

TOP

Related Classes of dtool.ast.references.RefTypeof

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.