use of com.intellij.lang.html.HtmlParsing in project intellij-community by JetBrains.
the class HtmlBuilderDriver method createBuilderAndParse.
@Override
protected PsiBuilder createBuilderAndParse() {
final ParserDefinition htmlParserDef = LanguageParserDefinitions.INSTANCE.forLanguage(HTMLLanguage.INSTANCE);
assert htmlParserDef != null;
PsiBuilder b = PsiBuilderFactory.getInstance().createBuilder(htmlParserDef, htmlParserDef.createLexer(null), getText());
new HtmlParsing(b).parseDocument();
return b;
}
Aggregations