public class AmbJunctivePrincipalNode_c extends PrincipalNode_c implements AmbJunctivePrincipalNode
AmbPrincipalNode interface,
representing an ambiguous conjunctive or disjunctive principal.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isConjunction |
protected PrincipalNode |
left |
protected PrincipalNode |
right |
| Constructor and Description |
|---|
AmbJunctivePrincipalNode_c(polyglot.util.Position pos,
PrincipalNode left,
PrincipalNode right,
boolean isConjunction) |
AmbJunctivePrincipalNode_c(polyglot.util.Position pos,
PrincipalNode left,
PrincipalNode right,
boolean isConjunction,
polyglot.ast.Ext ext) |
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.List<T> |
acceptCFG(polyglot.visit.CFGBuilder<?> v,
java.util.List<T> succs)
Visit this term in evaluation order.
|
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover ar) |
polyglot.ast.Term |
firstChild() |
boolean |
isDisambiguated() |
protected <N extends AmbJunctivePrincipalNode_c> |
left(N n,
PrincipalNode left) |
protected <N extends AmbJunctivePrincipalNode_c> |
reconstruct(N n,
PrincipalNode l,
PrincipalNode r) |
protected <N extends AmbJunctivePrincipalNode_c> |
right(N n,
PrincipalNode right) |
java.lang.String |
toString() |
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v) |
parameter, parameter, principal, principal, throwTypes, typeCheckbooleanValue, buildTypes, byteValue, charValue, constantValue, constantValue, constantValueSet, constantValueSet, doubleValue, dump, extRewrite, floatValue, intValue, isConstant, isConstant, isTypeChecked, lastLang, longValue, precedence, printSubExpr, printSubExpr, shortValue, stringValue, type, type, typeexceptionCheck, exceptions, exceptions, exceptions, listChild, reachable, reachable, reachableaddDecls, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, copyIfNeeded, del, del, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, error, error, error, exceptionCheckEnter, ext, ext, ext, ext, extRewriteEnter, extRewriteOverride, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, translate, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprincipal, principalparameter, parameterconstantValue, constantValueSet, isConstant, precedence, printSubExpr, printSubExpr, typedel, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, position, position, visit, visitEdgeaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, extRewriteOverride, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitListprotected PrincipalNode left
protected PrincipalNode right
protected boolean isConjunction
public AmbJunctivePrincipalNode_c(polyglot.util.Position pos,
PrincipalNode left,
PrincipalNode right,
boolean isConjunction)
public AmbJunctivePrincipalNode_c(polyglot.util.Position pos,
PrincipalNode left,
PrincipalNode right,
boolean isConjunction,
polyglot.ast.Ext ext)
public boolean isDisambiguated()
isDisambiguated in interface polyglot.ast.NodeisDisambiguated in class PrincipalNode_cprotected <N extends AmbJunctivePrincipalNode_c> N left(N n, PrincipalNode left)
protected <N extends AmbJunctivePrincipalNode_c> N right(N n, PrincipalNode right)
public java.lang.String toString()
toString in class PrincipalNode_cpublic polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover ar)
throws polyglot.types.SemanticException
disambiguate in interface polyglot.ast.NodeOpsdisambiguate in class polyglot.ast.Node_cpolyglot.types.SemanticExceptionpublic <T> java.util.List<T> acceptCFG(polyglot.visit.CFGBuilder<?> v,
java.util.List<T> succs)
acceptCFG in interface polyglot.ast.TermOpsacceptCFG in class polyglot.ast.Term_cpublic polyglot.ast.Term firstChild()
firstChild in interface polyglot.ast.TermOpsfirstChild in class polyglot.ast.Term_cpublic polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren in interface polyglot.ast.NodeOpsvisitChildren in class polyglot.ast.Node_cprotected <N extends AmbJunctivePrincipalNode_c> N reconstruct(N n, PrincipalNode l, PrincipalNode r)