public void enterStatement(@NotNull SSTParser.StatementContext ctx){
		ParseTree tree = ctx.getChild(0);
		if(tree instanceof ReadContext){
			ReadContext context = (ReadContext) tree;
			list.add(new Read(context.getChild(1).toString()));
		}
		if(tree instanceof PrintContext){
			PrintContext context = (PrintContext) tree;
			list.add(new Print(context.getChild(1).toString()));
		}
		if(tree instanceof ClearsignalContext){
			ClearsignalContext context = (ClearsignalContext) tree;
			list.add(new ClearSignal(context.getChild(1).toString()));
		}
		if(tree instanceof QuitContext){
			list.add(new Quit());
		}
		if(tree instanceof AssignmentstatementContext){
			list.add(toAssignment((AssignmentContext)tree.getChild(0)));
		}
	}