//
// Specification on equity markets
//
//
// The format conforms to the syntax expressed by the
// extendedBNF script "tinyDSL_scanning.cwp" and is
// parsed thanks to "tinyDSL_parsing.cwp".
//
// Used by "tinyDSL_leader.cws".
//
class Volatility {
constant : double;
}
class Equity {
name : string;
spot : double;
RIC : string;
volatility : aggregate Volatility;
}
class Stock : Equity {
ISIN : string;
}
class Index : Equity {
composition : Stock[];
}
class Market {
equities : aggregate Equity[];
}
Generated by CodeWorker v2.15 from tinyDSL2HTML.cwp.