A B C D E F G H I J K L M N O P R S T U V X Y _

A

accept(File) - Method in class torero.util.ToreroFileFilter
Test if a given file f, is machted by any filter in this class.
ACDCacheInit() - Method in class torero.gui.GrammarNode
 
action_obj - Variable in class torero.scapa.parser
Instance of action encapsulation class.
action_table() - Method in class torero.scapa.parser
Access to parse-action table.
actionPerformed(ActionEvent) - Method in class torero.gui.MyTreeUI.ComponentHandler
Not implemented.
activate() - Method in class torero.gui.ConnectTool
Activates and resets this tool.
activate() - Method in class torero.gui.TraversalTool
Activates (resets) this tool.
activate() - Method in interface torero.gui.ToreroTool
Activates (resets) this tool.
activate() - Method in class torero.gui.SwapTool
Activates (resets) this tool, and changes the cursor.
activate() - Method in class torero.gui.AttributeTool
Activates (resets) this tool.
activate() - Method in class torero.gui.FunctionTool
Activates (resets) this tool.
addAttribute(Attribute) - Method in class torero.model.Symbol
This method is used to add Attributes to this Symbol.
addCCodeDef(String) - Method in class torero.model.AdditionalGrammarInfo
Adds the given cCode to the defC_Code field.
addinfo - Variable in class torero.model.Grammar
 
AdditionalGrammarInfo - class torero.model.AdditionalGrammarInfo.
This class keeps the c-code (between %{ and %} and in the tail) read by the parser when importing yacc files.
AdditionalGrammarInfo() - Constructor for class torero.model.AdditionalGrammarInfo
 
addProduction(Production) - Method in class torero.model.ProductionMap
This Method is used to add a new Production to this ProductionMap.
addProduction(String, String[], String) - Method in class torero.model.Grammar
This method allows to add a new Production to the grammar.
addSource(Production.ListElement, Attribute) - Method in class torero.model.AttributeAssingnment
Adds a new Source with the given ListElement and Attribute to this Assingnment.
addTool(ToreroTool) - Method in class torero.gui.ToreroToolBox
Adds a tool to the toolbox.
addTraversal(Traversal) - Method in class torero.model.Production
Adds a Traversal to the Production.
Applet - class torero.Applet.
This class is used to start Torero as Applet.
Applet() - Constructor for class torero.Applet
 
AssignException - exception torero.model.exceptions.AssignException.
Exception indicating that an AttributeAssignment could not be created.
AssignException(String) - Constructor for class torero.model.exceptions.AssignException
 
AssignLoopException - exception torero.model.exceptions.AssignLoopException.
Exception indicating that an AttributeAssignment could not be created, because an assignment loop was detected.
AssignLoopException(String) - Constructor for class torero.model.exceptions.AssignLoopException
 
AssignmentIncompatibleException - exception torero.model.exceptions.AssignmentIncompatibleException.
Exception indicating that an AttributeAssignment could not be created, because the new assignment was not compatible to other existing assignments.
AssignmentIncompatibleException(String) - Constructor for class torero.model.exceptions.AssignmentIncompatibleException
 
att - Variable in class torero.gui.SrcAtt
The attribute component of the key.
attrib - Variable in class torero.gui.AttributeCellData
The contained attribute.
attribKeyString(AttributeAssingnment.AttribKey) - Method in class torero.model.AttributeAssingnment
Returns the Ox Representation for a given AttribKey Object.
attribKeyString(String) - Method in class torero.model.AttributeAssingnment
Returns the Ox Representation for a given Internal String Representation of an AttribKey.
Attribute - class torero.model.Attribute.
Attribute Objects are used in Toreros Attribute Grammar Model to represent the Attributes.
Attribute(String, AttributeMap) - Constructor for class torero.model.Attribute
As mentioned above the Attribute constuctor should not be called directly.
AttributeAssingnment - class torero.model.AttributeAssingnment.
The AttributeAssingnment Class represents connections between (different) Attributes in a certain Production.
AttributeAssingnment.AttribKey - class torero.model.AttributeAssingnment.AttribKey.
The inner AttribKey class is used to represent the the elements that can be assigned to each other.
AttributeAssingnment.AttribKey(AttributeAssingnment, Production.ListElement, Attribute) - Constructor for class torero.model.AttributeAssingnment.AttribKey
This constructor takes a ListElement and an Attribute from the list of Attributes the referencing Symbol of the ListElement has.
AttributeAssingnment(Production, Production.ListElement, Attribute) - Constructor for class torero.model.AttributeAssingnment
Creates a new AttributeAssingnment for the given Production with the given ListElement and Attribute as Destination.
AttributeCellData - class torero.gui.AttributeCellData.
Helper Object used by GrammarNode.
AttributeCellData(Attribute, int) - Constructor for class torero.gui.AttributeCellData
 
AttributeCellRenderer - class torero.gui.AttributeCellRenderer.
Cell renderer class used to render attributes and traversals.
AttributeCellRenderer() - Constructor for class torero.gui.AttributeCellRenderer
Creates a new AttributeCellRenderer.
AttributeGrammar - class torero.model.AttributeGrammar.
Attribute Grammar extends Grammar in that way, that you can define Attributes and assign them to Symbols.
AttributeGrammar() - Constructor for class torero.model.AttributeGrammar
 
AttributeListModel - class torero.gui.AttributeListModel.
ListModel used by the JLists in the AttributeTool.
AttributeListModel() - Constructor for class torero.gui.AttributeListModel
 
AttributeMap - class torero.model.AttributeMap.
The AttributeMap is a collection used for creation and lookup of Attributes for a specific grammar.
AttributeMap() - Constructor for class torero.model.AttributeMap
 
AttributeModel - class torero.gui.AttributeModel.
ListModel used by the ComboBoxes in the AttributeTool.
AttributeModel() - Constructor for class torero.gui.AttributeModel
 
AttributeNameException - exception torero.model.exceptions.AttributeNameException.
Exception indicating that an attribute had not been renamed or created, because the name was already in use.
AttributeNameException(String) - Constructor for class torero.model.exceptions.AttributeNameException
 
AttributeTool - class torero.gui.AttributeTool.
The attribute tool class is used to assign attributes to symbols.
AttributeTool(SymbolModel, AttributeModel) - Constructor for class torero.gui.AttributeTool
Creates a new AttributeTool.
AUTOINHERIT - Static variable in class torero.model.Attribute
 
AUTOSYNTHESIZE - Static variable in class torero.model.Attribute
 

B

backgroundNonSelectionColor - Variable in class torero.gui.GrammarTreeCellRenderer
Color to use for the background when the node isn't selected.
backgroundSelectionColor - Variable in class torero.gui.GrammarTreeCellRenderer
Color to use for the background when a node is selected.
borderSelectionColor - Variable in class torero.gui.GrammarTreeCellRenderer
Color to use for the background when the node isn't selected.

C

C_CODE_SYMBOL - Static variable in class torero.scapa.sym
 
C_IDENTIFIER - Static variable in class torero.scapa.sym
 
calcLineCache() - Method in class torero.gui.NodeWrapper
Calls the the attribute-routing algorithm recursively on all nodes beyound this node.
calcPrefSize(TreeCellRenderer, JTree) - Method in class torero.gui.NodeWrapper
Calculates and sets the prefered size of this node and all it's children, by calling calcPrefSizeX() on itself.
calcTree() - Method in class torero.gui.NodeWrapper
Calculates the x and y position for nodes and the needed height for the whole tree, this value is returned.
cancelEditing(JTree) - Method in class torero.gui.MyTreeUI
Not implemented, because this TreeUI doesn't support editing.
changeName(String) - Method in class torero.model.Symbol
This is a save method to change a Symbol name.
checkFunctionConsistency() - Method in class torero.model.AttributeGrammar
Checks the consistency of AttributeAssingnment Functions and updates the validity State.
checkIfChildSource(GrammarNode) - Method in class torero.gui.GrammarNode
For every assignment from the given GrammarNode mgtn (which must be a child of this) to itself (this), it put's an entry in the destination lookup chache.
checkIfLoop(AttributeAssingnment.AttribKey, AttributeAssingnment.AttribKey) - Method in class torero.model.AttributeGrammar
Checks if a new Assignment with the given Source and Destination would cause a Assignmet Loop.
checkIfParentSource() - Method in class torero.gui.GrammarNode
For every assignment from the node's parent to itself (this), it put's an entry in the destination lookup chache.
checkIfParentSource() - Method in class torero.gui.GrammarRoot
Is an emtpy implementation for the Root Node.
checkIfSelfTraversalSource() - Method in class torero.gui.GrammarNode
For every assignment (with destination of type traversal) from the node to itself (this), it put's an entry in the destination lookup chache.
checkIfSelfTraversalSource() - Method in class torero.gui.GrammarRoot
For every assignment (with destination of type traversal) from the node to itself (this), it put's an entry in the destination lookup chache.
checkIfSiblingSource(GrammarNode) - Method in class torero.gui.GrammarNode
For every assignment from the given GrammarNode mgtn (which must be a "sibling" of this, or the node itself (mgtn=this)) to itself (this), it put's an entry in the destination lookup chache.
checkIfSiblingSource(GrammarNode) - Method in class torero.gui.GrammarRoot
Calls checkIfSelfTraversalSourde() because a root node cannot have "siblings".
CHILD - Static variable in class torero.gui.SrcAtt
Source node is child of the destination node.
children() - Method in class torero.gui.GrammarNode
Tells this node to produce its children acording to the derivat object.
chldcnt - Variable in class torero.gui.GrammarNode
Number of sources of assignments from children to this node.
clear() - Method in class torero.util.OneToManyMap
Removes all keys and their associated values from this OneToManyMap.
clear() - Method in class torero.gui.LineTable
Removes all entries from this linetable.
clearAssoc() - Method in class torero.model.Token
Clear association type and level (yacc specific).
clearDestLookupCache() - Method in class torero.gui.GrammarNode
Empties the destination lookup cache.
cleardown(int) - Method in class torero.gui.LineTable
Removes all entries with the key side equal and greater than the given parameter from
closedIcon - Variable in class torero.gui.GrammarTreeCellRenderer
Icon used to show non-leaf nodes that aren't expanded.
collapse() - Method in class torero.gui.NodeWrapper
Set the nodes expanded flag to false.
compareTo(Object) - Method in class torero.gui.JProdItem
JProductionitems are compare using the compareTo method of the production.
compareTo(Object) - Method in class torero.model.Attribute
Reimplemtented for a well defined sort order of Attribute and Traversal objects.
compareTo(Object) - Method in class torero.model.Symbol
Reimplemtented for a well defined sort order of Symbol objects.
compareTo(Object) - Method in class torero.model.Production
Sort order via LHS Symbol sort order.
compareTo(Object) - Method in class torero.model.Traversal
Reimplemtented for a well defined sort order of Attribute and Traversal objects.
componentMoved(ComponentEvent) - Method in class torero.gui.MyTreeUI.ComponentHandler
Not implemented.
ConnectTool - class torero.gui.ConnectTool.
The connect tool class is used to construct attibute assignments between attributes.
ConnectTool() - Constructor for class torero.gui.ConnectTool
 
contains(String) - Method in class torero.model.SymbolMap
Returns true if a Symbol with that name exists.
contains(String) - Method in class torero.model.AttributeMap
Returns true if an Attribute or Traversal with that name exists.
containsTrav(Traversal) - Method in class torero.model.Production
Does the Production contain the given Traversal ?
convert2Internal(String) - Method in class torero.model.AttributeAssingnment
Builds an internal Representation of a Function Description from the ox-like Representation.
convert2User(String) - Method in class torero.model.AttributeAssingnment
Builds an ox-like Representation of a Function Description from the internal Representation.
createUI(JComponent) - Static method in class torero.gui.MyTreeUI
It returns an instance of MyTreeUI as the original BasicTreeUI implementation does.
crlf - Static variable in class torero.util.ToreroConfig
Line terminator used in ox output file.
currenttsm - Variable in class torero.gui.MyTreeUI
The current TreeSelectionModel, derived from the JTree.

D

deactivate() - Method in class torero.gui.ConnectTool
Deactivates (resets) this tool, resets the cursor to the state before activating the tool.
deactivate() - Method in class torero.gui.TraversalTool
Deactivates (resets) this tool.
deactivate() - Method in interface torero.gui.ToreroTool
Deactivates (resets) this tool.
deactivate() - Method in class torero.gui.SwapTool
Deactivates (resets) this tool, and restores the cursor.
deactivate() - Method in class torero.gui.AttributeTool
Deactivates (resets) this tool.
deactivate() - Method in class torero.gui.FunctionTool
Deactivates (resets) this tool.
declareLiteral(String) - Method in class torero.model.Grammar
A new Literal (Token Symbol) is created and added to the SymbolMap.
declareLiteral(String, int) - Method in class torero.model.Grammar
A new Literal (Token Symbol) is created and added to the SymbolMap.
declareLiteral(String, String, int) - Method in class torero.model.Grammar
A new Literal (Token Symbol) is created and added to the SymbolMap.
declareLiteral(String, String, int, int) - Method in class torero.model.Grammar
A new Literal (Token Symbol) is created and added to the SymbolMap.
declareStartSymbol(String) - Method in class torero.model.Grammar
Use this method to define the Start Symbol for the Grammar (it's created as NonTerm).
declareToken(String) - Method in class torero.model.Grammar
A new Token Symbol is created and added to the SymbolMap.
declareToken(String, int) - Method in class torero.model.Grammar
A new Token Symbol is created and added to the SymbolMap.
declareToken(String, String, int) - Method in class torero.model.Grammar
A new Token Symbol is created and added to the SymbolMap.
declareToken(String, String, int, int) - Method in class torero.model.Grammar
A new Token Symbol is created and added to the SymbolMap.
DEFAULTDIR - Static variable in class torero.model.Traversal
 
DEFAULTORDER - Static variable in class torero.model.Traversal
 
defC_Code - Variable in class torero.model.AdditionalGrammarInfo
the code from the definition section.
Derivat - class torero.model.Derivat.
The Derivation is the most complex Class in the Torero Model - it represents derivations in grammars.
destination - Variable in class torero.gui.MyTreeUI.MouseInputHandler
Destination that recieves all events.
destlookup - Variable in class torero.gui.GrammarNode
A lookup cache containing all destinations of assignments from this node to other nodes.
do_action(int, lr_parser, Stack, int) - Method in class torero.scapa.parser
Invoke a user supplied parse action.
DOT_FILTER - Static variable in class torero.util.ToreroFileFilter
.dot files, dot output files.
DotKey(Object) - Static method in class torero.util.UKG
Generates and returns a unique key for the given object o.

E

END_OF_CURLED_C_CODE - Static variable in class torero.scapa.sym
 
EOF - Static variable in class torero.scapa.sym
 
EOF_sym() - Method in class torero.scapa.parser
EOF Symbol index.
Epsilon - class torero.model.Epsilon.
The Epsilon Symbol Object used in Toreros Attribute Grammar Model to represent the Null-Symbol.
Epsilon(SymbolMap) - Constructor for class torero.model.Epsilon
This constuctor should not be called directly.
equals(Object) - Method in class torero.model.Attribute
Reimplemtented for a uniqueness based on the attribute name.
equals(Object) - Method in class torero.model.AttributeAssingnment.AttribKey
Two AttribKeys are equal if they are referencing to the same ListElement and Attribute.
equals(Object) - Method in class torero.model.Symbol
Reimplemtented for a uniqueness based on the symbols field name.
equals(Object) - Method in class torero.model.Production
Equality defined as structural equality.
equals(Object) - Method in class torero.model.Production.ListElement
Returns true if they encapsulate the same Symbol.
equals(Object) - Method in class torero.model.Production.ProductionRHS
Overridden to define to RHS's equal when they have exactly the same order of the same Symbols.
error - Static variable in class torero.scapa.sym
 
error_sym() - Method in class torero.scapa.parser
error Symbol index.
execAddAttrib(String, String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execAddAttrib(Symbol, Attribute) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execAddSource(AttributeAssingnment, Production.ListElement, Attribute) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execAddSource(String, String, String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execAddTaversal(Production, Traversal) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execAddTaversal(String, String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execDelAttrib(String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execDelTraversal(String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execLoadYacc(File) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execLoadYacc(String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execNewAttrib(String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execNewTraversal(String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execObtainAss(Production, Production.ListElement, Attribute) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execObtainAss(Production, Production.ListElement, Attribute, Production.ListElement, Attribute) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execObtainAss(String, String, String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execRemAttrib(String, String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execRemAttrib(Symbol, Attribute) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execRemSource(AttributeAssingnment, AttributeAssingnment.AttribKey) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execRemSource(AttributeAssingnment, Production.ListElement, Attribute) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execRemSource(String, String, String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execRemTaversal(Production, Traversal) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execRemTaversal(String, String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execSaveJPG(File) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execSaveJPG(String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execSaveOx(File) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
execSaveOx(String) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
expand() - Method in class torero.gui.NodeWrapper
Set's the node's expanded flag.

F

fire() - Method in class torero.gui.AttributeListModel
Causes the displaying JList to refresh its content.
fire() - Method in class torero.gui.AttributeModel
Causes the displaying JList to refresh its content.
fire() - Method in class torero.gui.TraversalModel
Causes the displaying JList to refresh its content.
firePropertyChange(String, boolean, boolean) - Method in class torero.gui.GrammarTreeCellRenderer
Not implemented.
firePropertyChange(String, boolean, boolean) - Method in class torero.gui.AttributeCellRenderer
not implemented.
firePropertyChange(String, byte, byte) - Method in class torero.gui.GrammarTreeCellRenderer
Not implemented.
firePropertyChange(String, byte, byte) - Method in class torero.gui.AttributeCellRenderer
not implemented.
firePropertyChange(String, char, char) - Method in class torero.gui.GrammarTreeCellRenderer
Not implemented.
firePropertyChange(String, char, char) - Method in class torero.gui.AttributeCellRenderer
not implemented.
firePropertyChange(String, double, double) - Method in class torero.gui.GrammarTreeCellRenderer
Not implemented.
firePropertyChange(String, double, double) - Method in class torero.gui.AttributeCellRenderer
not implemented.
firePropertyChange(String, float, float) - Method in class torero.gui.GrammarTreeCellRenderer
Not implemented.
firePropertyChange(String, float, float) - Method in class torero.gui.AttributeCellRenderer
not implemented.
firePropertyChange(String, int, int) - Method in class torero.gui.GrammarTreeCellRenderer
Not implemented.
firePropertyChange(String, int, int) - Method in class torero.gui.AttributeCellRenderer
not implemented.
firePropertyChange(String, long, long) - Method in class torero.gui.GrammarTreeCellRenderer
Not implemented.
firePropertyChange(String, long, long) - Method in class torero.gui.AttributeCellRenderer
not implemented.
firePropertyChange(String, Object, Object) - Method in class torero.gui.GrammarTreeCellRenderer
Not implemented.
firePropertyChange(String, Object, Object) - Method in class torero.gui.AttributeCellRenderer
not implemented.
firePropertyChange(String, short, short) - Method in class torero.gui.GrammarTreeCellRenderer
Not implemented.
firePropertyChange(String, short, short) - Method in class torero.gui.AttributeCellRenderer
not implemented.
flipSymbols(int, int) - Method in class torero.model.Production.ProductionRHS
Changes the places of the symbols on the given positions.
FunctionTool - class torero.gui.FunctionTool.
The function tool class is used to set the function description of an (existing) attribute assignment, wich defines the exaxt mathematical function in target (ox, c) syntax.
FunctionTool() - Constructor for class torero.gui.FunctionTool
 

G

GEAUF - Static variable in class torero.scapa.sym
 
get(Object) - Method in class torero.util.OneToManyMap
Returns an iterator of Objects associated to the given key.
getACDPos(Attribute) - Method in class torero.gui.GrammarNode
Get the position of the given attribute (traversal).
getACDSize() - Method in class torero.gui.GrammarNode
Get the number of attributes+traversals assigned to this node.
getActualAG() - Static method in class torero.util.ToreroConfig
Get a reference to the actual attribute grammar.
getAllAssignments() - Method in class torero.model.Production
Returns all AttibuteAssignments this Production has as Iterator of AttibuteAssignments.
getAllDests() - Method in class torero.gui.GrammarNode
Get all destination (key values) from the destination lookup cache (see class description of GrammarNode).
getAllowsChildren() - Method in class torero.gui.GrammarNode
See if this node can procduce children.
getAllProductions() - Method in class torero.model.ProductionMap
This Method returns all Productions this ProductionMap contains as Iterator.
getAllValues() - Method in class torero.util.OneToManyMap
Returns an iterator of all values of this OneToManyMap.
getAppletInfo() - Method in class torero.Applet
Returns some basic information about this Applet.
getAppliedTo() - Method in class torero.model.Derivat
Returns the ListElement for what this (Sub)Derivation is the expansion.
getAssignmentsHavingDest(Production.ListElement) - Method in class torero.model.Production
 
getAssocType() - Method in class torero.model.Token
Return association type of this Token (yacc specific).
getAttribHeigh() - Method in class torero.gui.GrammarNode
Get the height of the attributes+traversals displayed by this node. return the height of the attriubtes+traversals [pixel].
getAttribPosY(Attribute) - Method in class torero.gui.GrammarNode
Get the relative y position of the given attribute (traversal).
getAttribute() - Method in class torero.model.AttributeAssingnment.AttribKey
Returns the Attribute part of the AttribKey Object.
getAttributeCellDataArray() - Method in class torero.gui.GrammarNode
Get all ACDCache entries as object arrray.
getAttributeGrammar() - Method in class torero.gui.GrammarNode
Get the referenced AttributeGrammar.
getAttributeMap() - Method in class torero.model.AttributeGrammar
Returns the AttributeMap that contains all Attributes defined in this grammar.
getAttributePos(Attribute) - Method in class torero.model.Symbol
This method returns the position of the given Attribute in the symbols set of attributes.
getAttributes() - Method in class torero.model.Symbol
This method returns the Attributes of the Symbol as Array.
getAttributes() - Method in class torero.model.AttributeMap
Returns all Attributes in this AttributeMap as Collection.
getAttributesAndTraversals() - Method in class torero.model.AttributeMap
Returns all Attributes and Traversals in this AttributeMap as Collection.
getAttributeSize() - Method in class torero.model.AttributeMap
Returns the number of Attributes and Traversals in this AttributeMap.
getAttributesSize() - Method in class torero.model.Symbol
This method returns the Number of Attributes the Symbol has.
getAttribWidth() - Method in class torero.gui.GrammarNode
Get the width of the attribute (traversal) part of this node, it's the maximum of all attributes in the node.
getBackgroundNonSelectionColor() - Method in class torero.gui.GrammarTreeCellRenderer
Returns the background color to be used for non selected nodes.
getBackgroundSelectionColor() - Method in class torero.gui.GrammarTreeCellRenderer
Returns the color to use for the background if node is selected.
getBorderSelectionColor() - Method in class torero.gui.GrammarTreeCellRenderer
Returns the color the border is drawn.
getChild(int) - Method in class torero.gui.NodeWrapper
The child at positions pos is returned.
getChildAt(int) - Method in class torero.gui.GrammarNode
Get the child object at the given position (from left to right).
getChildCount() - Method in class torero.gui.GrammarNode
Get the actual (none are produced by this call) number of children.
getChildList() - Method in class torero.gui.NodeWrapper
The children of this node are returned.
getChildList() - Method in class torero.model.Derivat
Returns an Iterator of (Sub)Derivations of this Derivation.
getChildPos(NodeWrapper) - Method in class torero.gui.NodeWrapper
The child's positions is returned.
getChildSize() - Method in class torero.gui.NodeWrapper
The number of children is returned.
getChildSize() - Method in class torero.model.Derivat
Returns the number of (Sub)Derivations this Derivation has.
getClosestPathForLocation(JTree, int, int) - Method in class torero.gui.MyTreeUI
Implementation different to original SWING BasicTreeUI.
getCompatibleAssignments(AttributeAssingnment.AttribKey) - Method in class torero.model.Production
 
getConfig() - Static method in class torero.util.ToreroConfig
Get the singleton torero config object.
getDebugLevel() - Static method in class torero.util.Logger
Get the actual debug level.
getDerivat() - Method in class torero.gui.GrammarNode
Get the referenced derivat.
getDerivedWord() - Method in class torero.model.Derivat
Returns the word this derivation builds (currently under development).
getDescription() - Method in class torero.util.ToreroFileFilter
Get the textual description of the filefilter.
getDescription() - Method in class torero.gui.ConnectTool
Get a textual description of the tool (e.g. one sentence).
getDescription() - Method in class torero.gui.TraversalTool
Get a textual description of the tool (e.g. one sentence).
getDescription() - Method in interface torero.gui.ToreroTool
Get a textual description of the tool (e.g. ine sentence).
getDescription() - Method in class torero.gui.SwapTool
Get a textual description of the tool (e.g. one sentence).
getDescription() - Method in class torero.gui.AttributeTool
Get a textual description of the tool (e.g. one sentence).
getDescription() - Method in class torero.gui.FunctionTool
Get a textual description of the tool (e.g. one sentence).
getDestCnt() - Method in class torero.gui.GrammarNode
Get the number of displayed attributes+traversals of this node.
getDestination() - Method in class torero.model.AttributeAssingnment
Returns the Destination AttribKey.
getDirectionSpecifier() - Method in class torero.model.Traversal
Returns the Direction Specifier (Ox specific).
getEditingPath(JTree) - Method in class torero.gui.MyTreeUI
Not implemeted.
getElementAt(int) - Method in class torero.gui.ProductionModel
Get the Element at the given position.
getElementAt(int) - Method in class torero.gui.AttributeListModel
Get the Element on position at.
getElementAt(int) - Method in class torero.gui.SymbolModel
Get the Element at the given position.
getElementAt(int) - Method in class torero.gui.AttributeModel
Get the Element at the given position.
getElementAt(int) - Method in class torero.gui.TraversalModel
Get the Element at the given position.
getEpsilon() - Method in class torero.model.SymbolMap
Returns the Epsilon Symbol of this SymbolMap.
getErrorStream() - Static method in class torero.util.Logger
Get errorstream class for logging info messages.
getExpansionElement(int) - Method in class torero.model.Derivat
This method returns the ListElement on a specific Position that can be expanded on this derivation level.
getExpansionList() - Method in class torero.model.Derivat
This method returns an Iteration of ListElements that can be expanded on this derivation level.
getExpansionPos(Production.ListElement) - Method in class torero.model.Derivat
This method returns the Position of a specific ListElement that can be expanded on this derivation level.
getExpansionSize() - Method in class torero.model.Derivat
This method returns the number of ListElements that can be expanded on this derivation level.
getExtension(File) - Static method in class torero.util.ToreroFileFilter
Get the extension of the given file f.
getFuncDesc() - Method in class torero.model.AttributeAssingnment
Returns this Assignments Function Code.
getGrammar() - Method in class torero.scapa.parser
Get the actual grammar.
getIndex(TreeNode) - Method in class torero.gui.GrammarNode
Get the position of the given (child) object.
getIndexOf(Object) - Method in class torero.gui.ProductionModel
Get the index of the given production.
getIndexOf(Object) - Method in class torero.gui.AttributeListModel
Get the index of the given attribute.
getIndexOf(Object) - Method in class torero.gui.SymbolModel
Get the index of the given symbol.
getIndexOf(Object) - Method in class torero.gui.AttributeModel
Get the index of the given attribute.
getIndexOf(Object) - Method in class torero.gui.TraversalModel
Get the index of the given traversal.
getInner() - Method in class torero.gui.NodeWrapper
Get the encapsulated TreeNode object.
getItsSubDerivation() - Method in class torero.gui.GrammarNode
Get the derivat object that can be produced by extending this node in the tree.
getItsSubDerivation() - Method in class torero.gui.GrammarRoot
Note that the subderivation of a Root Node is the same as it's derivat.
getKeys() - Method in class torero.util.OneToManyMap
Returns an iterator of all keys of this OneToManyMap.
getLHS() - Method in class torero.model.Production
Returns the LHS of this Production encapsulated as ListElement.
getLine(int) - Method in class torero.gui.LineTable
Get the mapping for the key rek.
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class torero.gui.AttributeCellRenderer
Renders the list cell and returns a rendered component which can be put on a rendererPane.
getListElement() - Method in class torero.gui.GrammarNode
Get the referenced listelement.
getListElement() - Method in class torero.model.AttributeAssingnment.AttribKey
Returns the ListElement part of the AttribKey Object.
getMaximumSize(JComponent) - Method in class torero.gui.MyTreeUI
Returns the preferred size of the component.
getMinimumSize(JComponent) - Method in class torero.gui.MyTreeUI
Returns the preferred size of the component.
getName() - Method in class torero.model.Attribute
Returns the name of the attribute.
getName() - Method in class torero.model.Symbol
Returns the Name of the Symbol and takes care of escaped characters.
getNodeAt(int, int) - Method in class torero.gui.NodeWrapper
Returns the NodeWrapper at the position mx, my [absolute screen coordinates].
getNodeWidth() - Method in class torero.gui.GrammarNode
Get the width of the node, actually this is the width of the symbol.
getOrderSpecifier() - Method in class torero.model.Traversal
Returns the Order Specifier (Ox specific).
getOutStream() - Static method in class torero.util.Logger
Get outstream class for logging info messages.
getParent() - Method in class torero.gui.GrammarNode
Get the parent TreeNode of the this node.
getParent() - Method in class torero.gui.NodeWrapper
 
getParent() - Method in class torero.model.Derivat
Returns the Derivations this (Sub)Derivation extends (the Parent Derivation).
getParentComponent() - Method in class torero.gui.ToreroToolBox
Get the parent component of the toolbox.
getPathBounds(JTree, TreePath) - Method in class torero.gui.MyTreeUI
Not implemented correct.
getPathForRow(JTree, int) - Method in class torero.gui.MyTreeUI
Implementation different to original SWING BasicTreeUI.
getPrecedence() - Method in class torero.model.Token
Returns association level of this Token (yacc specific).
getPreferredSize() - Method in class torero.gui.GrammarTreeCellRenderer
Get the preferred size for the rendered component.
getPreferredSize(JComponent) - Method in class torero.gui.MyTreeUI
Returns the preferred size of the component.
getProd() - Method in class torero.gui.JProdItem
Get the referenced production.
getProductionMap() - Method in class torero.model.Grammar
Returns the ProductionMap that contains all Productions defined in this Grammar.
getProductions(Symbol) - Method in class torero.model.ProductionMap
This Method returns all Productions having the given Symbol at the LHS as Iterator.
getpSize() - Method in class torero.gui.NodeWrapper
Get the preferred size of this node.
getRefSymbol() - Method in class torero.model.Production.ListElement
Returns the encapsulated Symbol.
getRHS() - Method in class torero.model.Production
Returns the RHS of this Production.
getRowCount(JTree) - Method in class torero.gui.MyTreeUI
Not implemented, because rows don't make sense in this TreeUI.
getRowForPath(JTree, TreePath) - Method in class torero.gui.MyTreeUI
Not implemented, because rows don't make sense in this TreeUI.
getselectedAttrib() - Method in class torero.gui.GrammarNode
Get the selected attribute (traversal).
getSelectedItem() - Method in class torero.gui.ProductionModel
Get the selected item.
getSelectedItem() - Method in class torero.gui.SymbolModel
Get the selected item.
getSelectedItem() - Method in class torero.gui.AttributeModel
Get the selected item.
getSelectedItem() - Method in class torero.gui.TraversalModel
Get the selected item.
getShortDescription() - Method in class torero.gui.ConnectTool
Get a short textual description of the tool (a few words).
getShortDescription() - Method in class torero.gui.TraversalTool
Get a short textual description of the tool (a few words).
getShortDescription() - Method in interface torero.gui.ToreroTool
Get a short textual description of the tool (a few words).
getShortDescription() - Method in class torero.gui.SwapTool
Get a short textual description of the tool (a few words).
getShortDescription() - Method in class torero.gui.AttributeTool
Get a short textual description of the tool.
getShortDescription() - Method in class torero.gui.FunctionTool
Get a short textual description of the tool (a few words).
getSize() - Method in class torero.gui.ProductionModel
Get the number of productions in this model.
getSize() - Method in class torero.gui.AttributeListModel
Returns the number of attributes in this model.
getSize() - Method in class torero.gui.SymbolModel
Get the number of symbols in this model.
getSize() - Method in class torero.gui.AttributeModel
Get the number of attributes in this model.
getSize() - Method in class torero.gui.TraversalModel
Get the number of traversals in this model.
getSourceCount() - Method in class torero.model.AttributeAssingnment
Returns the Number of Sources this Assignment has.
getSourceList() - Method in class torero.model.AttributeAssingnment
Returns all Sources of this Assignment as Array of Objects.
getSources() - Method in class torero.model.AttributeAssingnment
Returns all Sources of this Assignment as Iterator.
getSources(Attribute) - Method in class torero.gui.GrammarNode
Get all source values for a given key attribute (destination) from the destination lookup cache (see class description of GrammarNode).
getSourcesforDest(AttributeAssingnment.AttribKey) - Method in class torero.model.ProductionMap
This Method returns all AttribKeys that are sources for the given destination at any AttributeAssingnment at any Production in this ProductionMap as Iterator.
getStartSymbol() - Method in class torero.model.Grammar
Returns the Start Symbol of this Grammar.
getState() - Method in class torero.model.AttributeAssingnment
Returns this Assignments State.
getStatusLabel() - Method in class torero.gui.ToreroToolBox
Get an emtpy statuslabel with black LineBorder and Black Foreground.
getStringRep() - Method in class torero.model.Symbol
Returns a String Representation of this Symbol including its attributes.
getSymbolHeigh() - Method in class torero.gui.GrammarNode
Get the height of the referenced symbol [pixel]
getSymbolIterator() - Method in class torero.model.SymbolMap
Returns all Symbols in this SymbolMap as Iterator.
getSymbolMap() - Method in class torero.model.Grammar
Returns the SymbolMap that contains all Symbols defined in this Grammar.
getSymbols() - Method in class torero.model.Production.ProductionRHS
Returns an Iterator of the ListElements the RHS is built off (from left to right).
getSymbols() - Method in class torero.model.SymbolMap
Returns all Symbols in this SymbolMap as Collection.
getSymbolsEnum() - Method in class torero.model.Production.ProductionRHS
Returns an Enumeration of the ListElements the RHS is built off (from left to right).
getSymbolSize() - Method in class torero.model.SymbolMap
Returns the number of Symbols in this SymbolMap.
getTextNonSelectionColor() - Method in class torero.gui.GrammarTreeCellRenderer
Returns the color the text is drawn with when the node isn't selected.
getTextSelectionColor() - Method in class torero.gui.GrammarTreeCellRenderer
Returns the color the text is drawn with when the node is selected.
getToolBarPanel() - Method in class torero.gui.ToreroToolBox
Get a panel representing the toolbar.
getToolIcon() - Method in class torero.gui.ConnectTool
Get the icon for this tool.
getToolIcon() - Method in class torero.gui.TraversalTool
Get the Icon for this tool.
getToolIcon() - Method in interface torero.gui.ToreroTool
Get the icon for this tool.
getToolIcon() - Method in class torero.gui.SwapTool
Get the icon for this tool.
getToolIcon() - Method in class torero.gui.AttributeTool
Get the Icon for this tool.
getToolIcon() - Method in class torero.gui.FunctionTool
Get the icon for this tool.
getToolMenu() - Method in class torero.gui.ToreroToolBox
Get menu entries for all (plugged in) tools.
getToreroMenuBar() - Method in class torero.gui.ToreroPanel
Returns the JMenubar of the Torero GUI.
getTraversals() - Method in class torero.model.Production
Returns all Traversals that are associated to this Production.
getTraversals() - Method in class torero.model.AttributeMap
Returns all Traversals in this AttributeMap as Collection.
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class torero.gui.GrammarTreeCellRenderer
Renders the node value and returns a rendered component which can be put on a rendererPane.
getType() - Method in class torero.model.Attribute
Returns the name of the attribute.
getType() - Method in class torero.model.Traversal
Reimplemented for easy distinction to attributes.
getUnique() - Static method in class torero.gui.ToreroToolBox
Get the singleton toolbox.
getUniqueLineTable() - Static method in class torero.gui.LineTable
Get the sigleton object, if it does not already exist, it is created.
getUseAs() - Method in class torero.util.ToreroFileFilter
Get the file to fileextension associations.
getUsedProduction() - Method in class torero.model.Derivat
Returns the Production used for the extension of the "AppliedTo"-ListElement at this derivation level.
getWord() - Method in class torero.model.Token
Return the expression described by this Token.
getWrapperTreePath(TreePath, NodeWrapper) - Static method in class torero.gui.NodeWrapper
Compute the Treepath consisting of NodeWrappers for a given TreePath of TreeNodes.
getX() - Method in class torero.gui.NodeWrapper
Get the x coordinate of this node.
getY() - Method in class torero.gui.NodeWrapper
Get the y coordinate of this node.
GEZU - Static variable in class torero.scapa.sym
 
giveSymbolPosition(Production.ListElement) - Method in class torero.model.Production.ProductionRHS
Returns the position of the given ListElement (if it doesn't contain such a list element - -1 is returned).
Grammar - class torero.model.Grammar.
This class represents a complete Grammar consisting of Symbols, Productions (Rules) and a Start Symbol.
Grammar() - Constructor for class torero.model.Grammar
This is an ordinary constructor to get a new instance of an empty Grammar.
GrammarNode - class torero.gui.GrammarNode.
This class is an hybrid class betweem gui and model components.
GrammarNode(AttributeGrammar, Derivat, Production.ListElement, GrammarNode) - Constructor for class torero.gui.GrammarNode
Creates a new grammar node.
GrammarRoot - class torero.gui.GrammarRoot.
A special implementation for a GrammarNode which is a Root Node.
GrammarRoot(AttributeGrammar, Derivat) - Constructor for class torero.gui.GrammarRoot
Creates a new GrammarRoot.
GrammarTreeCellRenderer - class torero.gui.GrammarTreeCellRenderer.
Cell renderer class used to render GrammarNodes.
GrammarTreeCellRenderer() - Constructor for class torero.gui.GrammarTreeCellRenderer
Creates a new GrammarTreeCellRenderer, and does the initialization.
GT - Static variable in class torero.scapa.sym
 

H

hasAssignment(Production.ListElement, Attribute) - Method in class torero.model.Production
 
hasAssignmentWithSource(Production.ListElement, Attribute, Production.ListElement, Attribute) - Method in class torero.model.Production
 
hasAttribute(Attribute) - Method in class torero.model.Symbol
This method is used to check if the Symbol contains the given Attribute.
hasFocus - Variable in class torero.gui.GrammarTreeCellRenderer
True if has focus.
hashCode() - Method in class torero.model.Attribute
 
hashCode() - Method in class torero.model.AttributeAssingnment.AttribKey
 
hasIncompatibleAssignment(Production.ListElement, Attribute) - Method in class torero.model.Production
 

I

IDENTIFIER - Static variable in class torero.scapa.sym
 
indentstring - Static variable in class torero.util.ToreroConfig
Default indention in ox output file.
init_actions() - Method in class torero.scapa.parser
Action encapsulation object initializer.
init() - Method in class torero.Applet
Called by the browser or applet viewer to inform this applet that it has been loaded into the system.
INITIAL_C_CODE - Static variable in class torero.scapa.Scanner
lexical states
initialized - Variable in class torero.gui.MyTreeUI
Field indicating if the TreeUI has already been initialized.
installListeners() - Method in class torero.gui.MyTreeUI
Installs the MouseHandler, TreeExpansionHandler and the TreeModelhandler.
installUI(JComponent) - Method in class torero.gui.MyTreeUI
This method ist called by the JTree, it is an undocumented call and therefore is is possible that other implementations of Swing dont call this method.
INVALID_ASSIGNMENT - Static variable in class torero.model.AttributeAssingnment
 
isCompatible(AttributeAssingnment.AttribKey) - Method in class torero.model.AttributeAssingnment.AttribKey
Two AttribKeys are compatible if their ListElements are compatible and they have the same Attribute.
isCompatible(Production.ListElement) - Method in class torero.model.Production.ListElement
Return true if they encapsulate the same Symbol and they are on different Sides (LHS , RHS) of the Production.
isDisableSpecifier() - Method in class torero.model.Traversal
Returns the Disable Specifier state (Ox specific).
isEditing(JTree) - Method in class torero.gui.MyTreeUI
Returns tree.isEditing() whatever that means.
isEpsilon() - Method in class torero.model.Symbol
Is it the Epsilon Symbol ?
isEpsilon() - Method in class torero.model.Epsilon
Return true - nothing more to say.
isexpanded() - Method in class torero.gui.NodeWrapper
See if the node is expanded.
isLeaf() - Method in class torero.gui.GrammarNode
See if this node can be expanded.
isLeaf() - Method in class torero.model.Symbol
Is this Symbol a leaf ?
isLeaf() - Method in class torero.model.Nonterm
Return false as Nonterms can be expanded/replaced to a sequence of other symbols.
isLeaf() - Method in class torero.model.Epsilon
Returns true because epsilon is definitely a Leaf Symbol.
isLeaf() - Method in class torero.model.Token
Returns true because Tokens are Leaf Symbols.
isLiteral() - Method in class torero.model.Symbol
Is it a Literal Symbol ?
isLiteral() - Method in class torero.model.Epsilon
Returns true because epsilon behaves as Literal.
isLiteral() - Method in class torero.model.Token
Returns it this Token is either a Literal or not (Literals are Tokens with equal Name and Expression).
isMemberOf(Production) - Method in class torero.model.AttributeAssingnment.AttribKey
Checks if this AttribKey is an Inner Object of the given Production (is defined in it's scope).
isRoot() - Method in class torero.gui.GrammarNode
Returns false for this class.
isRoot() - Method in class torero.gui.GrammarRoot
Check if this is a Root Node.

J

JPG_FILTER - Static variable in class torero.util.ToreroFileFilter
.jpeg, and .jpg files
JProdItem - class torero.gui.JProdItem.
Helper Class.
JProdItem(Production) - Constructor for class torero.gui.JProdItem
Creates a new JProductionItem, which holds a reference to a production.

K

KOMMA - Static variable in class torero.scapa.sym
 

L

LCURL - Static variable in class torero.scapa.sym
 
leafIcon - Variable in class torero.gui.GrammarTreeCellRenderer
Icon used to show leaf nodes.
LEFT - Static variable in class torero.model.Token
 
LEFT - Static variable in class torero.scapa.sym
 
LEFTTORIGHT - Static variable in class torero.model.Traversal
 
linecolor - Variable in class torero.gui.PolyLine
Array of x and y coordinates,
LineTable - class torero.gui.LineTable.
Singleton Class encapsulation a TreeMap.
LineTable() - Constructor for class torero.gui.LineTable
 
LITERAL - Static variable in class torero.scapa.sym
 
Logger - class torero.util.Logger.
The logging component for torero.
Logger() - Constructor for class torero.util.Logger
 
looksequal(AttributeAssingnment.AttribKey) - Method in class torero.model.AttributeAssingnment.AttribKey
Two AttribKeys look equal if their ListElements are referencing to the same Symbol and they have the same Attribute.
looksequal(Production.ListElement) - Method in class torero.model.Production.ListElement
Return true if they encapsulate the same Symbol.

M

Main - class torero.Main.
This class is used to start Torero as Application.
Main() - Constructor for class torero.Main
The Constructor is not used.
main(String[]) - Static method in class torero.Main
This method is called by the JVM to start the Application.
makeRoot(Production) - Static method in class torero.model.Derivat
This static factory method is used to create a root for a Derivation tree.
MARK - Static variable in class torero.scapa.sym
 
mkAttrib2Traversal(GrammarNode, Attribute, GrammarNode, Attribute) - Method in class torero.gui.ConnectTool
Connects an attribute and a traversal.
mkRootNodeWrapper(TreeNode) - Static method in class torero.gui.NodeWrapper
A tree of TreeNodes is given - it generates a encapsulating tree (of NodeWrappers) for it.
mkSubDerivation(Production.ListElement, Production) - Method in class torero.model.Derivat
This method is used to make a new (Sub)Derivation on this derivation level.
mkSubTree(TreeNode, NodeWrapper) - Static method in class torero.gui.NodeWrapper
Same as mkRootNodeWrapper - only for subtrees that do not start from the root.
ModelException - exception torero.model.exceptions.ModelException.
Parent exception class for deriving specialized model exception classes.
ModelException(String) - Constructor for class torero.model.exceptions.ModelException
 
mouseClicked(MouseEvent) - Method in class torero.gui.MyTreeUI.MouseInputHandler
 
mouseDragged(MouseEvent) - Method in class torero.gui.MyTreeUI.MouseInputHandler
 
mouseEntered(MouseEvent) - Method in class torero.gui.MyTreeUI.MouseInputHandler
 
mouseExited(MouseEvent) - Method in class torero.gui.MyTreeUI.MouseInputHandler
 
mouseMoved(MouseEvent) - Method in class torero.gui.MyTreeUI.MouseInputHandler
 
mousePressed(MouseEvent) - Method in class torero.gui.MyTreeUI.MouseHandler
Invoked when a mouse button has been pressed on a component.
mousePressed(MouseEvent) - Method in class torero.gui.MyTreeUI.MouseInputHandler
 
mouseReleased(MouseEvent) - Method in class torero.gui.MyTreeUI.MouseInputHandler
 
MyTreeUI - class torero.gui.MyTreeUI.
Pluggable Look&Feel Component for a horizontal layout of the JTree.
MyTreeUI.ComponentHandler - class torero.gui.MyTreeUI.ComponentHandler.
Updates the preferred size when scrolling (if necessary).
MyTreeUI.ComponentHandler(MyTreeUI) - Constructor for class torero.gui.MyTreeUI.ComponentHandler
 
MyTreeUI.MouseHandler - class torero.gui.MyTreeUI.MouseHandler.
TreeMouseListener is responsible for updating the selection based on mouse events.
MyTreeUI.MouseHandler(MyTreeUI) - Constructor for class torero.gui.MyTreeUI.MouseHandler
 
MyTreeUI.MouseInputHandler - class torero.gui.MyTreeUI.MouseInputHandler.
MouseInputHandler handles passing all mouse events, including mouse motion events, until the mouse is released to the destination it is constructed with.
MyTreeUI.MouseInputHandler(MyTreeUI, Component, Component, MouseEvent) - Constructor for class torero.gui.MyTreeUI.MouseInputHandler
 
MyTreeUI.SelectionModelPropertyChangeHandler - class torero.gui.MyTreeUI.SelectionModelPropertyChangeHandler.
Listener on the TreeSelectionModel, resets the row selection if any of the properties of the model change.
MyTreeUI.SelectionModelPropertyChangeHandler(MyTreeUI) - Constructor for class torero.gui.MyTreeUI.SelectionModelPropertyChangeHandler
 
MyTreeUI.TreeExpansionHandler - class torero.gui.MyTreeUI.TreeExpansionHandler.
Updates the TreeState in response to nodes expanding/collapsing.
MyTreeUI.TreeExpansionHandler(MyTreeUI) - Constructor for class torero.gui.MyTreeUI.TreeExpansionHandler
 
MyTreeUI.TreeModelHandler - class torero.gui.MyTreeUI.TreeModelHandler.
Forwards all TreeModel events to the Tree's state.
MyTreeUI.TreeModelHandler(MyTreeUI) - Constructor for class torero.gui.MyTreeUI.TreeModelHandler
 
MyTreeUI.TreeSelectionHandler - class torero.gui.MyTreeUI.TreeSelectionHandler.
Listens for changes in the selection model and updates the display accordingly.
MyTreeUI.TreeSelectionHandler(MyTreeUI) - Constructor for class torero.gui.MyTreeUI.TreeSelectionHandler
 
MyTreeUI() - Constructor for class torero.gui.MyTreeUI
Creates a new TreeUI.

N

next_token() - Method in class torero.scapa.Scanner
Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.
NO_ASSIGNMENT - Static variable in class torero.model.AttributeAssingnment
 
NO_FILTER - Static variable in class torero.util.ToreroFileFilter
all kinds of files
NodeInit() - Method in class torero.gui.GrammarNode
Initializes the GrammarNode, is called by the constructior, after ACDCacheInit().
NodeWrapper - class torero.gui.NodeWrapper.
Node Objects used by and with MyTreeUI.
NONASSOC - Static variable in class torero.model.Token
 
NONASSOC - Static variable in class torero.scapa.sym
 
Nonterm - class torero.model.Nonterm.
A Nonterm Symbol Object is used to represent expandable Symbols in Toreros Attribute Grammar Model.
Nonterm(String, SymbolMap) - Constructor for class torero.model.Nonterm
This constuctor should not be called directly.
NUMBER - Static variable in class torero.scapa.sym
 

O

obtainAssignment(Production.ListElement, Attribute) - Method in class torero.model.Production
 
obtainAssignment(Production.ListElement, Attribute, Production.ListElement, Attribute) - Method in class torero.model.Production
 
obtainAttribute(String) - Method in class torero.model.AttributeMap
If an Attribute with the given name already exists its given back - otherwhise a new one is created and given back.
obtainNonterm(String) - Method in class torero.model.SymbolMap
If a Nonterm with the given name already exists it's given back - otherwhise a new one is created and given back.
obtainSymbol(String) - Method in class torero.model.SymbolMap
If a Nonterm with the given name already exists it's given back - otherwhise a new one is created and given back.
obtainToken(String, String) - Method in class torero.model.SymbolMap
If a token with the given name already exists its given back - otherwhise a new one is created and given back.
obtainTraversal(String) - Method in class torero.model.AttributeMap
If a Traversal with the given name already exists its given back - otherwhise a new one is created and given back.
OneToManyMap - class torero.util.OneToManyMap.
A collection class for mapping one key to many values.
OneToManyMap(int) - Constructor for class torero.util.OneToManyMap
The constuctor argument is used to set the initial capacity of key values.
openIcon - Variable in class torero.gui.GrammarTreeCellRenderer
Icon used to show non-leaf nodes that are expanded.
OR - Static variable in class torero.scapa.sym
 
OX_FILTER - Static variable in class torero.util.ToreroFileFilter
.ox and .y files, ox output files.

P

paint(Graphics, JComponent) - Method in class torero.gui.MyTreeUI
This method is invoked by Swing to draw components.
paintTree(Graphics, JTree, CellRendererPane, TreeCellRenderer, TreeSelectionModel) - Method in class torero.gui.NodeWrapper
Paints this node and (recursively) all nodes beyound this node.
parcnt - Variable in class torero.gui.GrammarNode
Number of sources of assignments from the nodes parent to this node.
PARENT - Static variable in class torero.gui.SrcAtt
Source node is parent of the destination node.
parser - class torero.scapa.parser.
CUP v0.10j generated parser.
parser() - Constructor for class torero.scapa.parser
Default constructor.
parser(Scanner) - Constructor for class torero.scapa.parser
Constructor which sets the default scanner.
pluggedIn(ToreroToolBox) - Method in class torero.gui.ConnectTool
Called when the tool is plugged into the ToreroToolBox.
pluggedIn(ToreroToolBox) - Method in class torero.gui.TraversalTool
Called when the tool is plugged into the ToreroToolBox.
pluggedIn(ToreroToolBox) - Method in interface torero.gui.ToreroTool
Called when the tool is plugged into the ToreroToolBox.
pluggedIn(ToreroToolBox) - Method in class torero.gui.SwapTool
Called when the tool is plugged into the ToreroToolBox.
pluggedIn(ToreroToolBox) - Method in class torero.gui.AttributeTool
Called when the tool is plugged into the ToreroToolBox.
pluggedIn(ToreroToolBox) - Method in class torero.gui.FunctionTool
Called when the tool is plugged into the ToreroToolBox.
pluggedOut() - Method in class torero.gui.ConnectTool
Called when the tool is removed from the ToreroToolBox.
pluggedOut() - Method in class torero.gui.TraversalTool
Called when the tool is removed from the ToreroToolBox.
pluggedOut() - Method in interface torero.gui.ToreroTool
Called when the tool is removed from the ToreroToolBox.
pluggedOut() - Method in class torero.gui.SwapTool
Called when the tool is removed from the ToreroToolBox.
pluggedOut() - Method in class torero.gui.AttributeTool
Called when the tool is removed from the ToreroToolBox.
pluggedOut() - Method in class torero.gui.FunctionTool
Called when the tool is removed from the ToreroToolBox.
PolyLine - class torero.gui.PolyLine.
Helper Objects used by NodeWrapper.
PolyLine(int[], int[], Color) - Constructor for class torero.gui.PolyLine
Color of the line.
POSTORDER - Static variable in class torero.model.Traversal
 
PREC - Static variable in class torero.scapa.sym
 
PREORDER - Static variable in class torero.model.Traversal
 
printError(String, long) - Method in class torero.gui.ToreroToolBox
Prints an errormessage (color red) to the status line.
printStatus(String, long) - Method in class torero.gui.ToreroToolBox
Prints a message to the status line.
processMouseEvent(int, int, MouseEvent, DefaultTreeModel) - Method in class torero.gui.GrammarNode
Tells the node that a mouseevent has occured in it's area of interest.
processUI(GrammarNode, MouseEvent, Attribute) - Method in class torero.gui.ConnectTool
Process the mouseevent me at node gn at attribute att.
processUI(GrammarNode, MouseEvent, Attribute) - Method in class torero.gui.TraversalTool
Process the mouseevent me at node gn at attribute att.
processUI(GrammarNode, MouseEvent, Attribute) - Method in interface torero.gui.ToreroTool
Process the mouseevent me at node gn at attribute att.
processUI(GrammarNode, MouseEvent, Attribute) - Method in class torero.gui.ToreroToolBox
Calls processUI on the active tool and forwards all the parameters unchanged.
processUI(GrammarNode, MouseEvent, Attribute) - Method in class torero.gui.SwapTool
Process the mouseevent me at node gn at attribute att.
processUI(GrammarNode, MouseEvent, Attribute) - Method in class torero.gui.AttributeTool
Process the mouseevent me at node gn at attribute att.
processUI(GrammarNode, MouseEvent, Attribute) - Method in class torero.gui.FunctionTool
Process the mouseevent me at node gn at attribute att.
Production - class torero.model.Production.
The Production Class composits a production in terms of a grammar by just refering to unique Instances of Tokens, Nonterms, Traversals.
production_table() - Method in class torero.scapa.parser
Access to production table.
Production.ListElement - class torero.model.Production.ListElement.
Inner Class for representing the unique Position of a Symbol inside a Production.
Production.ListElement(Production, Symbol, boolean) - Constructor for class torero.model.Production.ListElement
 
Production.ProductionRHS - class torero.model.Production.ProductionRHS.
Class for internal representation of the Right Hand Side (RHS) of the production.
Production.ProductionRHS(Production, Iterator) - Constructor for class torero.model.Production.ProductionRHS
 
Production(Nonterm, Iterator) - Constructor for class torero.model.Production
Creating new Productions can be done by using this constructor.
ProductionMap - class torero.model.ProductionMap.
The ProductionMap is a collection of all Productions for a specific grammar.
ProductionMap(SymbolMap) - Constructor for class torero.model.ProductionMap
The Constructor takes the SymbolMap that contains the Symbols that can be used to build Productions for this ProductionMap.
ProductionModel - class torero.gui.ProductionModel.
ListModel used by the ComboBoxes in the AttributeTool.
ProductionModel() - Constructor for class torero.gui.ProductionModel
 
propertyChange(PropertyChangeEvent) - Method in class torero.gui.MyTreeUI.SelectionModelPropertyChangeHandler
Not implemented.
put(Object, Object) - Method in class torero.util.OneToManyMap
Adds the given value to the given key and returns false if the value is already associated to the given key.

R

recordErrorBegin() - Static method in class torero.util.Logger
Starts a session where all text written to the errorStream is recorded.
recordErrorEnd() - Static method in class torero.util.Logger
Ends a recording session and returns all recorded text.
reduce_table() - Method in class torero.scapa.parser
Access to reduce_goto table.
reload() - Method in class torero.gui.ProductionModel
Reloads the lístmodel's content from the actual GrammarModel.
reload() - Method in class torero.gui.AttributeListModel
Reloads the listmodel's content from the actual GrammarModel.
reload() - Method in class torero.gui.SymbolModel
Reloads the lístmodel's content from the actual GrammarModel.
reload() - Method in class torero.gui.AttributeModel
Reloads the lístmodel's content from the actual GrammarModel.
reload() - Method in class torero.gui.TraversalModel
Reloads the lístmodel's content from the actual GrammarModel.
removeAssignment(AttributeAssingnment) - Method in class torero.model.Production
 
removeAttribute(Attribute) - Method in class torero.model.Symbol
This method is used to remove Attributes to this Symbol.
removeAttribute(Attribute) - Method in class torero.model.AttributeMap
This method removes the given Attribute from the AttributeMap.
removeFromSource() - Method in class torero.gui.MyTreeUI.MouseInputHandler
 
removeKey(Object) - Method in class torero.util.OneToManyMap
Remove the given key and all its values from this OneToManyMap.
removeSource(AttributeAssingnment.AttribKey) - Method in class torero.model.AttributeAssingnment
Removes the given AttribKey from this Assingnments list of Sources.
removeSource(Production.ListElement, Attribute) - Method in class torero.model.AttributeAssingnment
Removes the AttribKey with the given ListElement and Attribute from this Assingnments list of Sources.
removeTraversal(Traversal) - Method in class torero.model.Production
Removes a Traversal from the Production.
removeValue(Object, Object) - Method in class torero.util.OneToManyMap
Remove the given value from the given key in this OneToManyMap.
rendererPane - Variable in class torero.gui.MyTreeUI
The current CellRendererPane
repaint(long, int, int, int, int) - Method in class torero.gui.GrammarTreeCellRenderer
Not implemented.
repaint(long, int, int, int, int) - Method in class torero.gui.AttributeCellRenderer
not implemented.
repaint(Rectangle) - Method in class torero.gui.GrammarTreeCellRenderer
Not implemented.
repaint(Rectangle) - Method in class torero.gui.AttributeCellRenderer
not implemented.
reset() - Static method in class torero.util.UKG
Resets the Key Generator.
reset() - Method in class torero.gui.ConnectTool
Resets the tool, setting the state to source-select and changing the cursor.
resetline() - Method in class torero.gui.NodeWrapper
Only for testing, not used,
revalidate() - Method in class torero.gui.GrammarTreeCellRenderer
Overridden for performance reasons.
revalidate() - Method in class torero.gui.AttributeCellRenderer
Overridden for performance reasons.
RIGHT - Static variable in class torero.model.Token
 
RIGHT - Static variable in class torero.scapa.sym
 
RIGHTTOLEFT - Static variable in class torero.model.Traversal
 
root - Variable in class torero.gui.MyTreeUI
The root Treenode.
RouteSimple2(Attribute, SrcAtt) - Method in class torero.gui.NodeWrapper
A attributeconnection - routingalgorithm, only for testing, it is not used.
RouteSimple3(Attribute, SrcAtt) - Method in class torero.gui.NodeWrapper
A attributeconnection - routingalgorithm, only for testing, it is not used.
RouteSimple4(Attribute, SrcAtt) - Method in class torero.gui.NodeWrapper
A attributeconnection - routingalgorithm, only for testing, it is not used.
RouteSimple5(Attribute, SrcAtt) - Method in class torero.gui.NodeWrapper
The attributeconnection - routingalgorithm used.
RouteTrivial(Attribute, SrcAtt) - Method in class torero.gui.NodeWrapper
A attributeconnection - routingalgorithm, only for testing, it is not used.
RSIBLING - Static variable in class torero.gui.SrcAtt
Source node is the right neighbour of the destination node.
RULES - Static variable in class torero.scapa.Scanner
 
RULES_EMBEDDED_C_CODE - Static variable in class torero.scapa.Scanner
 

S

saveSession(File) - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
Scanner - class torero.scapa.Scanner.
This class is a scanner generated by JFlex 1.3.5 on 22.04.02 14:55 from the specification file file:/D:/uni/torerosrc/torero/scapa/Scanner.flex
Scanner(InputStream) - Constructor for class torero.scapa.Scanner
Creates a new scanner.
Scanner(Reader) - Constructor for class torero.scapa.Scanner
Creates a new scanner There is also a java.io.InputStream version of this constructor.
selected - Variable in class torero.gui.GrammarTreeCellRenderer
Is the value currently selected.
SELF - Static variable in class torero.gui.SrcAtt
Source node is the destination node.
SEMICOLON - Static variable in class torero.scapa.sym
 
SEPBegin - Static variable in class torero.model.AttributeAssingnment
 
SEPEnd - Static variable in class torero.model.AttributeAssingnment
 
setActualAG(AttributeGrammar) - Static method in class torero.util.ToreroConfig
Set the actual attribute grammar.
setAssoc(String, int) - Method in class torero.model.Token
Sets the association type and level (yacc specific).
setAttribHeight(int) - Method in class torero.gui.GrammarNode
Do not use this function.
setAttribWidth(int) - Method in class torero.gui.GrammarNode
Do not use this function.
setBackActiveTool() - Method in class torero.gui.ToreroToolBox
Calls the activate method of the active tool.
setBackgroundNonSelectionColor(Color) - Method in class torero.gui.GrammarTreeCellRenderer
Sets the background color to be used for non selected nodes.
setBackgroundSelectionColor(Color) - Method in class torero.gui.GrammarTreeCellRenderer
Sets the color to use for the background if node is selected.
setBorderSelectionColor(Color) - Method in class torero.gui.GrammarTreeCellRenderer
Sets the color to use for the border.
setDebugLevel(int) - Static method in class torero.util.Logger
Set's the debuglevel.
setDirectionSpecifier(int) - Method in class torero.model.Traversal
Sets the Direction Specifier (Ox specific).
setDisableSpecifier(boolean) - Method in class torero.model.Traversal
Sets the Disable Specifier.
setFuncDesc(String) - Method in class torero.model.AttributeAssingnment
Gives the AttributeAssingnment a new Function Description.
setGrammar(Grammar) - Method in class torero.scapa.parser
Set the actual grammar, all succesfully parsed content applied to this grammar.
setLHS(Production.ListElement) - Method in class torero.model.Production
Set a ListElement as new LHS.
setName(String) - Method in class torero.model.Attribute
 
setNodeWidth(int) - Method in class torero.gui.GrammarNode
Do not use this function.
setOrderSpecifier(int) - Method in class torero.model.Traversal
Sets the Order Specifier (Ox specific).
setParentComponent(Component) - Method in class torero.gui.ToreroToolBox
Sets the parent component of the toolbox.
setPrecedence(Token) - Method in class torero.model.Production
Support for Yacc specific extensions.
setRefSymbol(Symbol) - Method in class torero.model.Production.ListElement
Sets ref as Symbol that should be encapsulated.
setSelectedItem(Object) - Method in class torero.gui.ProductionModel
Sets the selected item.
setSelectedItem(Object) - Method in class torero.gui.SymbolModel
Sets the selected item.
setSelectedItem(Object) - Method in class torero.gui.AttributeModel
Sets the selected item.
setSelectedItem(Object) - Method in class torero.gui.TraversalModel
Sets the selected item.
setSymbolHeight(int) - Method in class torero.gui.GrammarNode
Do not use this function.
setSymbols(Iterator) - Method in class torero.model.Production.ProductionRHS
Set a new configuration of Symbols to this RHS.
setTextNonSelectionColor(Color) - Method in class torero.gui.GrammarTreeCellRenderer
Sets the color the text is drawn with when the node isn't selected.
setTextSelectionColor(Color) - Method in class torero.gui.GrammarTreeCellRenderer
Sets the color the text is drawn with when the node is selected.
setTokenNumber(int) - Method in class torero.model.Token
Sets the token number this Token should have (yacc specific).
setTreeModel(DefaultTreeModel, GrammarNode) - Method in class torero.gui.ToreroToolBox
Sets the treemodel that will informed whenn changes occur.
setType(int) - Method in class torero.model.Attribute
Set the type which is one of TRAVERSAL, STANDARD, AUTOINHERIT or AUTOSYNTHESIZE (Ox Specific).
setUseAs(String[]) - Method in class torero.util.ToreroFileFilter
Set the file to fileextension association.
setWord(String) - Method in class torero.model.Token
Sets the word expression for this Token.
sibcnt - Variable in class torero.gui.GrammarNode
Number of sources of assignments from siblings to this node.
SIBLING - Static variable in class torero.gui.SrcAtt
Source node is silbing of the destination node.
size() - Method in class torero.util.OneToManyMap
Returns the number of keys this OneToManyMap has.
slfcnt - Variable in class torero.gui.GrammarNode
Number of sources of assignments from the nodes itself to the node itself.
source - Variable in class torero.gui.MyTreeUI.MouseInputHandler
Source that events are coming from.
sourcetype - Variable in class torero.gui.SrcAtt
The type of the key.
src - Variable in class torero.gui.SrcAtt
The gammarnode component of the key.
SrcAtt - class torero.gui.SrcAtt.
Helper Object used by NodeWrapper.
SrcAtt(GrammarNode, Attribute, int) - Constructor for class torero.gui.SrcAtt
 
ST - Static variable in class torero.scapa.sym
 
STANDARD - Static variable in class torero.model.Attribute
 
START - Static variable in class torero.scapa.sym
 
start_production() - Method in class torero.scapa.parser
Indicates start production.
start_state() - Method in class torero.scapa.parser
Indicates start state.
startEditingAtPath(JTree, TreePath) - Method in class torero.gui.MyTreeUI
Not implemented, because this TreeUI doesn't support editing.
startSession() - Static method in class torero.util.Logger
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet.
stateinfo - Variable in class torero.gui.AttributeCellData
Status information, one of these values is allowed: AttriubteAssignment.NO_ASSIGNMENT (default), INVALID_ASSIGNMENT, VALID_ASSIGNMENT.
stopEditing(JTree) - Method in class torero.gui.MyTreeUI
Not implemented, because this TreeUI doesn't support editing.
stringRep() - Method in class torero.model.AttributeAssingnment.AttribKey
Returns a unique Key for this Object.
SwapTool - class torero.gui.SwapTool.
The swap tool class is used to swap to symbols in a grammar.
SwapTool() - Constructor for class torero.gui.SwapTool
 
sym - class torero.scapa.sym.
CUP generated class containing symbol constants.
sym() - Constructor for class torero.scapa.sym
 
Symbol - class torero.model.Symbol.
The Symbol Object is the base class for Token, Nonterm and Epsilon in Toreros Attribute Grammar Model.
Symbol(String, SymbolMap) - Constructor for class torero.model.Symbol
This constuctor should not be called directly.
symbolAt(int) - Method in class torero.model.Production.ProductionRHS
Returns the Listelement on the given Position (if there is no ListElement on this pos - null is returned).
SymbolMap - class torero.model.SymbolMap.
The SymbolMap is a collection used for creation and lookup of Symbols for a specific grammar.
SymbolMap() - Constructor for class torero.model.SymbolMap
 
SymbolModel - class torero.gui.SymbolModel.
ListModel used by the ComboBoxes in the AttributeTool.
SymbolModel() - Constructor for class torero.gui.SymbolModel
 
SymbolNameException - exception torero.model.exceptions.SymbolNameException.
Exception indicating that an symbol had not been renamed or created, because the name was already in use.
SymbolNameException(String) - Constructor for class torero.model.exceptions.SymbolNameException
 
symbolSize() - Method in class torero.model.Production.ProductionRHS
Returns the number of Symbols that the RHS has.

T

TAIL_C_CODE - Static variable in class torero.scapa.Scanner
 
tailC_Code - Variable in class torero.model.AdditionalGrammarInfo
the code from the tail section.
teh - Variable in class torero.gui.MyTreeUI
Reference to an inner class, that is not used now and does only exists for compatibility.
testcalcPrefSize() - Method in class torero.gui.NodeWrapper
Only for testing, never used.
textNonSelectionColor - Variable in class torero.gui.GrammarTreeCellRenderer
Color to use for the foreground for non-selected nodes.
textSelectionColor - Variable in class torero.gui.GrammarTreeCellRenderer
Color to use for the foreground for selected nodes.
toDot() - Method in class torero.model.Symbol
Returns the Dot Graph Representation of this Symbol.
toDot(boolean) - Method in class torero.model.Derivat
Returns the Dot Graph Representation of this Derivation.
toDot(Derivat) - Method in class torero.model.Production.ListElement
Support for Dot File generation.
toDot(Derivat, String, boolean) - Method in class torero.model.Production
Support for Dot File generation.
toDot(Derivat, String, boolean) - Method in class torero.model.Production.ProductionRHS
Support for Dot File generation.
toDotLabel(Derivat, String) - Method in class torero.model.Production.ListElement
Support for Dot File generation.
toDotLabels(Derivat, String) - Method in class torero.model.Production.ProductionRHS
Support for Dot File generation.
toggleEvent() - Method in class torero.gui.NodeWrapper
If the node was expanded it is collapsed and vice versa.
Token - class torero.model.Token.
Token Symbol Objects are used in Toreros Attribute Grammar Model to represent Tokens aka Terminal Symbols.
TOKEN - Static variable in class torero.scapa.sym
 
Token(String, String, SymbolMap) - Constructor for class torero.model.Token
This constuctor should not be called directly.
toOx() - Method in class torero.model.AttributeGrammar
Returns the full Ox Representation of this Attribute Grammar.
toOx(StringBuffer) - Method in class torero.model.AttributeAssingnment
Support for Ox File generation.
toOx(StringBuffer) - Method in class torero.model.Symbol
It writes the Ox Representation of this Symbol on the given StringBuffer.
toOx(StringBuffer) - Method in class torero.model.Production.ProductionRHS
Support for Ox File generation.
toOx(StringBuffer) - Method in class torero.model.ProductionMap
Support for Ox File generation.
toOx(StringBuffer) - Method in class torero.model.Epsilon
As Epsilon has no Ox Representation nothing happens on the given StringBuffer.
toOx(StringBuffer, boolean) - Method in class torero.model.Production
Support for Ox File generation.
toOx(StringBuffer, int) - Method in class torero.model.AttributeAssingnment
Support for Ox File generation.
toOxDecl(StringBuffer) - Method in class torero.model.Symbol
It writes the Ox Declaration Section Representation of this Symbol on the given StringBuffer.
toOxDecl(StringBuffer) - Method in class torero.model.Token
Support for Ox File generation.
torero - package torero
 
torero.gui - package torero.gui
 
torero.model - package torero.model
 
torero.model.exceptions - package torero.model.exceptions
 
torero.scapa - package torero.scapa
 
torero.util - package torero.util
 
ToreroConfig - class torero.util.ToreroConfig.
The config class for torero, it holds some configuration information, and some global state data.
ToreroConfig() - Constructor for class torero.util.ToreroConfig
 
ToreroFileFilter - class torero.util.ToreroFileFilter.
FileFiler class used by the JFileChooser, doing the torero specific file-filtering for: .jpg, .jpeg, .trr, .torero, .y, .yacc, .g, .ox and .dot files.
ToreroFileFilter() - Constructor for class torero.util.ToreroFileFilter
Creates a new filefilter, filtering is set to NO_FILTER.
ToreroFileFilter(String[]) - Constructor for class torero.util.ToreroFileFilter
Creates a new filefilter, filtering is set to NO_FILTER.
TOREROHOME - Static variable in class torero.util.ToreroConfig
The homedirectory of the user executing torero.
ToreroPanel - class torero.gui.ToreroPanel.
 
ToreroPanel() - Constructor for class torero.gui.ToreroPanel
Use this Constructor to get the Torero GUI.
ToreroTool - interface torero.gui.ToreroTool.
Interface describing all tools used in Torero.
ToreroToolBox - class torero.gui.ToreroToolBox.
The container used for ToreroTools.
toString() - Method in class torero.util.OneToManyMap
Returns a String representation of this OneToManyMap.
toString() - Method in class torero.gui.JProdItem
Calls the production.toString2() method.
toString() - Method in class torero.gui.GrammarNode
Get a textual representation of this node, actually calls the toString method on the referenced Symbol.
toString() - Method in class torero.gui.NodeWrapper
Only for testing an debugging purpose.
toString() - Method in class torero.gui.SrcAtt
Only for testing and debugging purpose.
toString() - Method in class torero.model.Attribute
Returns the String Representation of this attribute (the name of the attrib).
toString() - Method in class torero.model.AttributeAssingnment
 
toString() - Method in class torero.model.AttributeAssingnment.AttribKey
 
toString() - Method in class torero.model.Nonterm
Returns the String Representation of the Nonterm.
toString() - Method in class torero.model.Production
 
toString() - Method in class torero.model.Production.ListElement
 
toString() - Method in class torero.model.Production.ProductionRHS
 
toString() - Method in class torero.model.ProductionMap
 
toString() - Method in class torero.model.SymbolMap
Returns String representation for this Symbol.
toString() - Method in class torero.model.Grammar
Returns a String Representation of this grammar.
toString() - Method in class torero.model.Traversal
Returns the String Representation of this Traversal.
toString() - Method in class torero.model.Derivat
 
toString() - Method in class torero.model.Epsilon
Returns Epsilons String Representation.
toString() - Method in class torero.model.Token
Returns String representation for this Token.
toString2() - Method in class torero.model.Production
 
toString2() - Method in class torero.model.Production.ListElement
 
toString2() - Method in class torero.model.Production.ProductionRHS
 
toString3() - Method in class torero.model.Production
 
Traversal - class torero.model.Traversal.
Traversal Objects are used in Toreros Attribute Grammar Model to represent ox-like Traversals.
TRAVERSAL - Static variable in class torero.model.Attribute
 
Traversal(String, AttributeMap) - Constructor for class torero.model.Traversal
As mentioned above the constuctor should not be called directly.
TraversalModel - class torero.gui.TraversalModel.
ListModel used by the ComboBoxes in the TraversalTool.
TraversalModel() - Constructor for class torero.gui.TraversalModel
 
TraversalTool - class torero.gui.TraversalTool.
The traversal tool class is used to assign traversals to productions.
TraversalTool(ProductionModel, TraversalModel) - Constructor for class torero.gui.TraversalTool
Creates a new TraversalTool.
treeCollapsed(TreeExpansionEvent) - Method in class torero.gui.MyTreeUI.TreeExpansionHandler
Called whenever an item in the tree has been collapsed.
treeExpanded(TreeExpansionEvent) - Method in class torero.gui.MyTreeUI.TreeExpansionHandler
Called whenever an item in the tree has been expanded.
treeNodesChanged(TreeModelEvent) - Method in class torero.gui.MyTreeUI.TreeModelHandler
Called by the JTree whenever an item in the tree has been changed.
treeNodesChanged(TreeModelEvent, NodeWrapper) - Static method in class torero.gui.NodeWrapper
Not implememted.
treeNodesInserted(TreeModelEvent) - Method in class torero.gui.MyTreeUI.TreeModelHandler
Called by the JTree whenever an item has been inserted into the tree.
treeNodesInserted(TreeModelEvent, NodeWrapper) - Static method in class torero.gui.NodeWrapper
Tell the NodeWrapper that a TreeNode was inserted.
treeNodesRemoved(TreeModelEvent) - Method in class torero.gui.MyTreeUI.TreeModelHandler
Called by the JTree whenever an item has been removed from the tree.
treeNodesRemoved(TreeModelEvent, NodeWrapper) - Static method in class torero.gui.NodeWrapper
Tell the NodeWrapper that a TreeNode was removed.
treeStructureChanged(TreeModelEvent) - Method in class torero.gui.MyTreeUI.TreeModelHandler
Called by the JTree whenever the structure of the tree has changed.
treeStructureChanged(TreeModelEvent, NodeWrapper) - Static method in class torero.gui.NodeWrapper
Tell the NodeWrapper that the tree has completeley changed.
TRR_FILTER - Static variable in class torero.util.ToreroFileFilter
.trr and .torero files, serialized torero classes.
TYPE - Static variable in class torero.scapa.sym
 

U

UKG - class torero.util.UKG.
A Key Generator to generate unique keys for objects based on their hashCode() method.
UKG() - Constructor for class torero.util.UKG
 
uninstallUI(JComponent) - Method in class torero.gui.MyTreeUI
This method only calls the super.uninstallUI(c).
UNION - Static variable in class torero.scapa.sym
 
UNIONDEF - Static variable in class torero.scapa.sym
 
updateEntry(Attribute, String) - Method in class torero.model.AttributeMap
 
updateEntry(Symbol, String) - Method in class torero.model.SymbolMap
 
updateRenderer() - Method in class torero.gui.MyTreeUI
Messaged from the tree we're in when the renderer has changed.
updateTreeModel() - Method in class torero.gui.ToreroToolBox
Causes the TreeModel to update its entries and to repaint (if necessary).
uses(Symbol, Attribute) - Method in class torero.model.AttributeAssingnment
Returns all AttribKeys of this Assignment built from the given Symbol and Attribute (all AttribKeys depending on the existence of the given Symbol and Attribute).

V

VALID_ASSIGNMENT - Static variable in class torero.model.AttributeAssingnment
 
validateObject() - Method in class torero.model.AttributeAssingnment
This Method is needed for proper Serialisation of AttributeAssingnments.It's called at the Java Serialisation Process.
valueChanged(TreeSelectionEvent) - Method in class torero.gui.MyTreeUI.TreeSelectionHandler
Messaged when the selection changes in the tree we're displaying for.

X

xcoords - Variable in class torero.gui.PolyLine
 
xcorner - Static variable in class torero.util.ToreroConfig
Offset in x direction [in pixel] for bevel join of attribute-connection lines.
xmul - Static variable in class torero.util.ToreroConfig
Space in x direction [in pixel], between two attribute-connection lines.
xoff - Static variable in class torero.util.ToreroConfig
minimun Space in x direction [in pixel], between a node and a attribute-connection line.

Y

YACC_FILTER - Static variable in class torero.util.ToreroFileFilter
.y, .yacc and .g files, input grammar files.
ycoords - Variable in class torero.gui.PolyLine
 
ycorner - Static variable in class torero.util.ToreroConfig
Offset in y direction [in pixel] for bevel join of attribute-connection lines.
ymul - Static variable in class torero.util.ToreroConfig
Space in y direction [in pixel], between two attribute-connection lines.
yoff - Static variable in class torero.util.ToreroConfig
minimun Space in y direction [in pixel], between a node and a attribute-connection line.
yybegin(int) - Method in class torero.scapa.Scanner
Enters a new lexical state
yycharat(int) - Method in class torero.scapa.Scanner
Returns the character at position pos from the matched text.
yyclose() - Method in class torero.scapa.Scanner
Closes the input stream.
YYEOF - Static variable in class torero.scapa.Scanner
This character denotes the end of file
YYINITIAL - Static variable in class torero.scapa.Scanner
 
yylength() - Method in class torero.scapa.Scanner
Returns the length of the matched text region.
yyreset(Reader) - Method in class torero.scapa.Scanner
Closes the current stream, and resets the scanner to read from a new input stream.
yystate() - Method in class torero.scapa.Scanner
Returns the current lexical state.
yytext() - Method in class torero.scapa.Scanner
Returns the text matched by the current regular expression.

_

_action_table - Static variable in class torero.scapa.parser
Parse-action table.
_production_table - Static variable in class torero.scapa.parser
Production table.
_reduce_table - Static variable in class torero.scapa.parser
reduce_goto table.

A B C D E F G H I J K L M N O P R S T U V X Y _