Skip to main content

parse_script

Function parse_script 

Source
pub fn parse_script(line: &str) -> ScriptConstruct
Expand description

Parse a full line into a script construct.

The parser splits on ; to find keywords. For simple commands (no scripting keywords), returns ScriptConstruct::Simple.