MLT  7.22.0
Data Fields | Private Member Functions
yaml_parser_context Struct Reference

YAML Tiny Parser context structure. More...

Data Fields

char block
 
unsigned int block_indent
 
char * block_name
 
int index
 
mlt_deque index_stack
 
unsigned int level
 
mlt_deque stack
 

Private Member Functions

static int parse_yaml (yaml_parser context, const char *namevalue)
 Parse a line of YAML Tiny. More...
 

Detailed Description

YAML Tiny Parser context structure.

YAML is a nifty text format popular in the Ruby world as a cleaner, less verbose alternative to XML. See this Wikipedia topic for an overview: http://en.wikipedia.org/wiki/YAML The YAML specification is at: http://yaml.org/ YAML::Tiny is a Perl module that specifies a subset of YAML that we are using here (for the same reasons): http://search.cpan.org/~adamk/YAML-Tiny-1.25/lib/YAML/Tiny.pm

Member Function Documentation

◆ parse_yaml()

static int parse_yaml ( yaml_parser  context,
const char *  namevalue 
)
private

Parse a line of YAML Tiny.

Adds a property if needed.

Parameters
contexta YAML Tiny Parser context
namevaluea line of YAML Tiny
Returns
true if there was an error

Field Documentation

◆ block

char yaml_parser_context::block

◆ block_indent

unsigned int yaml_parser_context::block_indent

◆ block_name

char* yaml_parser_context::block_name

◆ index

int yaml_parser_context::index

◆ index_stack

mlt_deque yaml_parser_context::index_stack

◆ level

unsigned int yaml_parser_context::level

◆ stack

mlt_deque yaml_parser_context::stack

The documentation for this struct was generated from the following file: