plugins.JavaRolePluginModule
Class ParseTree
java.lang.Object
|
+--plugins.JavaRolePluginModule.ParseTree
- public class ParseTree
- extends java.lang.Object
Constructor Summary |
ParseTree(java.lang.String file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParseTree
public ParseTree(java.lang.String file)
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