public class DBInputProcessorTree extends Object implements DBInputProcessor, XJNotificationObserver
| Modifier and Type | Class and Description |
|---|---|
class |
DBInputProcessorTree.InputTreeNode |
static class |
DBInputProcessorTree.NodeInfo |
| Modifier and Type | Field and Description |
|---|---|
Color |
consumedColor |
DBInputProcessorTree.InputTreeNode |
currentNode |
DebuggerTab |
debuggerTab |
DBInputProcessorTree.InputTreeNode |
lastNode |
DBEventLocation |
location
Last position in the grammar received from the parser
|
Color |
ltColor |
Map<Integer,DBInputProcessorTree.NodeInfo> |
nodeInfoForToken
Map of token to tree node information
|
Color |
nonConsumedColor
Node colors
|
DBInputProcessorTree.InputTreeNode |
rootNode |
AWTreePanel |
treePanel |
TOKEN_DEAD, TOKEN_HIDDEN, TOKEN_NORMAL| Constructor and Description |
|---|
DBInputProcessorTree(AWTreePanel treePanel,
DebuggerTab debuggerTab) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyColor(Color c) |
void |
close() |
void |
consumeToken(org.antlr.runtime.Token token,
int flavor) |
void |
createColors() |
DBInputProcessorTree.InputTreeNode |
createNode(org.antlr.runtime.Token token) |
int |
getCurrentTokenIndex() |
DBInputProcessorTree.NodeInfo |
getNode(org.antlr.runtime.Token token) |
DBInputTextTokenInfo |
getTokenInfoAtTokenIndex(int index) |
DBInputTextTokenInfo |
getTokenInfoForToken(org.antlr.runtime.Token token) |
boolean |
isBreakpointAtToken(org.antlr.runtime.Token token) |
void |
LT(org.antlr.runtime.Token token) |
void |
notificationFire(Object source,
String name) |
DBInputProcessorTree.InputTreeNode |
processToken(org.antlr.runtime.Token token) |
void |
removeAllLT() |
void |
reset() |
void |
rewind(int i) |
void |
rewindAll() |
void |
setCurrentNode(DBInputProcessorTree.InputTreeNode node) |
void |
setLocation(DBEventLocation event) |
void |
updateTreePanel() |
public AWTreePanel treePanel
public DebuggerTab debuggerTab
public DBInputProcessorTree.InputTreeNode rootNode
public DBInputProcessorTree.InputTreeNode currentNode
public DBInputProcessorTree.InputTreeNode lastNode
public Map<Integer,DBInputProcessorTree.NodeInfo> nodeInfoForToken
public DBEventLocation location
public Color nonConsumedColor
public Color consumedColor
public Color ltColor
public DBInputProcessorTree(AWTreePanel treePanel, DebuggerTab debuggerTab)
public void close()
public void updateTreePanel()
public void createColors()
public void applyColor(Color c)
public void reset()
reset in interface DBInputProcessorpublic void removeAllLT()
removeAllLT in interface DBInputProcessorpublic void rewind(int i)
rewind in interface DBInputProcessorpublic void rewindAll()
rewindAll in interface DBInputProcessorpublic void LT(org.antlr.runtime.Token token)
LT in interface DBInputProcessorpublic void consumeToken(org.antlr.runtime.Token token,
int flavor)
consumeToken in interface DBInputProcessorpublic DBInputProcessorTree.InputTreeNode processToken(org.antlr.runtime.Token token)
public void setCurrentNode(DBInputProcessorTree.InputTreeNode node)
public DBInputProcessorTree.InputTreeNode createNode(org.antlr.runtime.Token token)
public DBInputProcessorTree.NodeInfo getNode(org.antlr.runtime.Token token)
public void setLocation(DBEventLocation event)
setLocation in interface DBInputProcessorpublic int getCurrentTokenIndex()
getCurrentTokenIndex in interface DBInputProcessorpublic DBInputTextTokenInfo getTokenInfoAtTokenIndex(int index)
getTokenInfoAtTokenIndex in interface DBInputProcessorpublic DBInputTextTokenInfo getTokenInfoForToken(org.antlr.runtime.Token token)
public void notificationFire(Object source, String name)
notificationFire in interface XJNotificationObserverpublic boolean isBreakpointAtToken(org.antlr.runtime.Token token)
Copyright © 2013. All rights reserved.