module WebIDL module Ast class Interface < Node def self.list @list ||= {} end attr_reader :name attr_accessor :extended_attributes, :members, :inherits, :implements, :includes, :partial def initialize(parent, name) super(parent) @name = name @members = [] @inherits = [] @implements = [] @includes = [] @extended_attributes = [] @partial = false end def partial? @partial end end # Interface end # Ast end # WebIDL