public class Trees extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getPS(Tree t, List
|
static String |
getPS(Tree t, List
|
static Future |
inspect(Tree t, List
Call this method to view a parse tree in a dialog box visually.
|
static Future |
inspect(Tree t, Parser parser)
Call this method to view a parse tree in a dialog box visually.
|
static void |
save(Tree t, List
Save this tree in a postscript file
|
static void |
save(Tree t, List
Save this tree in a postscript file using a particular font name and size
|
static void |
save(Tree t, Parser parser, String
Save this tree in a postscript file
|
static void |
save(Tree t, Parser parser, String
Save this tree in a postscript file using a particular font name and size
|
static String |
toStringTree(Tree t, TreeTextProvider
Print out a whole tree in LISP form.
|
static void |
writePS(Tree t, List
|
static void |
writePS(Tree t, List
|
public static Future<JDialog > inspect(Tree t, List <String > ruleNames)
public static Future<JDialog > inspect(Tree t, Parser parser)
public static void save(Tree t,
Parser parser,
String fileName)
throws IOException,
PrintException
IOException
PrintException
public static void save(Tree t,
Parser parser,
String fileName,
String fontName,
int fontSize)
throws IOException
IOException
public static void save(Tree t,
List<String> ruleNames,
String fileName)
throws IOException,
PrintException
IOException
PrintException
public static void save(Tree t,
List<String> ruleNames,
String fileName,
String fontName,
int fontSize)
throws IOException
IOException
public static void writePS(Tree t,
List<String> ruleNames,
String fileName,
String fontName,
int fontSize)
throws IOException
IOException
public static void writePS(Tree t,
List<String> ruleNames,
String fileName)
throws IOException
IOException
public static StringtoStringTree(Tree t, TreeTextProvider nodeTextProvider)