src/com/google/javascript/jscomp/NodeUtil.java
/**
   * Creates a property access on the {@code context} tree.
   */
Creates a property access on the  context tree.
Creates a property access on the context tree .
public static Node newPropertyAccess(AbstractCompiler compiler, Node context, String name) {
    Node propNode = IR.getprop(context, IR.string(name));
    if (compiler.getCodingConvention().isConstantKey(name)) {
      propNode.putBooleanProp(Node.IS_CONSTANT_NAME, true);
    }
    return propNode;
  }
public static Node newPropertyAccess ( AbstractCompiler compiler , Node context , String name ) { Node propNode = IR . getprop ( context , IR . string ( name ) ) ; if ( compiler . getCodingConvention ( ) . isConstantKey ( name ) ) { propNode . putBooleanProp ( Node . IS_CONSTANT_NAME , true ) ; } return propNode ; }
Creates a property access on the {@code context} tree.
Creates a property access on the { @code context } tree .