class SrcLexer::Token
Attributes
char_no[R]
line_no[R]
str[R]
Public Class Methods
new(str, line_no, char_no)
click to toggle source
# File lib/src_lexer.rb, line 7 def initialize(str, line_no, char_no) @str = str @line_no = line_no @char_no = char_no end
Public Instance Methods
==(other_object)
click to toggle source
# File lib/src_lexer.rb, line 13 def ==(other_object) @str == other_object.str && @line_no == other_object.line_no && @char_no == other_object.char_no end