Included Modules

Class/Module Index [+]

Quicksearch

Mail::PhraseLists

Public Instance Methods

_nt_primary_phrase() click to toggle source
# File lib/mail/parsers/phrase_lists.rb, line 20
def _nt_primary_phrase
  start_index = index
  if node_cache[:primary_phrase].has_key?(index)
    cached = node_cache[:primary_phrase][index]
    if cached
      cached = SyntaxNode.new(input, index...(index + 1)) if cached == true
      @index = cached.interval.end
    end
    return cached
  end

  r0 = _nt_phrase_list
  r0.extend(PrimaryPhrase0)

  node_cache[:primary_phrase][start_index] = r0

  r0
end
root() click to toggle source
# File lib/mail/parsers/phrase_lists.rb, line 8
def root
  @root ||= :primary_phrase
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.