jif.extension
Class JifFieldDel

java.lang.Object
  extended by polyglot.ast.Ext_c
      extended by polyglot.ast.JL_c
          extended by jif.extension.JifJL_c
              extended by jif.extension.JifFieldDel
All Implemented Interfaces:
java.lang.Cloneable, polyglot.ast.Ext, polyglot.ast.JL, polyglot.ast.NodeOps, polyglot.util.Copy

public class JifFieldDel
extends JifJL_c

The Jif extension of the Field node.

See Also:
Field

Field Summary
 
Fields inherited from class polyglot.ast.Ext_c
ext, node
 
Constructor Summary
JifFieldDel()
           
 
Method Summary
 void setTargetIsNeverNull(boolean neverNull)
           
 boolean targetIsNeverNull()
           
protected  polyglot.types.ReferenceType targetType(JifTypeSystem ts, JifContext A, polyglot.ast.Expr target)
           
 java.util.List throwTypes(polyglot.types.TypeSystem ts)
          List of Types of exceptions that might get thrown.
 polyglot.ast.Node typeCheck(polyglot.visit.TypeChecker tc)
           
 polyglot.visit.NodeVisitor typeCheckEnter(polyglot.visit.TypeChecker tc)
           
 
Methods inherited from class jif.extension.JifJL_c
buildTypes, translate
 
Methods inherited from class polyglot.ast.JL_c
addDecls, buildTypesEnter, checkConstants, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, jl, prettyPrint, prettyPrint, prettyPrint, typeCheckOverride, visitChildren
 
Methods inherited from class polyglot.ast.Ext_c
copy, dump, ext, ext, init, node, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface polyglot.ast.JL
init, node
 
Methods inherited from interface polyglot.util.Copy
copy
 

Constructor Detail

JifFieldDel

public JifFieldDel()
Method Detail

setTargetIsNeverNull

public void setTargetIsNeverNull(boolean neverNull)

targetIsNeverNull

public boolean targetIsNeverNull()

typeCheckEnter

public polyglot.visit.NodeVisitor typeCheckEnter(polyglot.visit.TypeChecker tc)
                                          throws polyglot.types.SemanticException
Specified by:
typeCheckEnter in interface polyglot.ast.NodeOps
Overrides:
typeCheckEnter in class polyglot.ast.JL_c
Throws:
polyglot.types.SemanticException

typeCheck

public polyglot.ast.Node typeCheck(polyglot.visit.TypeChecker tc)
                            throws polyglot.types.SemanticException
Specified by:
typeCheck in interface polyglot.ast.NodeOps
Overrides:
typeCheck in class polyglot.ast.JL_c
Throws:
polyglot.types.SemanticException

targetType

protected polyglot.types.ReferenceType targetType(JifTypeSystem ts,
                                                  JifContext A,
                                                  polyglot.ast.Expr target)

throwTypes

public java.util.List throwTypes(polyglot.types.TypeSystem ts)
List of Types of exceptions that might get thrown. This differs from the method defined in Field_c in that it does not throw a null pointer exception if the receiver is guaranteed to be non-null

Specified by:
throwTypes in interface polyglot.ast.NodeOps
Overrides:
throwTypes in class polyglot.ast.JL_c