8#ifdef ADOBE_STD_SERIALIZATION
12#ifndef ADOBE_IOMANIP_JAVASCRIPT_HPP
13#define ADOBE_IOMANIP_JAVASCRIPT_HPP
28class javascript_format :
public format_base {
29 typedef format_base inherited_t;
32 typedef inherited_t::stream_type stream_type;
34 virtual void begin_format(stream_type& os);
36 virtual void begin_bag(stream_type& os,
const std::string& ident);
38 virtual void begin_sequence(stream_type& os);
40 virtual void begin_atom(stream_type& os,
const serializable_t&);
43 virtual void stack_event(stream_type& os,
bool is_push);
45 void handle_atom(stream_type& os,
bool is_push);
51std::ostream& begin_javascript(std::ostream& os);
54std::ostream& end_javascript(std::ostream& os);