Renaming Vool exppressions rightly
Class, Method and Lambda (was block) are expressions. Just making things clearer, especially for the blocks (ahem, lambdas) is matters. wip
This commit is contained in:
@ -5,13 +5,13 @@ module Mom
|
||||
class Constant
|
||||
end
|
||||
|
||||
class BlockConstant < Constant
|
||||
attr_reader :block
|
||||
class LambdaConstant < Constant
|
||||
attr_reader :lambda
|
||||
def initialize(bl)
|
||||
@block = bl
|
||||
@lambda = bl
|
||||
end
|
||||
def to_parfait(compiler)
|
||||
@block
|
||||
@lambda
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user