Sha256: 51ded4dc3c103b443e5d265400dce15bcfe86de65f2517f90638a7b17882a200
Contents?: true
Size: 293 Bytes
Versions: 14
Compression:
Stored size: 293 Bytes
Contents
require "jsduck/tag/boolean_tag" module JsDuck::Tag class Singleton < BooleanTag def initialize @pattern = "singleton" @ext_define_pattern = "singleton" super end def parse_ext_define(cls, ast) cls[:singleton] = (ast.to_value == true) end end end
Version data entries
14 entries across 14 versions & 1 rubygems