Mercurial > repos > tabletprog
comparison modules/parser.tp @ 234:370e03964239
Add string method to unarymeth AST node object
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 03 Jan 2014 19:23:47 -0800 |
parents | 25b800094623 |
children | cc1260872322 |
comparison
equal
deleted
inserted
replaced
233:c9cacb06964a | 234:370e03964239 |
---|---|
715 } yield: { | 715 } yield: { |
716 #{ | 716 #{ |
717 receiver <- Receiver | 717 receiver <- Receiver |
718 name <- Method name | 718 name <- Method name |
719 args <- [] | 719 args <- [] |
720 string <- { | |
721 (string: receiver) . " " . name | |
722 } | |
720 } | 723 } |
721 } | 724 } |
722 | 725 |
723 methcall <- match: Receiver . hws . Rest where: { | 726 methcall <- match: Receiver . hws . Rest where: { |
724 Receiver <- match: opexpr | 727 Receiver <- match: opexpr |