|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object blog.ParserUtilities
public class ParserUtilities
Constructor Summary | |
---|---|
ParserUtilities()
|
Method Summary | |
---|---|
static void |
printEscapedString(java.io.PrintStream str,
java.lang.String s)
Prints an appropriately escaped string |
static void |
printToken(java_cup.runtime.Symbol s)
Prints a token to stderr |
static java.lang.String |
tokenToString(java_cup.runtime.Symbol s)
Returns a string representation for a token |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParserUtilities()
Method Detail |
---|
public static void printEscapedString(java.io.PrintStream str, java.lang.String s)
str
- the output streams
- the string to printpublic static java.lang.String tokenToString(java_cup.runtime.Symbol s)
s
- the token
public static void printToken(java_cup.runtime.Symbol s)
s
- the token
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |