Navigation Menu

Skip to content

Commit

Permalink
mrb: make internal methods private
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 11, 2014
1 parent 5b84e4a commit d1731ca
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/mrb/scripts/scan_info.rb
Expand Up @@ -33,6 +33,14 @@ def match_resolve_index
end
end

def call_relational_resolve_indexes
# better index resolving framework for functions should be implemented
each_arg do |arg|
call_relational_resolve_index(arg)
end
end

private
def match_resolve_index_expression(expression)
codes = expression.codes
n_codes = codes.size
Expand Down Expand Up @@ -98,14 +106,6 @@ def match_resolve_index_accessor(accessor)
end
end

def call_relational_resolve_indexes
# better index resolving framework for functions should be implemented
each_arg do |arg|
call_relational_resolve_index(arg)
end
end

private
def call_relational_resolve_index(object)
case object
when Accessor
Expand Down

0 comments on commit d1731ca

Please sign in to comment.