1 2 3 package soot.jimple.parser.node; 4 5 public abstract class Token extends Node 6 { 7 private String text; 8 private int line; 9 private int pos; 10 11 public String getText() 12 { 13 return text; 14 } 15 16 public void setText(String text) 17 { 18 this.text = text; 19 } 20 21 public int getLine() 22 { 23 return line; 24 } 25 26 public void setLine(int line) 27 { 28 this.line = line; 29 } 30 31 public int getPos() 32 { 33 return pos; 34 } 35 36 public void setPos(int pos) 37 { 38 this.pos = pos; 39 } 40 41 public String toString() 42 { 43 return text + " "; 44 } 45 46 void removeChild(Node child) 47 { 48 } 49 50 void replaceChild(Node oldChild, Node newChild) 51 { 52 } 53 } 54 | Popular Tags |