lib/sdl4r/parser/token.rb in sdl4r-0.9.2 vs lib/sdl4r/parser/token.rb in sdl4r-0.9.3
- old
+ new
@@ -1,5 +1,6 @@
+#--
# Simple Declarative Language (SDL) for Ruby
# Copyright 2005 Ikayzo, inc.
#
# This program is free software. You can distribute or modify it under the
# terms of the GNU Lesser General Public License version 2.1 as published by
@@ -10,10 +11,11 @@
# See the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program; if not, contact the Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#++
module SDL4R
require File.dirname(__FILE__) + '/time_span_with_zone'
@@ -21,10 +23,10 @@
# An SDL token.
#
# @author Daniel Leuck, Philippe Vosges
#
- class Token
+ class Token # :nodoc: all
def initialize(text, line = -1, position = -1)
@text = text
@line = line
@pos = position