Module: YARD::Parser::Ruby::Legacy::RubyToken

Included in:
Handlers::Ruby::Legacy::Base, StatementList, TokenList
Defined in:
lib/yard/parser/ruby/legacy/ruby_lex.rb

Overview

Legacy lexical tokenizer module.

Defined Under Namespace

Classes: TkBlockContents, TkError, TkId, TkKW, TkNode, TkOPASGN, TkOp, TkStatementEnd, TkUnknownChar, TkVal, TkWhitespace, Token

Constant Summary collapse

EXPR_BEG =
:EXPR_BEG
EXPR_MID =
:EXPR_MID
EXPR_END =
:EXPR_END
EXPR_ARG =
:EXPR_ARG
EXPR_FNAME =
:EXPR_FNAME
EXPR_DOT =
:EXPR_DOT
EXPR_CLASS =
:EXPR_CLASS
TkReading2Token =

{ reading => token_class } { reading => [token_class, *opt] }

{}
TkSymbol2Token =
{}
NEWLINE_TOKEN =
TkNL.new(0, 0)