public void _toStringLeaves(StringBuffer buf) { if ( payload instanceof Token ) { // leaf node token? buf.append(this.toStringWithHiddenTokens()); return; } for (int i = 0; children!=null && i < children.size(); i++) { ParseTree t = (ParseTree)children.get(i); t._toStringLeaves(buf); } } }
public void _toStringLeaves(StringBuffer buf) { if ( payload instanceof Token ) { // leaf node token? buf.append(this.toStringWithHiddenTokens()); return; } for (int i = 0; children!=null && i < children.size(); i++) { ParseTree t = (ParseTree)children.get(i); t._toStringLeaves(buf); } } }
public void _toStringLeaves(StringBuffer buf) { if ( payload instanceof Token ) { // leaf node token? buf.append(this.toStringWithHiddenTokens()); return; } for (int i = 0; children!=null && i < children.size(); i++) { ParseTree t = (ParseTree)children.get(i); t._toStringLeaves(buf); } } }
public void _toStringLeaves(StringBuffer buf) { if ( payload instanceof Token ) { // leaf node token? buf.append(this.toStringWithHiddenTokens()); return; } for (int i = 0; children!=null && i < children.size(); i++) { ParseTree t = (ParseTree)children.get(i); t._toStringLeaves(buf); } } }
public void _toStringLeaves(StringBuffer buf) { if ( payload instanceof Token ) { // leaf node token? buf.append(this.toStringWithHiddenTokens()); return; } for (int i = 0; children!=null && i < children.size(); i++) { ParseTree t = (ParseTree)children.get(i); t._toStringLeaves(buf); } } }
public void _toStringLeaves(StringBuffer buf) { if ( payload instanceof Token ) { // leaf node token? buf.append(this.toStringWithHiddenTokens()); return; } for (int i = 0; children!=null && i < children.size(); i++) { ParseTree t = (ParseTree)children.get(i); t._toStringLeaves(buf); } } }