src/com/google/javascript/jscomp/NodeUtil.java
/** Returns true if the node is a property of an object literal. */
Returns true if the node is a property of an object literal.
Returns true if the node is a property of an object literal .
public static boolean isObjLitProperty(Node node) {
    return node.isStringKey()
        || node.isGetterDef()
        || node.isSetterDef()
        || node.isMemberFunctionDef()
        || node.isComputedProp();
  }
public static boolean isObjLitProperty ( Node node ) { return node . isStringKey ( ) || node . isGetterDef ( ) || node . isSetterDef ( ) || node . isMemberFunctionDef ( ) || node . isComputedProp ( ) ; }
Returns true if the node is a property of an object literal.
Returns true if the node is a property of an object literal .