Module: Mail::MessageIds
- Includes:
- RFC2822, Treetop::Runtime
- Included in:
- MessageIdsParser
- Defined in:
- lib/mail/parsers/message_ids.rb
Defined Under Namespace
Modules: Primary0
Instance Method Summary collapse
Methods included from RFC2822
#_nt_ALPHA, #_nt_CFWS, #_nt_CR, #_nt_CRLF, #_nt_DIGIT, #_nt_DQUOTE, #_nt_FWS, #_nt_LF, #_nt_NO_WS_CTL, #_nt_WSP, #_nt_addr_spec, #_nt_address, #_nt_address_list, #_nt_angle_addr, #_nt_atext, #_nt_atom, #_nt_ccontent, #_nt_comment, #_nt_ctext, #_nt_date, #_nt_date_time, #_nt_day, #_nt_day_name, #_nt_day_of_week, #_nt_dcontent, #_nt_display_name, #_nt_domain, #_nt_domain_literal, #_nt_domain_text, #_nt_dot_atom, #_nt_dot_atom_text, #_nt_dtext, #_nt_group, #_nt_hour, #_nt_id_left, #_nt_id_right, #_nt_item_name, #_nt_item_value, #_nt_local_dot_atom, #_nt_local_dot_atom_text, #_nt_local_part, #_nt_mailbox, #_nt_mailbox_list, #_nt_mailbox_list_group, #_nt_message_id_text, #_nt_message_ids, #_nt_minute, #_nt_month, #_nt_month_name, #_nt_msg_id, #_nt_msg_id_atext, #_nt_msg_id_domain_text, #_nt_msg_id_dot_atom_text, #_nt_msg_id_value, #_nt_mtext, #_nt_name_addr, #_nt_name_val_list, #_nt_name_val_pair, #_nt_no_fold_literal, #_nt_no_fold_quote, #_nt_path, #_nt_phrase, #_nt_phrase_list, #_nt_qcontent, #_nt_qdcontent, #_nt_qtext, #_nt_quoted_domain, #_nt_quoted_pair, #_nt_quoted_string, #_nt_received, #_nt_return, #_nt_second, #_nt_specials, #_nt_text, #_nt_time, #_nt_time_of_day, #_nt_word, #_nt_year, #_nt_zone
Methods included from RFC2822Obsolete
#_nt_obs_FWS, #_nt_obs_addr_list, #_nt_obs_angle_addr, #_nt_obs_bcc, #_nt_obs_cc, #_nt_obs_char, #_nt_obs_comments, #_nt_obs_day, #_nt_obs_day_of_week, #_nt_obs_domain, #_nt_obs_domain_list, #_nt_obs_fields, #_nt_obs_from, #_nt_obs_hour, #_nt_obs_id_left, #_nt_obs_id_right, #_nt_obs_in_reply_to, #_nt_obs_keywords, #_nt_obs_local_part, #_nt_obs_mbox_list, #_nt_obs_message_id, #_nt_obs_minute, #_nt_obs_month, #_nt_obs_optional, #_nt_obs_orig_date, #_nt_obs_path, #_nt_obs_phrase, #_nt_obs_phrase_list, #_nt_obs_qp, #_nt_obs_received, #_nt_obs_references, #_nt_obs_reply_to, #_nt_obs_resent_bcc, #_nt_obs_resent_cc, #_nt_obs_resent_date, #_nt_obs_resent_from, #_nt_obs_resent_mid, #_nt_obs_resent_rply, #_nt_obs_resent_send, #_nt_obs_resent_to, #_nt_obs_return, #_nt_obs_route, #_nt_obs_second, #_nt_obs_sender, #_nt_obs_subject, #_nt_obs_text, #_nt_obs_to, #_nt_obs_utext, #_nt_obs_year, #_nt_obs_zone
Instance Method Details
#_nt_primary ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/mail/parsers/message_ids.rb', line 20 def _nt_primary start_index = index if node_cache[:primary].has_key?(index) cached = node_cache[:primary][index] if cached cached = SyntaxNode.new(input, index...(index + 1)) if cached == true @index = cached.interval.end end return cached end r0 = r0.extend(Primary0) node_cache[:primary][start_index] = r0 r0 end |