panmacro_to_ast_json

Function panmacro_to_ast_json 

Source
pub fn panmacro_to_ast_json(
    input_bytes: &[u8],
    macro_name: Option<&str>,
    input_encoding: PanCsvEncoding,
) -> Result<String>
Expand description

Parse a macro procedure into AST JSON string. If macro_name is Some, input_bytes is treated as a PAN database file. If macro_name is None, input_bytes is treated directly as macro procedure code.