Sha256: 04045e357327c5ad7d755f1d16192892efb264c690234d0e8645a798f21146dd
Contents?: true
Size: 624 Bytes
Versions: 15
Compression:
Stored size: 624 Bytes
Contents
# coding: utf-8 require 'fig/statement' module Fig; end # A statement that declares the syntax that a package is to be serialized in. class Fig::Statement::GrammarVersion < Fig::Statement attr_reader :version def initialize(line_column, source_description, version) super(line_column, source_description) @version = version end def statement_type() return 'grammar' end def deparse_as_version(deparser) return deparser.grammar_version(self) end def minimum_grammar_for_emitting_input() return [version] end def minimum_grammar_for_publishing() return [version] end end
Version data entries
15 entries across 15 versions & 1 rubygems