org.netbeans.modules.editor.lib/3 3.23.0 19

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/3 3.23.0 19

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.