Class Parser

java.lang.Object
  extended by Parser

public class Parser
extends java.lang.Object

Parser for Java-Syntax.

Version:
02.08.2007
Author:
Marc Seidemann

Constructor Summary
Parser(java.lang.String chars)
          Creates a Parser-object
 
Method Summary
 javax.swing.text.DefaultStyledDocument parse()
          Parses the source text and returns a DefaultStyledDocument with the highlighted source text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

Parser(java.lang.String chars)
Creates a Parser-object

Parameters:
chars - The source text
Method Detail

parse

public javax.swing.text.DefaultStyledDocument parse()
Parses the source text and returns a DefaultStyledDocument with the highlighted source text