ark::js::RbufTransformer

Defined in header “ark/js/rbuf_transformer.hh”.


This class represents a transformer for rbuf files, capable of translating rbuf imports into Javascript.

Methods

  • ~RbufTransformer()
    Virtual destructor.

  • std::string transform(const std::string & filename, const std::string & content)
    Called to process the given path. Returns Javascript-compatible code that can be loaded. Filename is an optional parameter that can be useful for error messages.