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, typeCheck
booleanValue, buildTypes, byteValue, charValue, constantValue, constantValue, constantValueSet, constantValueSet, doubleValue, dump, extRewrite, floatValue, intValue, isConstant, isConstant, isTypeChecked, lastLang, longValue, precedence, printSubExpr, printSubExpr, shortValue, stringValue, type, type, type
exceptionCheck, exceptions, exceptions, exceptions, listChild, reachable, reachable, reachable
addDecls, 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, visitList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
principal, principal
parameter, parameter
constantValue, constantValueSet, isConstant, precedence, printSubExpr, printSubExpr, type
del, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, position, position, visit, visitEdge
addDecls, 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, visitList
protected 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.Node
isDisambiguated
in class PrincipalNode_c
protected <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_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 <T> java.util.List<T> acceptCFG(polyglot.visit.CFGBuilder<?> v, java.util.List<T> succs)
acceptCFG
in interface polyglot.ast.TermOps
acceptCFG
in class polyglot.ast.Term_c
public polyglot.ast.Term firstChild()
firstChild
in interface polyglot.ast.TermOps
firstChild
in class polyglot.ast.Term_c
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren
in interface polyglot.ast.NodeOps
visitChildren
in class polyglot.ast.Node_c
protected <N extends AmbJunctivePrincipalNode_c> N reconstruct(N n, PrincipalNode l, PrincipalNode r)