public abstract class PrincipalNode_c extends polyglot.ast.Expr_c implements PrincipalNode
PrincipalNode
interface.Constructor and Description |
---|
PrincipalNode_c(polyglot.util.Position pos)
Deprecated.
|
PrincipalNode_c(polyglot.util.Position pos,
polyglot.ast.Ext ext) |
Modifier and Type | Method and Description |
---|---|
boolean |
isDisambiguated() |
Principal |
parameter() |
PrincipalNode |
parameter(Principal principal) |
Principal |
principal() |
PrincipalNode |
principal(Principal principal) |
java.util.List<polyglot.types.Type> |
throwTypes(polyglot.types.TypeSystem ts) |
java.lang.String |
toString() |
polyglot.ast.Node |
typeCheck(polyglot.visit.TypeChecker tc)
Type check the expression.
|
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
acceptCFG, exceptionCheck, exceptions, exceptions, exceptions, firstChild, 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, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, translate, typeCheckEnter, typeCheckOverride, visit, visitChild, visitChildren, 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, 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, prettyPrint, translate, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitList
@Deprecated public PrincipalNode_c(polyglot.util.Position pos)
public PrincipalNode_c(polyglot.util.Position pos, polyglot.ast.Ext ext)
public Principal principal()
principal
in interface PrincipalNode
public PrincipalNode principal(Principal principal)
principal
in interface PrincipalNode
public Principal parameter()
parameter
in interface ActsForParamNode<Principal>
parameter
in interface ParamNode
public PrincipalNode parameter(Principal principal)
parameter
in interface ActsForParamNode<Principal>
public java.lang.String toString()
toString
in class polyglot.ast.Node_c
public boolean isDisambiguated()
isDisambiguated
in interface polyglot.ast.Node
isDisambiguated
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.Node typeCheck(polyglot.visit.TypeChecker tc) throws polyglot.types.SemanticException
typeCheck
in interface polyglot.ast.NodeOps
typeCheck
in class polyglot.ast.Node_c
polyglot.types.SemanticException