|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.ast.Node_c polyglot.ast.Term_c polyglot.ast.TypeNode_c polyglot.ast.CanonicalTypeNode_c jif.ast.JifCanonicalTypeNode_c
public class JifCanonicalTypeNode_c
A JifCanonicalTypeNode
is a type node for a canonical type in Polyj.
Field Summary |
---|
Fields inherited from class polyglot.ast.TypeNode_c |
---|
type |
Fields inherited from class polyglot.ast.Term_c |
---|
exceptions, reachable |
Fields inherited from class polyglot.ast.Node_c |
---|
del, error, ext, position |
Fields inherited from interface polyglot.ast.Term |
---|
ENTRY, EXIT |
Constructor Summary | |
---|---|
JifCanonicalTypeNode_c(polyglot.util.Position pos,
polyglot.types.Type type)
|
Method Summary | |
---|---|
boolean |
isDisambiguated()
|
polyglot.ast.Node |
typeCheck(polyglot.visit.TypeChecker tc)
|
protected polyglot.types.Type |
typeCheck(polyglot.types.Type t,
polyglot.visit.TypeChecker tc)
|
Methods inherited from class polyglot.ast.CanonicalTypeNode_c |
---|
copy, copy, dump, prettyPrint, toString, translate |
Methods inherited from class polyglot.ast.TypeNode_c |
---|
acceptCFG, buildTypes, firstChild, name, qualifier, type, type |
Methods inherited from class polyglot.ast.Term_c |
---|
exceptionCheck, exceptions, exceptions, listChild, reachable, reachable |
Methods inherited from class polyglot.ast.Node_c |
---|
addDecls, buildTypesEnter, checkConstants, childExpectedType, copy, del, del, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, error, error, exceptionCheckEnter, ext, ext, ext, ext, init, isTypeChecked, node, position, position, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, typeCheckEnter, typeCheckOverride, visit, visitChild, visitChildren, visitEdge, visitList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface polyglot.ast.TypeNode |
---|
name, type |
Methods inherited from interface polyglot.ast.Node |
---|
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, position, position, visit, visitChild, visitEdge, visitList |
Methods inherited from interface polyglot.ast.JL |
---|
init, node |
Methods inherited from interface polyglot.ast.NodeOps |
---|
addDecls, buildTypes, buildTypesEnter, checkConstants, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheckEnter, typeCheckOverride, visitChildren |
Methods inherited from interface polyglot.ast.Typed |
---|
type |
Methods inherited from interface polyglot.ast.QualifierNode |
---|
qualifier |
Methods inherited from interface polyglot.ast.Node |
---|
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, position, position, visit, visitChild, visitEdge, visitList |
Methods inherited from interface polyglot.ast.JL |
---|
init, node |
Methods inherited from interface polyglot.ast.NodeOps |
---|
addDecls, buildTypes, buildTypesEnter, checkConstants, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheckEnter, typeCheckOverride, visitChildren |
Methods inherited from interface polyglot.ast.Term |
---|
acceptCFG, exceptions, exceptions, firstChild, reachable, reachable |
Constructor Detail |
---|
public JifCanonicalTypeNode_c(polyglot.util.Position pos, polyglot.types.Type type)
Method Detail |
---|
public boolean isDisambiguated()
isDisambiguated
in interface polyglot.ast.Node
isDisambiguated
in class polyglot.ast.TypeNode_c
protected polyglot.types.Type typeCheck(polyglot.types.Type t, polyglot.visit.TypeChecker tc) throws polyglot.types.SemanticException
polyglot.types.SemanticException
public polyglot.ast.Node typeCheck(polyglot.visit.TypeChecker tc) throws polyglot.types.SemanticException
typeCheck
in interface polyglot.ast.NodeOps
typeCheck
in class polyglot.ast.CanonicalTypeNode_c
polyglot.types.SemanticException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |