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.