fnames = new Vector<String>();
}
public Vector<TNode> tokenizer(String Org) {
CharStream cs = new ANTLRStringStream(Org);
Tokenizer tk = new Tokenizer(cs);
Token t;
t = tk.nextToken();
Vector<TNode> x = new Vector<TNode>();
while (t.getType() != -1) {
int mytype = -1;
if (t.getType() == 15) {
mytype = TNode.UWRDTYP;
} else if (t.getType() == 4) {
mytype = TNode.BNKTYP;
} else if (t.getType() == 10) {
mytype = TNode.NUMTYP;
} else if (t.getType() == 12) {
mytype = TNode.SYBSTYP;
} else if (t.getType() == 9) {
mytype = TNode.LWRDTYP;
}
TNode tx = new TNode(mytype, t.getText());
x.add(tx);
t = tk.nextToken();
}
return x;
}