Module: Compiler (I18n::Backend::InterpolationCompiler)

Overview
Module Structure
Constants
Compiler::TOKENIZER
Compiler::INTERPOLATION_SYNTAX_PATTERN
Instance Methods
Compiler#compile_if_an_interpolation / 1
Compiler#interpolated_str? / 1
Compiler#tokenize / 1
Compiler#compiled_interpolation_body / 1
Compiler#handle_interpolation_token / 2
Compiler#compile_interpolation_token / 1
Compiler#interpolate_or_raise_missing / 1
Compiler#interpolate_key / 1
Compiler#direct_key / 1
Compiler#nil_key / 1
Compiler#missing_key / 1
Compiler#reserved_key / 1
Compiler#escape_plain_str / 1
Compiler#escape_key_sym / 1
is a submodule of
module: InterpolationCompiler ( I18n::Backend )
extends
  Compiler ( I18n::Backend::InterpolationCompiler )
is extended by
module: Compiler ( I18n::Backend::InterpolationCompiler )
has properties
constant: TOKENIZER   
constant: INTERPOLATION_SYNTAX_PATTERN   
method: compile_if_an_interpolation / 1   
method: interpolated_str? / 1   
method: tokenize / 1   
method: compiled_interpolation_body / 1   
method: handle_interpolation_token / 2   
method: compile_interpolation_token / 1   
method: interpolate_or_raise_missing / 1   
method: interpolate_key / 1   
method: direct_key / 1   
method: nil_key / 1   
method: missing_key / 1   
method: reserved_key / 1   
method: escape_plain_str / 1   
method: escape_key_sym / 1   
is defined at
#21 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: I18n
  module: Backend
  module: InterpolationCompiler
module: Compiler     

Constants

Compiler::TOKENIZER

#24 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

TOKENIZER = /(%%\{[^\}]+\}|%\{[^\}]+\})/   

Compiler::INTERPOLATION_SYNTAX_PATTERN

#25 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

INTERPOLATION_SYNTAX_PATTERN = /(%)?(%\{([^\}]+)\})/   

Instance Methods

Compiler#compile_if_an_interpolation / 1

#27 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

compile_if_an_interpolation ( string )

Compiler#interpolated_str? / 1

#39 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

interpolated_str? ( str )

Compiler#compiled_interpolation_body / 1

#49 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

compiled_interpolation_body ( str )

Compiler#handle_interpolation_token / 2

#55 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

handle_interpolation_token ( interpolation ,
  matchdata )

Compiler#compile_interpolation_token / 1

#60 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

compile_interpolation_token ( key )

Compiler#interpolate_or_raise_missing / 1

#64 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

interpolate_or_raise_missing ( key )

Compiler#interpolate_key / 1

#69 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

interpolate_key ( key )

Compiler#missing_key / 1

#81 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

missing_key ( key )

Compiler#reserved_key / 1

#85 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

reserved_key ( key )

Compiler#escape_plain_str / 1

#89 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

escape_plain_str ( str )

Compiler#escape_key_sym / 1

#93 in active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb

escape_key_sym ( key )