Class: I18n::Tasks::Scanners::RubyScanner
- Inherits:
-
FileScanner
- Object
- Scanner
- FileScanner
- I18n::Tasks::Scanners::RubyScanner
- Includes:
- AST::Sexp, Logging, RelativeKeys
- Defined in:
- lib/i18n/tasks/scanners/ruby_scanner.rb
Overview
Scan for I18n.translate calls using whitequark/parser primarily and Prism if configured.
Direct Known Subclasses
Constant Summary collapse
- MAGIC_COMMENT_SKIP_PRISM =
"i18n-tasks-skip-prism"- MAGIC_COMMENT_PREFIX =
/\A.\s*i18n-tasks-use\s+/
Constants included from Logging
Logging::MUTEX, Logging::PROGRAM_NAME
Instance Attribute Summary
Attributes inherited from FileScanner
Method Summary
Methods included from Logging
log_error, log_stderr, log_verbose, log_warn, program_name, warn_deprecated
Methods included from RelativeKeys
Methods inherited from FileScanner
Methods inherited from Scanner
Constructor Details
This class inherits a constructor from I18n::Tasks::Scanners::FileScanner