class Rley::Lexical::Position
A Position
is the location of a lexeme within a source file.
Attributes
Public Class Methods
Source
# File lib/rley/lexical/token.rb, line 12 def initialize(aLine, aCol) @line = aLine @column = aCol end
Public Instance Methods
Source
# File lib/rley/lexical/token.rb, line 17 def to_s "line #{line}, column #{column}" end