plugins.JavaRolePluginModule
Class ParseTree

java.lang.Object
  |
  +--plugins.JavaRolePluginModule.ParseTree

public class ParseTree
extends java.lang.Object


Constructor Summary
ParseTree(java.lang.String file)
           
 
Method Summary
 plugins.JavaRolePluginModule.Entity getFirstChild()
           
 plugins.JavaRolePluginModule.Entity getFirstChildOfFile()
           
 plugins.JavaRolePluginModule.Entity getMatching(plugins.JavaRolePluginModule.Entity matchingEntity)
           
 plugins.JavaRolePluginModule.Entity getNext()
           
 plugins.JavaRolePluginModule.Entity getNextSkipHeadAndBody()
          This method skips the first instance of a class or method and the body.
 plugins.JavaRolePluginModule.Entity getParent()
           
 plugins.JavaRolePluginModule.Entity getPrevious()
           
 boolean hasSyntaxError()
           
 void insertBefore(plugins.JavaRolePluginModule.Entity newEntity)
           
 plugins.JavaRolePluginModule.Entity removeAndGetNext()
           
 plugins.JavaRolePluginModule.Entity removeAndGetPrevious()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseTree

public ParseTree(java.lang.String file)
Method Detail

hasSyntaxError

public boolean hasSyntaxError()

getFirstChildOfFile

public plugins.JavaRolePluginModule.Entity getFirstChildOfFile()

getFirstChild

public plugins.JavaRolePluginModule.Entity getFirstChild()

getNext

public plugins.JavaRolePluginModule.Entity getNext()

getPrevious

public plugins.JavaRolePluginModule.Entity getPrevious()

getParent

public plugins.JavaRolePluginModule.Entity getParent()

getNextSkipHeadAndBody

public plugins.JavaRolePluginModule.Entity getNextSkipHeadAndBody()
This method skips the first instance of a class or method and the body. If the next entity is different from *HEAD and *BODY this entity is returned. If the current entity is *HEAD the method skips the body and returns the entity after the body. If the current entity is *BODY the entity after the body is returned.


removeAndGetPrevious

public plugins.JavaRolePluginModule.Entity removeAndGetPrevious()

removeAndGetNext

public plugins.JavaRolePluginModule.Entity removeAndGetNext()

insertBefore

public void insertBefore(plugins.JavaRolePluginModule.Entity newEntity)

getMatching

public plugins.JavaRolePluginModule.Entity getMatching(plugins.JavaRolePluginModule.Entity matchingEntity)

toString

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