}
public static LapgTree<AstRoot> parse(TextSource source) {
final List<LapgProblem> list = new ArrayList<LapgProblem>();
ErrorReporter reporter = new ErrorReporter() {
public void error(int start, int end, int line, String s) {
list.add(new LapgProblem(KIND_ERROR, start, end, s, null));
}
};