Package org.fife.ui.rsyntaxtextarea.modes

Examples of org.fife.ui.rsyntaxtextarea.modes.JavaScriptTokenMaker


 
  @Test
  public void testUnderstanding() {
   
    String code = "f = function(x) {\n return(1+x);\n}";
    JavaScriptTokenMaker tokenMaker = new JavaScriptTokenMaker();
    Token tokenList = tokenMaker.getTokenList(new Segment(code.toCharArray(), 0, code.length()), 0, 0);
   
    tokenList = dumpTokenList(tokenList);
  }
View Full Code Here

TOP

Related Classes of org.fife.ui.rsyntaxtextarea.modes.JavaScriptTokenMaker

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.