public class LabeledTypeNode_c extends polyglot.ast.TypeNode_c implements LabeledTypeNode, polyglot.ast.Ambiguous
LabeledTypeNode
interface.Modifier and Type | Field and Description |
---|---|
protected LabelNode |
labelPart |
protected polyglot.ast.TypeNode |
typePart |
Constructor and Description |
---|
LabeledTypeNode_c(polyglot.util.Position pos,
polyglot.ast.TypeNode typePart,
LabelNode labelPart) |
LabeledTypeNode_c(polyglot.util.Position pos,
polyglot.ast.TypeNode typePart,
LabelNode labelPart,
polyglot.ast.Ext ext) |
Modifier and Type | Method and Description |
---|---|
polyglot.ast.Node |
buildTypes(polyglot.visit.TypeBuilder tb) |
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover ar) |
polyglot.ast.Node |
exceptionCheck(polyglot.visit.ExceptionChecker ec) |
boolean |
isDisambiguated() |
LabelNode |
labelPart() |
LabeledTypeNode |
labelPart(LabelNode labelPart) |
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
protected LabeledTypeNode_c |
reconstruct(polyglot.ast.TypeNode typePart,
LabelNode labelPart) |
java.lang.String |
toString() |
void |
translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr) |
polyglot.ast.Node |
typeCheck(polyglot.visit.TypeChecker tc) |
polyglot.ast.TypeNode |
typePart() |
LabeledTypeNode |
typePart(polyglot.ast.TypeNode typePart) |
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v) |
acceptCFG, firstChild, name, qualifier, type, type, type
exceptions, exceptions, exceptions, extRewrite, listChild, reachable, reachable, reachable
addDecls, 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, visitList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
del, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, position, position, visit, visitEdge
addDecls, 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, visitList
protected polyglot.ast.TypeNode typePart
protected LabelNode labelPart
public LabeledTypeNode_c(polyglot.util.Position pos, polyglot.ast.TypeNode typePart, LabelNode labelPart)
public LabeledTypeNode_c(polyglot.util.Position pos, polyglot.ast.TypeNode typePart, LabelNode labelPart, polyglot.ast.Ext ext)
public polyglot.ast.TypeNode typePart()
typePart
in interface LabeledTypeNode
public LabeledTypeNode typePart(polyglot.ast.TypeNode typePart)
typePart
in interface LabeledTypeNode
public LabelNode labelPart()
labelPart
in interface LabeledTypeNode
public LabeledTypeNode labelPart(LabelNode labelPart)
labelPart
in interface LabeledTypeNode
protected LabeledTypeNode_c reconstruct(polyglot.ast.TypeNode typePart, LabelNode labelPart)
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 buildTypes(polyglot.visit.TypeBuilder tb)
buildTypes
in interface polyglot.ast.NodeOps
buildTypes
in class polyglot.ast.TypeNode_c
public boolean isDisambiguated()
isDisambiguated
in interface polyglot.ast.Node
isDisambiguated
in class polyglot.ast.TypeNode_c
public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover ar) throws polyglot.types.SemanticException
disambiguate
in interface polyglot.ast.NodeOps
disambiguate
in class polyglot.ast.Node_c
polyglot.types.SemanticException
public java.lang.String toString()
toString
in class polyglot.ast.TypeNode_c
public polyglot.ast.Node typeCheck(polyglot.visit.TypeChecker tc)
typeCheck
in interface polyglot.ast.NodeOps
typeCheck
in class polyglot.ast.Node_c
public polyglot.ast.Node exceptionCheck(polyglot.visit.ExceptionChecker ec)
exceptionCheck
in interface polyglot.ast.NodeOps
exceptionCheck
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.TypeNode_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