public class InstTypeNode_c extends polyglot.ast.TypeNode_c implements InstTypeNode, polyglot.ast.Ambiguous
InstTypeNode interface.| Modifier and Type | Field and Description |
|---|---|
protected polyglot.ast.TypeNode |
base |
protected java.util.List<ParamNode> |
params |
| Constructor and Description |
|---|
InstTypeNode_c(polyglot.util.Position pos,
polyglot.ast.TypeNode base,
java.util.List<ParamNode> params) |
InstTypeNode_c(polyglot.util.Position pos,
polyglot.ast.TypeNode base,
java.util.List<ParamNode> params,
polyglot.ast.Ext ext) |
| Modifier and Type | Method and Description |
|---|---|
polyglot.ast.TypeNode |
base() |
InstTypeNode |
base(polyglot.ast.TypeNode base) |
protected void |
checkParamSuitable(ParamInstance pi,
ParamNode p) |
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover sc) |
polyglot.ast.Node |
exceptionCheck(polyglot.visit.ExceptionChecker ec) |
boolean |
isDisambiguated() |
java.util.List<ParamNode> |
params() |
InstTypeNode |
params(java.util.List<ParamNode> params) |
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
protected InstTypeNode_c |
reconstruct(polyglot.ast.TypeNode base,
java.util.List<ParamNode> params) |
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) |
acceptCFG, buildTypes, firstChild, name, qualifier, type, type, typeexceptions, exceptions, exceptions, extRewrite, listChild, reachable, reachable, reachableaddDecls, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, copyIfNeeded, del, del, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, dump, enterChildScope, enterScope, error, error, error, exceptionCheckEnter, ext, ext, ext, ext, extRewriteEnter, extRewriteOverride, isTypeChecked, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdel, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, position, position, visit, visitEdgeaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheckEnter, extRewrite, extRewriteEnter, extRewriteOverride, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, typeCheckEnter, typeCheckOverride, visitChild, visitListprotected polyglot.ast.TypeNode base
protected java.util.List<ParamNode> params
public InstTypeNode_c(polyglot.util.Position pos,
polyglot.ast.TypeNode base,
java.util.List<ParamNode> params)
public InstTypeNode_c(polyglot.util.Position pos,
polyglot.ast.TypeNode base,
java.util.List<ParamNode> params,
polyglot.ast.Ext ext)
public polyglot.ast.TypeNode base()
base in interface InstTypeNodepublic InstTypeNode base(polyglot.ast.TypeNode base)
base in interface InstTypeNodepublic java.util.List<ParamNode> params()
params in interface InstTypeNodepublic InstTypeNode params(java.util.List<ParamNode> params)
params in interface InstTypeNodeprotected InstTypeNode_c reconstruct(polyglot.ast.TypeNode base, java.util.List<ParamNode> params)
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren in interface polyglot.ast.NodeOpsvisitChildren in class polyglot.ast.Node_cpublic boolean isDisambiguated()
isDisambiguated in interface polyglot.ast.NodeisDisambiguated in class polyglot.ast.TypeNode_cpublic polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover sc)
throws polyglot.types.SemanticException
disambiguate in interface polyglot.ast.NodeOpsdisambiguate in class polyglot.ast.Node_cpolyglot.types.SemanticExceptionprotected void checkParamSuitable(ParamInstance pi, ParamNode p) throws polyglot.types.SemanticException
polyglot.types.SemanticExceptionpublic polyglot.ast.Node typeCheck(polyglot.visit.TypeChecker tc)
typeCheck in interface polyglot.ast.NodeOpstypeCheck in class polyglot.ast.Node_cpublic polyglot.ast.Node exceptionCheck(polyglot.visit.ExceptionChecker ec)
exceptionCheck in interface polyglot.ast.NodeOpsexceptionCheck in class polyglot.ast.Term_cpublic void prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
prettyPrint in interface polyglot.ast.NodeOpsprettyPrint in class polyglot.ast.TypeNode_cpublic void translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr)
translate in interface polyglot.ast.NodeOpstranslate in class polyglot.ast.Node_cpublic java.lang.String toString()
toString in class polyglot.ast.TypeNode_c