On Wednesday 24 May 2006 06:45 pm, Mirko Stocker wrote:
> Hi!
>
> I'm currently implementing a visitor which creates sourcecode from the
> jruby-ast (we need this for our refactorings). I've implemented most nodes,
> but I'm stuck with some. I would be very glad if someone could give me some
> code with the following nodes:
>

I'm not *sure* of any of these, but you can give them a try.  These are just 
educated guesses.

> - MatchNode
        print 'x' if (/pattern/)
> - Match2Node
        print 'x' if $y =~ /pattern/
> - OpAsgnNode
        "x = 7" 

> - OptNNode
> - PostExeNode
> - SplatNode
        a,b,c = *[1,2,3]

> - SValueNode
> - ArgsCatNode
> - BlockPassNode
> - DSymbolNode
> - FlipNode
>
> Thanks
>
> Mirko Stocker


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to