Ignore:
Timestamp:
07/28/06 16:09:34 (8 years ago)
Author:
xi
Message:

Implement everything except tag and scalar writers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libyaml/trunk/include/yaml.h

    r213 r214  
    12041204    int indention; 
    12051205 
     1206    /** Anchor analysis. */ 
     1207    struct { 
     1208        /** The anchor value. */ 
     1209        yaml_char_t *anchor; 
     1210        /** The anchor length. */ 
     1211        size_t anchor_length; 
     1212        /** Is it an alias? */ 
     1213        int alias; 
     1214    } anchor_data; 
     1215 
     1216    /** Tag analysis. */ 
     1217    struct { 
     1218        /** The tag handle. */ 
     1219        yaml_char_t *handle; 
     1220        /** The tag handle length. */ 
     1221        size_t handle_length; 
     1222        /** The tag suffix. */ 
     1223        yaml_char_t *suffix; 
     1224        /** The tag suffix length. */ 
     1225        size_t suffix_length; 
     1226    } tag_data; 
     1227 
     1228    /** Scalar analysis. */ 
     1229    struct { 
     1230        /** The scalar value. */ 
     1231        yaml_char_t *value; 
     1232        /** The scalar length. */ 
     1233        size_t length; 
     1234        /** Does the scalar contain line breaks? */ 
     1235        int multiline; 
     1236        /** Can the scalar be expessed in the flow plain style? */ 
     1237        int flow_plain_allowed; 
     1238        /** Can the scalar be expressed in the block plain style? */ 
     1239        int block_plain_allowed; 
     1240        /** Can the scalar be expressed in the single quoted style? */ 
     1241        int single_quoted_allowed; 
     1242        /** Can the scalar be expressed in the literal or folded styles? */ 
     1243        int block_allowed; 
     1244        /** The output style. */ 
     1245        yaml_scalar_style_t style; 
     1246    } scalar_data; 
     1247 
    12061248    /** 
    12071249     * @} 
Note: See TracChangeset for help on using the changeset viewer.