class Mint::MintJson

Included Modules

Defined in:

mint_json.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Mint::Errorable

error(name : Symbol, &) error, error!(name : Symbol, &) error!, errors : Array(Error) errors

Class methods inherited from module Mint::Errorable

error(name : Symbol, &) error

Constructor Detail

def self.new(json : String, root : String, file : String) #

[View source]
def self.new #

[View source]
def self.parse_current : MintJson #

[View source]

Class Method Detail

def self.from_file(path) #

[View source]
def self.parse_current? : MintJson | Nil #

[View source]

Instance Method Detail

def application : Mint::MintJson::Application #

[View source]
def check_dependencies! #

[View source]
def current_node #

[View source]
def dependencies : Array(Mint::Installer::Dependency) #

[View source]
def dependency_exists?(name : String) #

[View source]
def formatter_config : Mint::Formatter::Config #

[View source]
def name : String #

[View source]
def node(column_number, line_number) #

[View source]
def node(exception : JSON::ParseException) #

[View source]
def node(location) #

[View source]
def parse_application #

[View source]
def parse_application_css_prefix #

[View source]
def parse_application_name #

[View source]
def parse_constraint #

[View source]
def parse_dependencies #

[View source]
def parse_dependency(key) #

[View source]
def parse_display #

[View source]
def parse_formatter #

[View source]
def parse_head #

[View source]
def parse_icon #

[View source]
def parse_indent_size #

[View source]
def parse_keyword #

[View source]
def parse_keywords #

[View source]
def parse_meta #

[View source]
def parse_meta_value #

[View source]
def parse_mint_version #

[View source]
def parse_name #

[View source]
def parse_orientation #

[View source]
def parse_root #

[View source]
def parse_source_directories #

[View source]
def parse_source_directory #

[View source]
def parse_test_directories #

[View source]
def parse_test_directory #

[View source]
def parse_theme #

[View source]
def parse_title #

[View source]
def parse_web_components #

Parsing web components


[View source]
def root : String #

[View source]
def source_directories : Array(String) #

[View source]
def source_files #

[View source]
def terminal #

[View source]
def test_directories : Array(String) #

[View source]
def web_components : Hash(String, String) #

[View source]