Class: Patm::Pattern::ArrRest
Instance Method Summary
collapse
#&, #[], build_from, #compile, #opt, #opt?
Instance Method Details
#compile_internal(free_index, target_name = "_obj") ⇒ Object
267
268
269
270
271
272
273
|
# File 'lib/patm.rb', line 267
def compile_internal(free_index, target_name = "_obj")
[
nil,
[],
free_index
]
end
|
#execute(mmatch, obj) ⇒ Object
260
261
262
|
# File 'lib/patm.rb', line 260
def execute(mmatch, obj)
true
end
|
#inspect ⇒ Object
266
|
# File 'lib/patm.rb', line 266
def inspect; "..."; end
|
#rest? ⇒ Boolean
263
264
265
|
# File 'lib/patm.rb', line 263
def rest?
true
end
|