pub struct DataEntry {Show 23 fields
pub level: u8,
pub name: Option<String>,
pub spelled: Option<String>,
pub picture: Option<String>,
pub usage: Option<Usage>,
pub value: Option<Literal>,
pub redefines: Option<String>,
pub occurs: Option<u32>,
pub occurs_min: Option<u32>,
pub depending_on: Option<Ref>,
pub sign: Option<SignClause>,
pub justified: bool,
pub sync: bool,
pub blank_when_zero: bool,
pub indexed_by: Vec<String>,
pub keys: Vec<(bool, Ref)>,
pub condition_values: Vec<(Literal, Option<Literal>)>,
pub false_value: Option<Literal>,
pub renames: Option<(Ref, Option<Ref>)>,
pub object_class: Option<String>,
pub external: bool,
pub global: bool,
pub pos: Pos,
}Fields§
§level: u8§name: Option<String>None for FILLER or an unnamed entry.
spelled: Option<String>The name as the source spells it, where that is not all capitals: JSON and XML GENERATE keep it.
picture: Option<String>§usage: Option<Usage>None when no USAGE is written; the item then inherits its group’s.
value: Option<Literal>§redefines: Option<String>§occurs: Option<u32>OCCURS: the number of occurrences, or the most of them for OCCURS DEPENDING ON.
occurs_min: Option<u32>OCCURS … DEPENDING ON: the fewest occurrences, 1 when no integer-1 TO is written (Language Reference SC27-8713-03, p. 204).
depending_on: Option<Ref>OCCURS … DEPENDING ON: the item that holds how many occurrences there are.
sign: Option<SignClause>§justified: bool§sync: bool§blank_when_zero: bool§indexed_by: Vec<String>OCCURS … INDEXED BY: the index names the table declares.
keys: Vec<(bool, Ref)>OCCURS … ASCENDING/DESCENDING KEY: each key and whether it ascends, for SEARCH ALL.
condition_values: Vec<(Literal, Option<Literal>)>Level 88: the values that make the condition true. Each value, or the low and high ends of a THRU range.
false_value: Option<Literal>Level 88 WHEN SET TO FALSE: the value SET … TO FALSE stores.
renames: Option<(Ref, Option<Ref>)>Level 66 RENAMES: the item renamed, or the first and last of a THRU range.
object_class: Option<String>USAGE OBJECT REFERENCE class-name: the class; None for a universal reference.
external: boolEXTERNAL, written on the entry or attained from its FD.
global: boolGLOBAL, written on the entry or attained from its FD.
pos: Pos