xtc.util |
Utility classes for xtc.
|
Java Source File Name | Type | Comment |
Action.java | Interface | The interface to all actions. |
EmptyIterator.java | Class | An iterator over nothing. |
Function.java | Class | Function definitions. |
NestedReader.java | Class | Implementation of a nested reader. |
Nonce.java | Class | A nonce. |
Option.java | Class | A command line option. |
Pair.java | Class | Implementation of a pair. |
Runtime.java | Class | A tool's runtime. |
SingletonIterator.java | Class | An iterator over one element. |
State.java | Interface | The interface for a global parser state object.
To correctly integrate with a memoizing parser, global state
for parsers generated by Rats! is modified through
light-weight, nested transactions, as expressed through this
interface.
A grammar utilizing global state needs to have a global
xtc.Constants.ATT_STATEFUL stateful attribute, whose value is the
name of the class implementing this interface. |
Statistics.java | Class | Implementation of a simple statistics collector. |
SymbolTable.java | Class | A symbol table. |
Throughput.java | Class | A small utility program to compute a tool's throughput. |
Tool.java | Class | The superclass of all tools. |
Utilities.java | Class | Implmentation of utilities for language processors, focusing on
handling of I/O. |
UtilitiesTest.java | Class | Unit tests for utilities. |