comparison modules/ast.tp @ 263:98147071baf6

Add support for llMessage definitions in buildMethodTables
author Michael Pavone <pavone@retrodev.com>
date Mon, 14 Jul 2014 09:30:31 -0700
parents be224817a14b
children 2308336790d4
comparison
equal deleted inserted replaced
262:9d93e65a34be 263:98147071baf6
123 #{ 123 #{
124 nodeType <- { _call } 124 nodeType <- { _call }
125 tocall <- _tocall 125 tocall <- _tocall
126 args <- _args 126 args <- _args
127 hasReceiver? <- _receiver? 127 hasReceiver? <- _receiver?
128 llMessage? <- {
129 (tocall nodeType) = _symbol && (tocall name) = "llMessage:withVars:andCode"
130 }
128 stringIndent <- :indent { 131 stringIndent <- :indent {
129 argparts <- [] 132 argparts <- []
130 if: (tocall nodeType) = _symbol { 133 if: (tocall nodeType) = _symbol {
131 argparts <- (tocall name) splitOn: ":" 134 argparts <- (tocall name) splitOn: ":"
132 } else: { 135 } else: {