|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfmrisc.AST.ASTBase
fmrisc.AST.TypeBase
fmrisc.AST.ParenthesizedType
Construct parenthesized type (for printing purposes)
Constructor Summary | |
ParenthesizedType(Type base)
construct parenthesized type from base type (semantically the identitiy) |
Method Summary | |
Type |
getBase()
return base type |
Type |
instantiateType()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers |
void |
print(java.io.PrintWriter out)
Prints text representation on out (without new line termination). |
void |
printCore(java.io.PrintWriter out)
Prints text representation on out (without new line termination). |
Methods inherited from class fmrisc.AST.ASTBase |
printParens, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface fmrisc.AST.AST |
printParens |
Constructor Detail |
public ParenthesizedType(Type base)
base
- the base typeMethod Detail |
public Type getBase()
public Type instantiateType()
public void print(java.io.PrintWriter out)
print
in interface AST
print
in class TypeBase
out
- the stream on which the text is writtenpublic void printCore(java.io.PrintWriter out)
printCore
in interface AST
printCore
in class ASTBase
out
- the stream on which the text is written
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |