Class YARD::StatementList

Array
  |
  +--YARD::StatementList

All Included Modules:
       RubyToken


Constants

Constants included from RubyToken
TkSymbol2Token, EXPR_MID, EXPR_DOT, EXPR_ARG, TkReading2Token, NEWLINE_TOKEN, TokenDefinitions, EXPR_CLASS, EXPR_FNAME, EXPR_BEG, EXPR_END

Class Variables

@@open_block_tokens = [TkCLASS, TkDEF, TkMODULE, TkUNTIL, TkIF, TkUNLESS, TkWHILE, TkFOR, TkCASE]
The following list of tokens will require a block to be opened if used at the beginning of a statement.

Constructor Summary

initialize(content)

Creates a new statement list

Parameters:
[TokenList, String] content - the tokens to create the list from

Public Class Method Summary

Public class methods included from RubyToken
def_token

Public Instance Method Summary

Public instance methods included from RubyToken
set_token_position, Token