jltools.ext.jl.ast
Class AmbReceiver_c

java.lang.Object
  |
  +--jltools.ext.jl.ast.Node_c
        |
        +--jltools.ext.jl.ast.AmbPrefix_c
              |
              +--jltools.ext.jl.ast.AmbReceiver_c
All Implemented Interfaces:
Ambiguous, AmbPrefix, AmbReceiver, java.lang.Cloneable, Copy, Node, Prefix, Receiver, java.io.Serializable, Typed

public class AmbReceiver_c
extends AmbPrefix_c
implements AmbReceiver

An AmbReceiver is an ambiguous AST node composed of dot-separated list of identifiers that must resolve to a receiver.

See Also:
Serialized Form

Inner classes inherited from class jltools.ext.jl.ast.Node_c
Node_c.StringCodeWriter
 
Field Summary
protected  Type type
           
 
Fields inherited from class jltools.ext.jl.ast.AmbPrefix_c
name, prefix
 
Fields inherited from class jltools.ext.jl.ast.Node_c
ext, position
 
Constructor Summary
AmbReceiver_c(Ext ext, Position pos, Prefix prefix, java.lang.String name)
           
 
Method Summary
 Node disambiguate_(AmbiguityRemover ar)
          Disambiguate the receiver.
 Node disambiguateOverride_(AmbiguityRemover ar)
          Disambiguate the receiver.
 Type type()
          Return the type of this node, or null if no type has been assigned yet.
 
Methods inherited from class jltools.ext.jl.ast.AmbPrefix_c
exceptionCheck_, name, name, prefix, prefix, reconstruct, toString, translate_, typeCheck_, visitChildren
 
Methods inherited from class jltools.ext.jl.ast.Node_c
buildTypes_, buildTypes, buildTypesOverride_, buildTypesOverride, copy, disambiguate, disambiguateOverride, disambiguateTypes_, disambiguateTypes, disambiguateTypesOverride_, disambiguateTypesOverride, dump, enterScope, exceptionCheck, exceptionCheckOverride_, exceptionCheckOverride, ext, ext, foldConstants_, foldConstants, foldConstantsOverride_, foldConstantsOverride, leaveScope, position, position, reconstructTypes_, reconstructTypes, translate, translateBlock, translateSubstmt, typeCheck, typeCheckOverride_, typeCheckOverride, visit, visitList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jltools.ast.AmbReceiver
name, prefix
 
Methods inherited from interface jltools.ast.Node
buildTypes_, buildTypesOverride_, copy, disambiguateTypes_, disambiguateTypesOverride_, dump, enterScope, exceptionCheck_, exceptionCheckOverride_, ext, ext, foldConstants_, foldConstantsOverride_, leaveScope, position, position, reconstructTypes_, translate_, typeCheck_, typeCheckOverride_, visit, visitChildren
 

Field Detail

type

protected Type type
Constructor Detail

AmbReceiver_c

public AmbReceiver_c(Ext ext,
                     Position pos,
                     Prefix prefix,
                     java.lang.String name)
Method Detail

type

public Type type()
Description copied from interface: Typed
Return the type of this node, or null if no type has been assigned yet.
Specified by:
type in interface Typed

disambiguateOverride_

public Node disambiguateOverride_(AmbiguityRemover ar)
                           throws SemanticException
Disambiguate the receiver.
Specified by:
disambiguateOverride_ in interface Node
Overrides:
disambiguateOverride_ in class Node_c
Following copied from interface: jltools.ast.Node
Parameters:
ar - The visitor which disambiguates.

disambiguate_

public Node disambiguate_(AmbiguityRemover ar)
                   throws SemanticException
Disambiguate the receiver.
Specified by:
disambiguate_ in interface Node
Overrides:
disambiguate_ in class AmbPrefix_c