|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The root interface of all kinds of Jif principals.
Method Summary | |
Label |
labelOf()
Gets the label of this principal. |
Principal |
subst(LabelSubstitution substitution)
Accepts a LabelSubstitution and returns the result of substituting according to the given LabelSubstitution. |
Principal |
subst(UID uid,
Label L)
Substitutes any occurences of |
polyglot.ast.Expr |
toJava(JifToJavaRewriter rw)
|
java.lang.String |
translate(polyglot.types.Resolver c)
|
UID |
uid()
|
Methods inherited from interface jif.types.Param |
isCanonical, isRuntimeRepresentable |
Methods inherited from interface polyglot.types.TypeObject |
equalsImpl, position, typeSystem |
Methods inherited from interface polyglot.util.Copy |
copy |
Method Detail |
public UID uid()
public Label labelOf()
public Principal subst(UID uid, Label L)
public Principal subst(LabelSubstitution substitution) throws polyglot.types.SemanticException
substitution
- the LabelSubstitution to use
polyglot.types.SemanticException
public java.lang.String translate(polyglot.types.Resolver c)
public polyglot.ast.Expr toJava(JifToJavaRewriter rw) throws polyglot.types.SemanticException
polyglot.types.SemanticException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |