public class PrincipalExpr_c extends polyglot.ast.Expr_c implements PrincipalExpr
Modifier and Type | Field and Description |
---|---|
protected PrincipalNode |
principal |
Constructor and Description |
---|
PrincipalExpr_c(polyglot.util.Position pos,
PrincipalNode principal) |
PrincipalExpr_c(polyglot.util.Position pos,
PrincipalNode 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) |
polyglot.ast.Term |
firstChild() |
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
PrincipalNode |
principal() |
PrincipalExpr |
principal(PrincipalNode principal) |
protected PrincipalExpr_c |
reconstruct(PrincipalNode principal) |
java.util.List<polyglot.types.Type> |
throwTypes(polyglot.types.TypeSystem ts) |
java.lang.String |
toString() |
void |
translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr) |
polyglot.ast.Node |
typeCheck(polyglot.visit.TypeChecker tc) |
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v) |
booleanValue, buildTypes, byteValue, charValue, constantValue, constantValue, constantValueSet, constantValueSet, doubleValue, dump, extRewrite, floatValue, intValue, isConstant, isConstant, isTypeChecked, lastLang, longValue, precedence, printSubExpr, printSubExpr, shortValue, stringValue, type, type, type
exceptionCheck, exceptions, exceptions, exceptions, listChild, reachable, reachable, reachable
addDecls, 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, isDisambiguated, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
constantValue, constantValueSet, isConstant, precedence, printSubExpr, printSubExpr, type
del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdge
addDecls, 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, typeCheckEnter, typeCheckOverride, visitChild, visitList
protected PrincipalNode principal
public PrincipalExpr_c(polyglot.util.Position pos, PrincipalNode principal)
public PrincipalExpr_c(polyglot.util.Position pos, PrincipalNode principal, polyglot.ast.Ext ext)
public PrincipalNode principal()
principal
in interface PrincipalExpr
public PrincipalExpr principal(PrincipalNode principal)
principal
in interface PrincipalExpr
protected PrincipalExpr_c reconstruct(PrincipalNode principal)
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren
in interface polyglot.ast.NodeOps
visitChildren
in class polyglot.ast.Node_c
public polyglot.ast.Node typeCheck(polyglot.visit.TypeChecker tc)
typeCheck
in interface polyglot.ast.NodeOps
typeCheck
in class polyglot.ast.Node_c
public java.util.List<polyglot.types.Type> throwTypes(polyglot.types.TypeSystem ts)
throwTypes
in interface polyglot.ast.NodeOps
throwTypes
in class polyglot.ast.Node_c
public polyglot.ast.Term firstChild()
firstChild
in interface polyglot.ast.TermOps
firstChild
in class polyglot.ast.Term_c
public <T> java.util.List<T> acceptCFG(polyglot.visit.CFGBuilder<?> v, java.util.List<T> succs)
acceptCFG
in interface polyglot.ast.TermOps
acceptCFG
in class polyglot.ast.Term_c
public void prettyPrint(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
prettyPrint
in interface polyglot.ast.NodeOps
prettyPrint
in class polyglot.ast.Node_c
public void translate(polyglot.util.CodeWriter w, polyglot.visit.Translator tr)
translate
in interface polyglot.ast.NodeOps
translate
in class polyglot.ast.Node_c
public java.lang.String toString()
toString
in class polyglot.ast.Node_c