try {
final SimpleNode root = TSVParser.parse(inputStream);
final LinkedList<Variable> vars = new LinkedList<Variable>();
for(int i=0; i<root.jjtGetNumChildren(); i++){
final Node child = root.jjtGetChild(i);
if(child instanceof ASTVars){
for(int j=0; j<child.jjtGetNumChildren(); j++){
final Node childchild = child.jjtGetChild(j);
if(childchild instanceof ASTVar){
vars.add(new Variable(((ASTVar)childchild).getName()));