March 2001
Intermediate to advanced
400 pages
8h 35m
English
The package sjm.parse.tokens uses a TokenString class to hold the results of tokenizing a string. A TokenString is similar to a String, but it contains a series of tokens rather than a series of characters. Like String objects, TokenString objects are immutable, meaning that they cannot change after they are created. Figure 9.17 shows the TokenString class.

The TokenAssembly class hides the fact that it relies on class TokenString. The TokenStringSource class, ...
Read now
Unlock full access