Module: Terrestrial::Cli::Parser

Defined in:
lib/terrestrial/cli/parser.rb,
lib/terrestrial/cli/parser/objc.rb,
lib/terrestrial/cli/parser/swift.rb,
lib/terrestrial/cli/parser/storyboard.rb,
lib/terrestrial/cli/parser/android_xml.rb,
lib/terrestrial/cli/parser/base_parser.rb,
lib/terrestrial/cli/parser/string_analyser.rb

Defined Under Namespace

Classes: AndroidXML, BaseParser, ObjC, Storyboard, StringAnalyser, Swift

Class Method Summary collapse

Class Method Details

.find_api_calls(file) ⇒ Object



16
17
18
# File 'lib/terrestrial/cli/parser.rb', line 16

def self.find_api_calls(file)
  EngineMapper.parser_for(File.extname(file)).find_api_calls(file)
end

.find_nslocalizedstrings(file) ⇒ Object



20
21
22
# File 'lib/terrestrial/cli/parser.rb', line 20

def self.find_nslocalizedstrings(file)
  EngineMapper.parser_for(File.extname(file)).find_nslocalizedstrings(file)
end

.find_strings(file) ⇒ Object



12
13
14
# File 'lib/terrestrial/cli/parser.rb', line 12

def self.find_strings(file)
  EngineMapper.parser_for(File.extname(file)).find_strings(file)
end