Method: SyntaxSuggest::LexValue#initialize
- Defined in:
- lib/syntax_suggest/lex_value.rb
#initialize(line, type, token, state, last_lex = nil) ⇒ LexValue
Returns a new instance of LexValue.
18 19 20 21 22 23 24 25 |
# File 'lib/syntax_suggest/lex_value.rb', line 18 def initialize(line, type, token, state, last_lex = nil) @line = line @type = type @token = token @state = state set_kw_end(last_lex) end |