Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jif.parse
Class InstOrAccess

    java.lang.Object
      jif.parse.Amb
          jif.parse.InstOrAccess

    public class InstOrAccess

extends Amb

An `InstOrAccess` represents a `Amb` of the form "P[e]" or "P[p]".

Method Summary
`polyglot.ast.Expr` | `toExpr()`
`polyglot.ast.Expr` | `toNewArray(polyglot.util.Position p)`
`polyglot.ast.Expr` | `toNewArrayPrefix(polyglot.util.Position p)`
`polyglot.ast.Prefix` | `toPrefix()`
`polyglot.ast.Receiver` | `toReceiver()`
`polyglot.ast.TypeNode` | `toType()`
`polyglot.ast.TypeNode` | `toUnlabeledType()`

Methods inherited from class jif.parse.Amb
`toClassType, toIdentifier, toName, toPackage, wrap`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### toType

    public polyglot.ast.TypeNode toType()
                                 throws java.lang.Exception

  Overrides:
    `toType` in class `Amb`
  Throws:
    `java.lang.Exception`

### toUnlabeledType

    public polyglot.ast.TypeNode toUnlabeledType()
                                          throws java.lang.Exception

  Overrides:
    `toUnlabeledType` in class `Amb`
  Throws:
    `java.lang.Exception`

### toPrefix

    public polyglot.ast.Prefix toPrefix()
                                 throws java.lang.Exception

  Overrides:
    `toPrefix` in class `Amb`
  Throws:
    `java.lang.Exception`

### toReceiver

    public polyglot.ast.Receiver toReceiver()
                                     throws java.lang.Exception

  Overrides:
    `toReceiver` in class `Amb`
  Throws:
    `java.lang.Exception`

### toExpr

    public polyglot.ast.Expr toExpr()
                             throws java.lang.Exception

  Overrides:
    `toExpr` in class `Amb`
  Throws:
    `java.lang.Exception`

### toNewArray

    public polyglot.ast.Expr toNewArray(polyglot.util.Position p)
                                 throws java.lang.Exception

  Overrides:
    `toNewArray` in class `Amb`
  Throws:
    `java.lang.Exception`

### toNewArrayPrefix

    public polyglot.ast.Expr toNewArrayPrefix(polyglot.util.Position p)
                                       throws java.lang.Exception

  Overrides:
    `toNewArrayPrefix` in class `Amb`
  Throws:
    `java.lang.Exception`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD