Class: Flexr::Lexer

Inherits:
Object
  • Object
show all
Extended by:
DSL
Includes:
Runtime
Defined in:
lib/flexr/lexer.rb

Direct Known Subclasses

Regexp::SourceLexer

Constant Summary

Constants included from DSL

DSL::DSL_METHODS

Instance Attribute Summary

Attributes included from DSL

#__flexr_compiled, #__flexr_config, #__flexr_generated_actions, #__flexr_rules, #__flexr_states

Attributes included from Runtime

#buffer, #error_mode, #filename, #max_lookahead_size, #max_token_size, #on_error, #steps

Method Summary

Methods included from DSL

__flexr_add_generated_eof, __flexr_add_generated_rule, __flexr_bind_generated_action, __flexr_generated?, __flexr_mark_generated!, __flexr_reset!, __flexr_set_compiled!, __flexr_spec, accel, all_states, backend, compile!, dfa, emits, encoding, inherited, on_eof, option, rule, state, token_kind

Methods included from Runtime

#begin_state, #beginning_of_line?, #binary_input, #byte_pos, #consume_step!, #defer_token_size_check!, #each_token, #echo, #emit, #ensure_lookahead_size!, #error!, #initialize, #input, #last_location, #less, #lineno, #more, #more_text_start, #next_token, #pop, #push, #racc_next_token, #reject, #scan_steps_guarded?, #skip, #state, #text, #text_bytesize, #token_limit_required?, #tokens, #utf8_boundary?, #utf8_input?, #valid_utf8_at?