lib/loxxy/ast/lox_node.rb in loxxy-0.4.00 vs lib/loxxy/ast/lox_node.rb in loxxy-0.4.01
- old
+ new
@@ -9,10 +9,10 @@
# that is the product of the parse of an input text.
class LoxNode
# Let nodes take `visitee` role as defined in the Visitor design pattern
extend ASTVisitee
- # return [Rley::Lexical::Position] Position of the entry in the input stream.
+ # @return [Rley::Lexical::Position] Position of the entry in the input stream.
attr_reader :position
# @param aPosition [Rley::Lexical::Position] Position of the entry in the input stream.
def initialize(aPosition)
@position = aPosition