Class: YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Token
|
|
Instance Chain:
self,
Token
|
|
Inherits: |
YARD::Parser::Ruby::Legacy::RubyToken::Token
|
Defined in: | lib/yard/parser/ruby/legacy/ruby_lex.rb |
Constant Summary
Class Method Summary
- .new(line_no, char_no, _id) ⇒ TkUnknownChar constructor
Token
- Inherited
Instance Attribute Summary
Instance Method Summary
Constructor Details
.new(line_no, char_no, _id) ⇒ TkUnknownChar
# File 'lib/yard/parser/ruby/legacy/ruby_lex.rb', line 108
def initialize(line_no, char_no, _id) super(line_no, char_no) @name = char_no > 255 ? '?' : char_no.chr end
Instance Attribute Details
#name (readonly)
[ GitHub ]# File 'lib/yard/parser/ruby/legacy/ruby_lex.rb', line 112
attr :name