This update:
[IRC.git] / Robust / src / IR / Tree / BuildIR.java
index 5f17f23b48a873f82698d42bf4bbdc89fc1659af..08c113d2009640c4d4cc5f7de589ee4d6a8d2435 100644 (file)
@@ -431,6 +431,9 @@ public class BuildIR {
        } else if (isNode(pn,"this")) {
            NameDescriptor nd=new NameDescriptor("this");
            return new NameNode(nd);
+       } else if (isNode(pn,"isavailable")) {
+           NameDescriptor nd=new NameDescriptor(pn.getTerminal());
+           return new OpNode(new NameNode(nd),null,new Operation(Operation.ISAVAILABLE));
        } else if (isNode(pn,"methodinvoke1")) {
            NameDescriptor nd=parseName(pn.getChild("name"));
            Vector args=parseArgumentList(pn);