public class CanonicalPrincipalNode_c extends PrincipalNode_c implements CanonicalPrincipalNode
CanonicalPrincipal interface.| Constructor and Description |
|---|
CanonicalPrincipalNode_c(polyglot.util.Position pos,
Principal principal) |
CanonicalPrincipalNode_c(polyglot.util.Position pos,
Principal principal,
polyglot.ast.Ext ext) |
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.List<T> |
acceptCFG(polyglot.visit.CFGBuilder<?> v,
java.util.List<T> 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.
|
parameter, parameter, principal, principal, throwTypes, toStringbooleanValue, buildTypes, byteValue, charValue, constantValue, constantValue, constantValueSet, constantValueSet, doubleValue, dump, extRewrite, floatValue, intValue, isConstant, isConstant, isTypeChecked, lastLang, longValue, precedence, printSubExpr, printSubExpr, shortValue, stringValue, type, type, typeexceptionCheck, exceptions, exceptions, exceptions, listChild, reachable, reachable, reachableaddDecls, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, copyIfNeeded, del, del, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, error, error, error, exceptionCheckEnter, ext, ext, ext, ext, extRewriteEnter, extRewriteOverride, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, typeCheckEnter, typeCheckOverride, visit, visitChild, visitChildren, visitEdge, visitListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprincipal, principalparameter, parameterconstantValue, constantValueSet, isConstant, precedence, printSubExpr, printSubExpr, typedel, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, position, position, visit, visitEdgeaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, extRewriteOverride, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitListpublic CanonicalPrincipalNode_c(polyglot.util.Position pos,
Principal principal)
public CanonicalPrincipalNode_c(polyglot.util.Position pos,
Principal principal,
polyglot.ast.Ext ext)
public boolean isDisambiguated()
isDisambiguated in interface polyglot.ast.NodeisDisambiguated in class PrincipalNode_cpublic polyglot.ast.Node typeCheck(polyglot.visit.TypeChecker tc)
throws polyglot.types.SemanticException
PrincipalNode_ctypeCheck in interface polyglot.ast.NodeOpstypeCheck in class PrincipalNode_cpolyglot.types.SemanticExceptionpublic void prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
prettyPrint in interface polyglot.ast.NodeOpsprettyPrint in class polyglot.ast.Node_cpublic void translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr)
translate in interface polyglot.ast.NodeOpstranslate in class polyglot.ast.Node_cpublic <T> java.util.List<T> acceptCFG(polyglot.visit.CFGBuilder<?> v,
java.util.List<T> succs)
acceptCFG in interface polyglot.ast.TermOpsacceptCFG in class polyglot.ast.Term_cpublic polyglot.ast.Term firstChild()
firstChild in interface polyglot.ast.TermOpsfirstChild in class polyglot.ast.Term_c