Clean up smalltalk grammar
parent
9a4e66c8a6
commit
491bb6aa4c
|
@ -145,12 +145,14 @@ UnaryMessageSend = (UnaryMessageSend | Operand):lhs
|
||||||
(OptionalWhiteSpace ";" Message:m => [[ m ]])*:t
|
(OptionalWhiteSpace ";" Message:m => [[ m ]])*:t
|
||||||
=> [[ lhs t h prefix >array <ast-cascade> ]]
|
=> [[ lhs t h prefix >array <ast-cascade> ]]
|
||||||
|
|
||||||
BinaryMessageSend = (BinaryMessageSend | UnaryMessageSend | Operand):lhs
|
BinaryMessageSendLHS = (BinaryMessageSend | UnaryMessageSend | Operand)
|
||||||
|
|
||||||
|
BinaryMessageSend = BinaryMessageSendLHS:lhs
|
||||||
BinaryMessage:h
|
BinaryMessage:h
|
||||||
(OptionalWhiteSpace ";" Message:m => [[ m ]])*:t
|
(OptionalWhiteSpace ";" Message:m => [[ m ]])*:t
|
||||||
=> [[ lhs t h prefix >array <ast-cascade> ]]
|
=> [[ lhs t h prefix >array <ast-cascade> ]]
|
||||||
|
|
||||||
KeywordMessageSend = (BinaryMessageSend | UnaryMessageSend | Operand):lhs
|
KeywordMessageSend = BinaryMessageSendLHS:lhs
|
||||||
KeywordMessage:h
|
KeywordMessage:h
|
||||||
(OptionalWhiteSpace ";" Message:m => [[ m ]])*:t
|
(OptionalWhiteSpace ";" Message:m => [[ m ]])*:t
|
||||||
=> [[ lhs t h prefix >array <ast-cascade> ]]
|
=> [[ lhs t h prefix >array <ast-cascade> ]]
|
||||||
|
|
Loading…
Reference in New Issue