jif.ast
Class AmbPrincipalNode_c

java.lang.Object
  |
  +--polyglot.ext.jl.ast.Node_c
        |
        +--jif.ast.PrincipalNode_c
              |
              +--jif.ast.AmbPrincipalNode_c
All Implemented Interfaces:
polyglot.ast.Ambiguous, AmbPrincipalNode, java.lang.Cloneable, polyglot.util.Copy, polyglot.ast.JL, polyglot.ast.Node, polyglot.ast.NodeOps, ParamNode, PrincipalNode, polyglot.ast.Term

public class AmbPrincipalNode_c
extends PrincipalNode_c
implements AmbPrincipalNode

An implementation of the AmbPrincipalNode interface.


Field Summary
protected  java.lang.String name
           
 
Fields inherited from class polyglot.ext.jl.ast.Node_c
del, ext, position
 
Constructor Summary
AmbPrincipalNode_c(polyglot.util.Position pos, java.lang.String name)
           
 
Method Summary
 polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover sc)
           
 java.lang.String name()
          Getts the name.
 AmbPrincipalNode name(java.lang.String name)
           
protected  polyglot.ast.Node paramToPrincipal(ParamInstance vi, polyglot.visit.AmbiguityRemover sc)
           
protected  polyglot.ast.Node principalToPrincipal(PrincipalInstance vi, polyglot.visit.AmbiguityRemover sc)
           
 java.lang.String toString()
           
protected  polyglot.ast.Node varToPrincipal(JifVarInstance vi, polyglot.visit.AmbiguityRemover sc)
           
 
Methods inherited from class jif.ast.PrincipalNode_c
acceptCFG, entry, parameter, principal, principal
 
Methods inherited from class polyglot.ext.jl.ast.Node_c
addDecls, addMembers, addMembersEnter, addMembersOverride, buildTypes, buildTypesEnter, buildTypesOverride, childExpectedType, copy, del, del, disambiguateEnter, disambiguateOverride, dump, enterScope, exceptionCheck, exceptionCheckEnter, exceptionCheckOverride, ext, ext, ext, ext, foldConstants, foldConstantsEnter, foldConstantsOverride, init, node, position, position, prettyPrint, print, printBlock, printSubStmt, throwTypes, translate, typeCheck, 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 jif.ast.PrincipalNode
principal, principal
 
Methods inherited from interface jif.ast.ParamNode
parameter
 
Methods inherited from interface polyglot.ast.Node
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge
 
Methods inherited from interface polyglot.ast.JL
init, node
 
Methods inherited from interface polyglot.ast.NodeOps
addDecls, addMembers, addMembersEnter, buildTypes, buildTypesEnter, disambiguateEnter, enterScope, exceptionCheck, exceptionCheckEnter, foldConstants, foldConstantsEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren
 
Methods inherited from interface polyglot.util.Copy
copy
 
Methods inherited from interface polyglot.ast.Term
acceptCFG, entry
 

Field Detail

name

protected java.lang.String name
Constructor Detail

AmbPrincipalNode_c

public AmbPrincipalNode_c(polyglot.util.Position pos,
                          java.lang.String name)
Method Detail

name

public java.lang.String name()
Description copied from interface: AmbPrincipalNode
Getts the name.

Specified by:
name in interface AmbPrincipalNode

toString

public java.lang.String toString()
Overrides:
toString in class PrincipalNode_c

name

public AmbPrincipalNode name(java.lang.String name)

disambiguate

public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover sc)
                               throws polyglot.types.SemanticException
Specified by:
disambiguate in interface polyglot.ast.NodeOps
Overrides:
disambiguate in class polyglot.ext.jl.ast.Node_c
polyglot.types.SemanticException

varToPrincipal

protected polyglot.ast.Node varToPrincipal(JifVarInstance vi,
                                           polyglot.visit.AmbiguityRemover sc)
                                    throws polyglot.types.SemanticException
polyglot.types.SemanticException

principalToPrincipal

protected polyglot.ast.Node principalToPrincipal(PrincipalInstance vi,
                                                 polyglot.visit.AmbiguityRemover sc)
                                          throws polyglot.types.SemanticException
polyglot.types.SemanticException

paramToPrincipal

protected polyglot.ast.Node paramToPrincipal(ParamInstance vi,
                                             polyglot.visit.AmbiguityRemover sc)
                                      throws polyglot.types.SemanticException
polyglot.types.SemanticException