1 16 package com.google.gwt.dev.js.ast; 17 18 21 public class JsObjectLiteral extends JsExpression { 22 23 private final JsPropertyInitializers props = new JsPropertyInitializers(); 24 25 public JsObjectLiteral() { 26 } 27 28 public JsPropertyInitializers getPropertyInitializers() { 29 return props; 30 } 31 32 public void traverse(JsVisitor v, JsContext ctx) { 33 if (v.visit(this, ctx)) { 34 v.acceptWithInsertRemove(props); 35 } 36 v.endVisit(this, ctx); 37 } 38 } 39 | Popular Tags |