public abstract class Amb
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Grm |
parser |
protected polyglot.util.Position |
pos |
Constructor and Description |
---|
Amb(Grm parser,
polyglot.util.Position pos) |
Modifier and Type | Method and Description |
---|---|
Grm |
parser() |
polyglot.util.Position |
position() |
polyglot.ast.TypeNode |
toClassType() |
polyglot.ast.Expr |
toExpr() |
polyglot.ast.Id |
toIdentifier() |
java.lang.String |
toName() |
polyglot.ast.Expr |
toNewArray(polyglot.util.Position p,
java.lang.Integer extraDims) |
polyglot.ast.Expr |
toNewArrayPrefix(polyglot.util.Position p,
java.lang.Integer extraDims) |
polyglot.ast.PackageNode |
toPackage() |
polyglot.ast.Prefix |
toPrefix() |
polyglot.ast.QualifierNode |
toQualifier() |
polyglot.ast.Receiver |
toReceiver() |
polyglot.ast.TypeNode |
toType() |
polyglot.ast.TypeNode |
toUnlabeledType() |
polyglot.ast.Expr |
wrap() |
protected final polyglot.util.Position pos
protected final Grm parser
public Amb(Grm parser, polyglot.util.Position pos)
public polyglot.ast.Expr wrap() throws java.lang.Exception
java.lang.Exception
public polyglot.ast.Expr toExpr() throws java.lang.Exception
java.lang.Exception
public polyglot.ast.Prefix toPrefix() throws java.lang.Exception
java.lang.Exception
public polyglot.ast.PackageNode toPackage() throws java.lang.Exception
java.lang.Exception
public polyglot.ast.Receiver toReceiver() throws java.lang.Exception
java.lang.Exception
public polyglot.ast.TypeNode toType() throws java.lang.Exception
java.lang.Exception
public polyglot.ast.TypeNode toUnlabeledType() throws java.lang.Exception
java.lang.Exception
public polyglot.ast.TypeNode toClassType() throws java.lang.Exception
java.lang.Exception
public polyglot.ast.Expr toNewArray(polyglot.util.Position p, java.lang.Integer extraDims) throws java.lang.Exception
java.lang.Exception
public polyglot.ast.Expr toNewArrayPrefix(polyglot.util.Position p, java.lang.Integer extraDims) throws java.lang.Exception
java.lang.Exception
public polyglot.ast.Id toIdentifier() throws java.lang.Exception
java.lang.Exception
public java.lang.String toName() throws java.lang.Exception
java.lang.Exception
public polyglot.util.Position position()
public Grm parser()
public polyglot.ast.QualifierNode toQualifier() throws java.lang.Exception
java.lang.Exception