Fix javascript after upgrading rhino library

This commit is contained in:
Andreas Dangel
2015-10-04 12:00:24 +02:00
parent f154d0a2b4
commit 5ee98b8786
2 changed files with 5 additions and 5 deletions

View File

@ -50,14 +50,14 @@ public class ASTFunctionNode extends AbstractEcmascriptNode<FunctionNode> {
}
public boolean isGetter() {
return node.isGetter();
return node.isGetterMethod();
}
public boolean isSetter() {
return node.isSetter();
return node.isSetterMethod();
}
public boolean isGetterOrSetter() {
return node.isGetterOrSetter();
return isGetter() || isSetter();
}
}

View File

@ -18,10 +18,10 @@ public class ASTObjectProperty extends AbstractInfixEcmascriptNode<ObjectPropert
}
public boolean isGetter() {
return node.isGetter();
return node.isGetterMethod();
}
public boolean isSetter() {
return node.isSetter();
return node.isSetterMethod();
}
}