Sha256: 50cc093bca72257672421decddf5655edefbcbc85e0f4986678b3497cf910c27
Contents?: true
Size: 695 Bytes
Versions: 23
Compression:
Stored size: 695 Bytes
Contents
module WebIDL module Ast class Attribute < Node attr_reader :type, :name, :getraises, :setraises attr_accessor :extended_attributes, :stringifier def initialize(parent, type, name, opts = {}) super(parent) @type = type @name = name @readonly = !!opts[:readonly] @setraises = opts[:setraises] || [] @getraises = opts[:getraises] || [] @extended_attributes = opts[:extended_attributes] || [] end def readonly? @readonly end def stringifier? !!@stringifier end end # Attribute end # Ast end # WebIDL
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
webidl-0.0.3 | lib/webidl/ast/attribute.rb |
webidl-0.0.2 | lib/webidl/ast/attribute.rb |
webidl-0.0.1 | lib/webidl/ast/attribute.rb |