001package gudusoft.gsqlparser.nodes; 002 003public class TJsonObjectKeyValue extends TParseTreeNode { 004 005 private TConstant key; 006 private TExpression value; 007 008 public void init(Object arg1, Object arg2){ 009 key = (TConstant) arg1; 010 value = (TExpression) arg2; 011 } 012 013 public TConstant getKey() { 014 return key; 015 } 016 017 public TExpression getValue() { 018 return value; 019 } 020 021 public void accept(TParseTreeVisitor v){ 022 v.preVisit(this); 023 v.postVisit(this); 024 } 025 026 public void acceptChildren(TParseTreeVisitor v){ 027 v.preVisit(this); 028 v.postVisit(this); 029 } 030 031}