break;
case IPythonNature.GRAMMAR_PYTHON_VERSION_2_6:
grammar = new PythonGrammar26(generateTree, in);
break;
case IPythonNature.GRAMMAR_PYTHON_VERSION_2_7:
grammar = new PythonGrammar27(generateTree, in);
break;
case IPythonNature.GRAMMAR_PYTHON_VERSION_3_0:
grammar = new PythonGrammar30(generateTree, in);
break;
//case CYTHON: not treated here (only in reparseDocument).