Changeset 12947 for src/Pugs/Exp.hs

Show
Ignore:
Timestamp:
09/02/06 18:41:03 (2 years ago)
Author:
audreyt
Message:

* introduce CCallDyn node to Pugs.Exp, to stand for the

dynamic method case:

$obj.$meth()


Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Exp.hs

    r12464 r12947  
    4040data ExpControl 
    4141    = CCall        ID     ExpCapt       -- ^ lookup a routine, call it 
     42    | CCallDyn     Exp    ExpCapt       -- ^ call with a dynamically calculated name 
    4243    | CApply       Exp    ExpCapt       -- ^ apply a Code without lookup 
    4344    | CCond        Exp    Code          -- ^ 2 if 1