[−][src]Function rust_lcm_codegen::parser::package_decl
pub fn package_decl(input: &str) -> IResult<&str, String>
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(), )) );