Class RDoc::RubyToken::Token
In: lib/rdoc/parser/ruby.rb
Parent: Object
CodeObject Include Context Alias AnyMethod Attr Constant Require ClassModule NormalModule SingleClass AnonClass NormalClass TopLevel GhostMethod MetaMethod RuntimeError Error Error RubyLex IRB AttributeFormatter AnsiFormatter OverstrikeFormatter HtmlFormatter DefaultDisplay NamedThing IncludedModule Attribute Constant MethodSummary AliasName ClassEntry TopLevelEntry Description MethodDescription ModuleDescription ClassDescription Formatter SimpleFormatter HTML HTMLInOne XML CHM Context Method Class File Generator::MarkUp Texinfo Token TkUnknownChar TkOp TkVal TkId TkNode TkError TkOPASGN TkKW Element Edge Node Subgraph Digraph SimpleElement Port Options Diagram Parser RDoc Markup TemplatePage Stats NameDescriptor Cache Reader Writer Driver MethodEntry RI TexinfoTemplate AllReferences Display Paths RI MarkUp Generator TokenStream RubyToken DOT RDoc dot/f_4.png

Methods

==   new   set_text  

Constants

NO_TEXT = "??".freeze

Attributes

char_no  [R] 
line_no  [R] 
text  [RW] 

Public Class methods

Public Instance methods

Because we‘re used in contexts that expect to return a token, we set the text string and then return ourselves

[Validate]