pub fn package_decl(input: &str) -> IResult<&str, String>
Expand description
Parse a package line, not including the semicolon.
use rust_lcm_codegen::parser::package_decl;
assert_eq!(
package_decl("package my_package"),
Ok((
"",
"my_package".to_string(),
))
);