站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

SyntaxDebug (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

org.netbeans.editor
Class SyntaxDebug

java.lang.Object
  extended by org.netbeans.editor.SyntaxDebug

public class SyntaxDebug
extends Object

Debugging stuff for the syntax scanners


Field Summary
static String NO_STATE_ASSIGNED
           
static String NULL_STATE
           
static String NULL_SYNTAX_MARK
           
 Syntax syntax
           
 
Constructor Summary
SyntaxDebug(Syntax syntax)
           
 
Method Summary
 int debugScan()
          Debug scanning on the given string.
 int parseFile(String fileName)
          Scans the whole file by some syntax scanner.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_STATE_ASSIGNED

public static final String NO_STATE_ASSIGNED
See Also:
Constant Field Values

NULL_STATE

public static final String NULL_STATE
See Also:
Constant Field Values

NULL_SYNTAX_MARK

public static final String NULL_SYNTAX_MARK
See Also:
Constant Field Values

syntax

public Syntax syntax
Constructor Detail

SyntaxDebug

public SyntaxDebug(Syntax syntax)
Method Detail

parseFile

public int parseFile(String fileName)
              throws IOException
Scans the whole file by some syntax scanner.

Returns:
number of tokens found
Throws:
IOException

debugScan

public int debugScan()
Debug scanning on the given string. Write output to console. It returns number of tokens found (excluding EOL and EOT).


org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.