Class: Oppen::Token

Inherits:
Object
  • Object
show all
Defined in:
lib/oppen/token.rb

Overview

Token.

Direct Known Subclasses

Begin, Break, EOF, End, String

Defined Under Namespace

Modules: BreakType Classes: Begin, Break, EOF, End, LineBreak, String, Whitespace

Instance Method Summary collapse

Instance Method Details

#widthInteger

Default token width

Returns:

  • (Integer)


23
# File 'lib/oppen/token.rb', line 23

def width = 0