this.snapshot = snapshot;
result = new TwigParserResult( snapshot );
TokenHierarchy<?> tokenHierarchy = snapshot.getTokenHierarchy();
LanguagePath twigPath = null;
for ( LanguagePath path : tokenHierarchy.languagePaths() ) {
if ( path.mimePath().endsWith( "twig-markup" ) ) { twigPath = path; break; }