Class: RubyLexer::EoiToken
Overview
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Attributes inherited from Token
#allow_ooo_offset, #as, #endline, #ident, #offset, #startline, #tag
Instance Method Summary collapse
-
#initialize(cause, file, offset = nil, line = nil) ⇒ EoiToken
constructor
A new instance of EoiToken.
Methods inherited from Token
#dump, #error, #has_no_block?, #inspect, #linecount, #orig_inspect, #to_s, #ws_munge
Constructor Details
#initialize(cause, file, offset = nil, line = nil) ⇒ EoiToken
Returns a new instance of EoiToken.
705 706 707 708 709 |
# File 'lib/rubylexer/token.rb', line 705 def initialize(cause,file, offset=nil,line=nil) super(cause,offset) @file=file @endline=line end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
702 703 704 |
# File 'lib/rubylexer/token.rb', line 702 def file @file end |