Sha256: f92f6b12ff55bec78c5802a8082b7fdf02b60f34321f30c4f90f03386297f55e
Contents?: true
Size: 738 Bytes
Versions: 38
Compression:
Stored size: 738 Bytes
Contents
# frozen_string_literal: true module Loxxy module Ast class LoxNode # 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 end # Notification that the parsing was successfully completed def done! # Default: do nothing ... end # Abstract method. # Part of the 'visitee' role in Visitor design pattern. # @param _visitor [LoxxyTreeVisitor] the visitor def accept(_visitor) raise NotImplementedError end end # class end # module end # module
Version data entries
38 entries across 38 versions & 1 rubygems