|
|||||||||
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.Expr_c jif.ast.PrincipalNode_c jif.ast.AmbJunctivePrincipalNode_c
public class AmbJunctivePrincipalNode_c
An implementation of the AmbPrincipalNode
interface,
representing an ambiguous conjunctive or disjunctive principal.
Field Summary | |
---|---|
protected boolean |
isConjunction
|
protected PrincipalNode |
left
|
protected PrincipalNode |
right
|
Fields inherited from class polyglot.ast.Expr_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 | |
---|---|
AmbJunctivePrincipalNode_c(polyglot.util.Position pos,
PrincipalNode left,
PrincipalNode right,
boolean isConjunction)
|
Method Summary | |
---|---|
java.util.List |
acceptCFG(polyglot.visit.CFGBuilder v,
java.util.List succs)
Visit this term in evaluation order. |
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover ar)
|
polyglot.ast.Term |
firstChild()
|
boolean |
isDisambiguated()
|
protected AmbJunctivePrincipalNode_c |
reconstruct(PrincipalNode l,
PrincipalNode r)
|
java.lang.String |
toString()
|
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v)
|
Methods inherited from class jif.ast.PrincipalNode_c |
---|
parameter, principal, principal, throwTypes, typeCheck |
Methods inherited from class polyglot.ast.Expr_c |
---|
booleanValue, buildTypes, byteValue, charValue, constantValue, constantValueSet, doubleValue, dump, floatValue, intValue, isConstant, isTypeChecked, longValue, precedence, printSubExpr, printSubExpr, shortValue, stringValue, 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, copy, copy, del, del, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, error, error, exceptionCheckEnter, ext, ext, ext, ext, init, node, position, position, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, translate, typeCheckEnter, typeCheckOverride, visit, visitChild, 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.Expr |
---|
constantValue, constantValueSet, isConstant, precedence, printSubExpr, printSubExpr, type |
Methods inherited from interface polyglot.ast.Typed |
---|
type |
Methods inherited from interface polyglot.ast.Term |
---|
exceptions, exceptions, reachable, reachable |
Field Detail |
---|
protected PrincipalNode left
protected PrincipalNode right
protected boolean isConjunction
Constructor Detail |
---|
public AmbJunctivePrincipalNode_c(polyglot.util.Position pos, PrincipalNode left, PrincipalNode right, boolean isConjunction)
Method Detail |
---|
public boolean isDisambiguated()
isDisambiguated
in interface polyglot.ast.Node
isDisambiguated
in class PrincipalNode_c
public java.lang.String toString()
toString
in class PrincipalNode_c
public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover ar) throws polyglot.types.SemanticException
disambiguate
in interface polyglot.ast.NodeOps
disambiguate
in class polyglot.ast.Node_c
polyglot.types.SemanticException
public java.util.List acceptCFG(polyglot.visit.CFGBuilder v, java.util.List succs)
acceptCFG
in interface polyglot.ast.Term
acceptCFG
in class polyglot.ast.Term_c
public polyglot.ast.Term firstChild()
firstChild
in interface polyglot.ast.Term
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren
in interface polyglot.ast.NodeOps
visitChildren
in class polyglot.ast.Node_c
protected AmbJunctivePrincipalNode_c reconstruct(PrincipalNode l, PrincipalNode r)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |