public class TokenTracker
extends java.lang.Object
Constructor and Description |
---|
TokenTracker() |
Modifier and Type | Method and Description |
---|---|
void |
add(Token t)
Adds a new token to the tracker
|
void |
dumpDetails()
Dumps detailed info about the tokens
|
void |
dumpSummary()
Dumps summary info about the tokens
|
public void add(Token t)
t
- the token to add.public void dumpSummary()
public void dumpDetails()