Class: Patm::Pattern::Any
Instance Method Summary
collapse
#&, #[], build_from, build_from_array, build_from_hash, #compile, #opt, #opt?, #rest?
Instance Method Details
#compile_internal(free_index, target_name = "_obj") ⇒ Object
344
345
346
347
348
349
350
|
# File 'lib/patm.rb', line 344
def compile_internal(free_index, target_name = "_obj")
[
nil,
[],
free_index
]
end
|
#execute(match, obj) ⇒ Object
342
|
# File 'lib/patm.rb', line 342
def execute(match, obj); true; end
|
#inspect ⇒ Object
343
|
# File 'lib/patm.rb', line 343
def inspect; 'ANY'; end
|