Fix javascript after upgrading rhino library
This commit is contained in:
@ -50,14 +50,14 @@ public class ASTFunctionNode extends AbstractEcmascriptNode<FunctionNode> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isGetter() {
|
public boolean isGetter() {
|
||||||
return node.isGetter();
|
return node.isGetterMethod();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isSetter() {
|
public boolean isSetter() {
|
||||||
return node.isSetter();
|
return node.isSetterMethod();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isGetterOrSetter() {
|
public boolean isGetterOrSetter() {
|
||||||
return node.isGetterOrSetter();
|
return isGetter() || isSetter();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,10 +18,10 @@ public class ASTObjectProperty extends AbstractInfixEcmascriptNode<ObjectPropert
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isGetter() {
|
public boolean isGetter() {
|
||||||
return node.isGetter();
|
return node.isGetterMethod();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isSetter() {
|
public boolean isSetter() {
|
||||||
return node.isSetter();
|
return node.isSetterMethod();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user