Package org.netbeans.modules.php.nette.editor.resolvers

Examples of org.netbeans.modules.php.nette.editor.resolvers.HtmlPhpResolver


    TokenSequence<LatteTopTokenId> sequence = LexUtils.getTopSequence(getSnapshot().getText().toString());

    sequence.moveStart();

    LatteResolver latteResolver = new LatteResolver(this);
    HtmlPhpResolver htmlPhpResolver = new HtmlPhpResolver(this);

    while(sequence.moveNext()) {
      Token t = sequence.token();
      if(t.id() == LatteTopTokenId.LATTE) {
        latteResolver.solve(t, sequence);                    // deals with all latte macros
        SyntaxUtils.findArrayForHint(getSnapshot().getSource().getDocument(true), sequence);
      } else {
        htmlPhpResolver.solve(t, sequence);
      }
    }

    return super.getEmbeddings();
  }
View Full Code Here

TOP

Related Classes of org.netbeans.modules.php.nette.editor.resolvers.HtmlPhpResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.