class

Tui::TUML::Parser

Inherits Reference / Object

Main parser - detects format and delegates

Class methods

parse(content : String, format : Symbol = :auto) : Node
Source
parse_file(path : String) : Node
Source
parse_json(content : String) : Node

Parse JSON format

Source
parse_pug(content : String) : Node

Parse Pug-style format Example: Panel#main.active(title="Hello") Button#submit Click me

Source
parse_yaml(content : String) : Node

Parse YAML format

Source