class Gherkin::Lexer::I18nLexer

The main entry point to lexing Gherkin source.

Constants

COMMENT_OR_EMPTY_LINE_PATTERN

Attributes

i18n_language[R]

Public Class Methods

new(listener, force_ruby=false) click to toggle source
# File lib/gherkin/lexer/i18n_lexer.rb, line 16
def initialize(listener, force_ruby=false)
  @listener = listener
  @force_ruby = force_ruby
end

Public Instance Methods

scan(source) click to toggle source
# File lib/gherkin/lexer/i18n_lexer.rb, line 21
def scan(source)
  create_delegate(source).scan(source)
end