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