class Mint::MintJson::Parser
- Mint::MintJson::Parser
- Reference
- Object
Included Modules
Extended Modules
Defined in:
mint_json/application.crmint_json/application/css_prefix.cr
mint_json/application/display.cr
mint_json/application/head.cr
mint_json/application/icon.cr
mint_json/application/meta.cr
mint_json/application/name.cr
mint_json/application/orientation.cr
mint_json/application/theme_color.cr
mint_json/application/title.cr
mint_json/dependencies.cr
mint_json/formatter.cr
mint_json/mint_version.cr
mint_json/name.cr
mint_json/parser.cr
mint_json/root.cr
mint_json/source_directories.cr
mint_json/test_directories.cr
Constant Summary
-
DISPLAY_VALUES =
["fullscreen", "standalone", "minimal-ui", "browser"] of ::String
-
ORIENTATION_VALUES =
["any", "natural", "landscape", "landscape-primary", "landscape-secondary", "portrait", "portrait-primary", "portrait-secondary"] of ::String
Constructors
Class Method Summary
- .parse(path : String, *, search : Bool = false) : MintJson
- .parse(*, contents : String, path : String) : MintJson
- .snippet_data(*, column_number : Int32, line_number : Int32, contents : String, path : String)
Instance Method Summary
- #parse : MintJson
- #parse_application : Application
- #parse_application_css_prefix : String
- #parse_application_display : String
- #parse_application_head : String
- #parse_application_icon : String
- #parse_application_meta : Hash(String, String)
- #parse_application_meta_keyword : String
- #parse_application_meta_keywords : String
- #parse_application_meta_value : String
- #parse_application_name : String
- #parse_application_orientation : String
- #parse_application_theme_color : String
- #parse_application_title : String
- #parse_dependencies : Array(Installer::Dependency)
- #parse_dependency(package : String) : Installer::Dependency
- #parse_dependency_constraint : Installer::Constraint
- #parse_dependency_repository : String
- #parse_formatter : Formatter::Config
- #parse_formatter_indent_size : Int32
- #parse_mint_version : Nil
- #parse_name : String
- #parse_source_directories : Array(String)
- #parse_source_directory : String
- #parse_test_directories : Array(String)
- #parse_test_directory : String
-
#root
This is used for checking directories and files.
- #snippet_data(location : Tuple(Int32, Int32))
- #snippet_data
Instance methods inherited from module Mint::Errorable
error!(name : Symbol, &)
error!,
unreachable!(message : String)
unreachable!
Constructor Detail
Class Method Detail
def self.snippet_data(*, column_number : Int32, line_number : Int32, contents : String, path : String)
#