Package dtool.ast.references

Examples of dtool.ast.references.RefTypeof.detachFromParent()


        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
Copyright © 2018 www.massapi.com. 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.