|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjif.ast.JifUtil
public class JifUtil
An implementation of the Jif interface.
| Constructor Summary | |
|---|---|
JifUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
accessPathDescrip(AccessPath path,
java.lang.String kind)
|
static AccessPath |
exprToAccessPath(polyglot.ast.Expr e,
JifContext context)
|
static Label |
exprToLabel(JifTypeSystem ts,
polyglot.ast.Expr e,
JifContext context)
|
static Principal |
exprToPrincipal(JifTypeSystem ts,
polyglot.ast.Expr e,
JifContext context)
|
static boolean |
isFinalAccessExprOrConst(JifTypeSystem ts,
polyglot.ast.Expr e)
|
static AccessPath |
varInstanceToAccessPath(polyglot.types.VarInstance vi,
polyglot.util.Position pos)
|
static PathMap |
X(polyglot.ast.Node n)
|
static polyglot.ast.Node |
X(polyglot.ast.Node n,
PathMap X)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JifUtil()
| Method Detail |
|---|
public static PathMap X(polyglot.ast.Node n)
public static polyglot.ast.Node X(polyglot.ast.Node n,
PathMap X)
public static AccessPath varInstanceToAccessPath(polyglot.types.VarInstance vi,
polyglot.util.Position pos)
throws polyglot.types.SemanticException
polyglot.types.SemanticException
public static AccessPath exprToAccessPath(polyglot.ast.Expr e,
JifContext context)
throws polyglot.types.SemanticException
polyglot.types.SemanticException
public static boolean isFinalAccessExprOrConst(JifTypeSystem ts,
polyglot.ast.Expr e)
public static Label exprToLabel(JifTypeSystem ts,
polyglot.ast.Expr e,
JifContext context)
throws polyglot.types.SemanticException
polyglot.types.SemanticException
public static Principal exprToPrincipal(JifTypeSystem ts,
polyglot.ast.Expr e,
JifContext context)
throws polyglot.types.SemanticException
polyglot.types.SemanticException
public static java.lang.String accessPathDescrip(AccessPath path,
java.lang.String kind)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||