Sha256: a415fdc2fd1350dba3b604607eb4ac8adf8c830b5d571c1d7f5b8dcd05dfae4d

Contents?: true

Size: 379 Bytes

Versions: 14

Compression:

Stored size: 379 Bytes

Contents

module WebIDL
  module ParseTree
    class Exception < Treetop::Runtime::SyntaxNode

      def build(parent)
        ex = Ast::Exception.new(parent, name.text_value)

        unless inherits.empty?
          ex.inherits = inherits.build(parent)
        end

        members.build(ex) unless members.empty?

        ex
      end

    end # Exception
  end # ParseTree
end # WebIDL

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
webidl-0.2.2 lib/webidl/parse_tree/exception.rb
webidl-0.2.1 lib/webidl/parse_tree/exception.rb
webidl-0.1.10 lib/webidl/parse_tree/exception.rb
webidl-0.2.0 lib/webidl/parse_tree/exception.rb
webidl-0.1.9 lib/webidl/parse_tree/exception.rb
webidl-0.1.8 lib/webidl/parse_tree/exception.rb
webidl-0.1.7 lib/webidl/parse_tree/exception.rb
webidl-0.1.6 lib/webidl/parse_tree/exception.rb
webidl-0.1.5 lib/webidl/parse_tree/exception.rb
webidl-0.1.4 lib/webidl/parse_tree/exception.rb
webidl-0.1.3 lib/webidl/parse_tree/exception.rb
webidl-0.1.2 lib/webidl/parse_tree/exception.rb
webidl-0.1.1 lib/webidl/parse_tree/exception.rb
webidl-0.1.0 lib/webidl/parse_tree/exception.rb