|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.ast.Ext_c jif.ast.Jif_c
public class Jif_c
An implementation of the Jif
interface.
Field Summary | |
---|---|
protected ToJavaExt |
toJava
|
protected PathMap |
X
|
Fields inherited from class polyglot.ast.Ext_c |
---|
ext, node |
Constructor Summary | |
---|---|
Jif_c(ToJavaExt toJava)
|
Method Summary | |
---|---|
static void |
checkAndRemoveThrowType(java.util.List throwTypes,
polyglot.types.Type excType)
Check that the type excType is indeed in the list of types thrown, throwTypes, and remove excType from that list. |
static void |
checkThrowTypes(java.util.List throwTypes)
Check that the list of types thrown, throwTypes, does not contain any checked exceptions, i.e., all throw types have been correctly label checked. |
java.lang.Object |
copy()
|
static PathMap |
getPathMap(polyglot.ast.Node n)
|
void |
init(polyglot.ast.Node node)
|
void |
integerBoundsCalculated()
A method that is called to notify the extension that the numeric bounds have been calculated. |
polyglot.ast.Node |
labelCheck(LabelChecker lc)
Label check the node to which this extension is attached. |
ToJavaExt |
toJava()
|
Jif |
toJava(ToJavaExt toJava)
|
static polyglot.ast.Node |
updatePathMap(polyglot.ast.Node n,
PathMap X)
|
PathMap |
X()
Gets the path map of this extension. |
Jif |
X(PathMap X)
Returns a copy of this object with the path map updated. |
Methods inherited from class polyglot.ast.Ext_c |
---|
dump, ext, ext, 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.Ext |
---|
dump, ext, ext, node |
Field Detail |
---|
protected PathMap X
protected ToJavaExt toJava
Constructor Detail |
---|
public Jif_c(ToJavaExt toJava)
Method Detail |
---|
public ToJavaExt toJava()
toJava
in interface Jif
public void init(polyglot.ast.Node node)
init
in interface polyglot.ast.Ext
init
in class polyglot.ast.Ext_c
public Jif toJava(ToJavaExt toJava)
toJava
in interface Jif
public java.lang.Object copy()
copy
in interface polyglot.util.Copy
copy
in class polyglot.ast.Ext_c
public PathMap X()
Jif
X
in interface Jif
public Jif X(PathMap X)
Jif
X
in interface Jif
public polyglot.ast.Node labelCheck(LabelChecker lc) throws polyglot.types.SemanticException
Jif
labelCheck
in interface Jif
polyglot.types.SemanticException
public static PathMap getPathMap(polyglot.ast.Node n)
public static polyglot.ast.Node updatePathMap(polyglot.ast.Node n, PathMap X)
public static void checkAndRemoveThrowType(java.util.List throwTypes, polyglot.types.Type excType)
throwTypes
- excType
- public static void checkThrowTypes(java.util.List throwTypes)
throwTypes
- public void integerBoundsCalculated()
Jif
integerBoundsCalculated
in interface Jif
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |