|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpolyglot.ast.Node_c
polyglot.ast.Term_c
polyglot.ast.Expr_c
jif.ast.PrincipalNode_c
jif.ast.CanonicalPrincipalNode_c
public class CanonicalPrincipalNode_c
An implementation of the CanonicalPrincipal interface.
| Field Summary |
|---|
| Fields inherited from class polyglot.ast.Expr_c |
|---|
type |
| Fields inherited from class polyglot.ast.Term_c |
|---|
exceptions, reachable |
| Fields inherited from class polyglot.ast.Node_c |
|---|
del, error, ext, position |
| Fields inherited from interface polyglot.ast.Term |
|---|
ENTRY, EXIT |
| Constructor Summary | |
|---|---|
CanonicalPrincipalNode_c(polyglot.util.Position pos,
Principal principal)
|
|
| Method Summary | |
|---|---|
java.util.List |
acceptCFG(polyglot.visit.CFGBuilder v,
java.util.List succs)
Visit this term in evaluation order. |
polyglot.ast.Term |
firstChild()
|
boolean |
isDisambiguated()
|
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
|
void |
translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr)
|
polyglot.ast.Node |
typeCheck(polyglot.visit.TypeChecker tc)
Type check the expression. |
| Methods inherited from class jif.ast.PrincipalNode_c |
|---|
parameter, principal, principal, throwTypes, toString |
| Methods inherited from class polyglot.ast.Expr_c |
|---|
booleanValue, buildTypes, byteValue, charValue, constantValue, constantValueSet, doubleValue, dump, floatValue, intValue, isConstant, isTypeChecked, longValue, precedence, printSubExpr, printSubExpr, shortValue, stringValue, type, type |
| Methods inherited from class polyglot.ast.Term_c |
|---|
exceptionCheck, exceptions, exceptions, listChild, reachable, reachable |
| Methods inherited from class polyglot.ast.Node_c |
|---|
addDecls, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, del, del, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, error, error, exceptionCheckEnter, ext, ext, ext, ext, init, node, position, position, prettyPrint, prettyPrint, print, printBlock, printSubStmt, typeCheckEnter, typeCheckOverride, visit, visitChild, visitChildren, visitEdge, visitList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jif.ast.PrincipalNode |
|---|
principal, principal |
| Methods inherited from interface jif.ast.ParamNode |
|---|
parameter |
| Methods inherited from interface polyglot.ast.Expr |
|---|
constantValue, constantValueSet, isConstant, precedence, printSubExpr, printSubExpr, type |
| Methods inherited from interface polyglot.ast.Typed |
|---|
type |
| Methods inherited from interface polyglot.ast.Term |
|---|
exceptions, exceptions, reachable, reachable |
| Constructor Detail |
|---|
public CanonicalPrincipalNode_c(polyglot.util.Position pos,
Principal principal)
| Method Detail |
|---|
public boolean isDisambiguated()
isDisambiguated in interface polyglot.ast.NodeisDisambiguated in class PrincipalNode_c
public polyglot.ast.Node typeCheck(polyglot.visit.TypeChecker tc)
throws polyglot.types.SemanticException
PrincipalNode_c
typeCheck in interface polyglot.ast.NodeOpstypeCheck in class PrincipalNode_cpolyglot.types.SemanticException
public void prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
prettyPrint in interface polyglot.ast.NodeOpsprettyPrint in class polyglot.ast.Node_c
public void translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr)
translate in interface polyglot.ast.NodeOpstranslate in class polyglot.ast.Node_c
public java.util.List acceptCFG(polyglot.visit.CFGBuilder v,
java.util.List succs)
acceptCFG in interface polyglot.ast.TermacceptCFG in class polyglot.ast.Term_cpublic polyglot.ast.Term firstChild()
firstChild in interface polyglot.ast.Term
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||