lexx.oldversion.parser
Class JavaParser

java.lang.Object
  |
  +--lexx.oldversion.parser.JavaParser
Direct Known Subclasses:
Comment, DeclaredObject, ErrorCode, JavaDoc, JDirectory, JObject, JString, Keyword, Line, NestCode, NoneCode, StaticObject

public class JavaParser
extends java.lang.Object

Title: The Lexx Project

Description: Enchanced IDE For Java

Copyright (c) 2002-2003

Since:
19/03/2003
Version:
0.2
Author:
Mohammed Imran

Field Summary
protected static java.lang.String CLASS
           
protected static java.lang.String COMMENT
           
protected static java.lang.String IMPORT
           
protected static java.lang.String JAVADOC
           
protected static java.lang.String LINE
           
protected static java.lang.String NESTED
           
protected static java.lang.String PACKAGE
           
(package private)  boolean showFullPath
           
(package private)  int startPosition
           
(package private) static boolean stopParsing
           
protected static java.lang.String STRING
           
 
Constructor Summary
JavaParser()
           
JavaParser(EditorPanel _panel, Packages _pack, ThreadHandler thradHandler)
           
JavaParser(int startPos, java.lang.String data)
           
JavaParser(ThreadHandler threadHandler)
           
 
Method Summary
 java.util.List getCode()
           
 int getEndPosition()
           
 JClass getJClass()
           
 JavaParser getObject(int position)
           
protected  JavaParser getObject(int position, java.util.List code)
           
 int getStartPosition()
           
(package private) static java.lang.String getString(java.util.StringTokenizer st, java.lang.String endsWith)
           
 java.lang.String getToolTip()
           
 boolean isCompleted()
           
 void makeBackup()
           
 void parse(java.lang.String data)
           
(package private)  void parse(java.util.StringTokenizer st, int position, java.lang.String endsWith, java.util.List list)
           
 void setAvailableClasses(java.util.List _availableClasses)
           
(package private)  void setStartPosition(int newPos)
           
 void setUseThread(boolean answer)
           
 void stopParsing()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PACKAGE

protected static final java.lang.String PACKAGE
See Also:
Constant Field Values

IMPORT

protected static final java.lang.String IMPORT
See Also:
Constant Field Values

CLASS

protected static final java.lang.String CLASS
See Also:
Constant Field Values

LINE

protected static final java.lang.String LINE
See Also:
Constant Field Values

JAVADOC

protected static final java.lang.String JAVADOC
See Also:
Constant Field Values

COMMENT

protected static final java.lang.String COMMENT
See Also:
Constant Field Values

STRING

protected static final java.lang.String STRING
See Also:
Constant Field Values

NESTED

protected static final java.lang.String NESTED
See Also:
Constant Field Values

showFullPath

final boolean showFullPath
See Also:
Constant Field Values

stopParsing

static boolean stopParsing

startPosition

int startPosition
Constructor Detail

JavaParser

public JavaParser(ThreadHandler threadHandler)

JavaParser

public JavaParser()

JavaParser

public JavaParser(int startPos,
                  java.lang.String data)

JavaParser

public JavaParser(EditorPanel _panel,
                  Packages _pack,
                  ThreadHandler thradHandler)
Method Detail

makeBackup

public final void makeBackup()

stopParsing

public final void stopParsing()

setUseThread

public final void setUseThread(boolean answer)

isCompleted

public final boolean isCompleted()

getStartPosition

public final int getStartPosition()

getEndPosition

public final int getEndPosition()

getObject

public JavaParser getObject(int position)

getObject

protected JavaParser getObject(int position,
                               java.util.List code)

getToolTip

public java.lang.String getToolTip()

parse

public void parse(java.lang.String data)

setStartPosition

void setStartPosition(int newPos)

getJClass

public final JClass getJClass()

parse

final void parse(java.util.StringTokenizer st,
                 int position,
                 java.lang.String endsWith,
                 java.util.List list)

getString

static final java.lang.String getString(java.util.StringTokenizer st,
                                        java.lang.String endsWith)

setAvailableClasses

public final void setAvailableClasses(java.util.List _availableClasses)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getCode

public java.util.List getCode()