|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfmrisc.Syntax.Util
Collect state related to handling of abstract syntax trees.
Constructor Summary | |
Util()
|
Method Summary | |
static boolean |
getPrintParens()
show whether every (sub)expression is to be printed with enclosing parentheses |
static void |
setPrintParens(boolean flag)
signal whether every (sub)expression is to be printed with enclosing parentheses |
static AST[] |
toASTArray(java.util.Vector v)
converts vector v of AST objects to AST array |
static TypedIdentifier[] |
toTypedIdentifierArray(java.util.Vector v)
converts vector v of TypedIdentifer objects to TypedIdentifier array |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Util()
Method Detail |
public static void setPrintParens(boolean flag)
flag
- true iff enclosing parenthesis are to be printedpublic static boolean getPrintParens()
public static AST[] toASTArray(java.util.Vector v)
v
- a vector holding AST objects
public static TypedIdentifier[] toTypedIdentifierArray(java.util.Vector v)
v
- a vector holding TypedIdentifier objects
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |