Photon 1.0.0
|
This file is also about defining core js concepts. More...
Namespaces | |
namespace | Detail |
namespace | HTTP |
namespace | Network |
Classes | |
class | BasePhotonWindow |
class | BrowserError |
struct | ECMAInstruction |
struct | ECMAObject |
class | ECMAVirtualMachine |
JavaScriptEngine class program. More... | |
class | IAddon |
class | IDOMObject |
class | IScriptObject |
class | IURLLoader |
class | RenderSystemButtonDOM |
class | RenderSystemDOM |
class | RenderSystemImageDOM |
class | RenderSystemTextDOM |
class | URL |
class | URLError |
class | WindowHelper |
Typedefs | |
typedef double | Double |
typedef float | Real |
typedef std::int32_t | Int32 |
typedef std::uint32_t | UInt32 |
typedef std::int64_t | Int64 |
typedef std::uint64_t | UInt64 |
typedef bool | Bool |
using | Thread = std::thread |
using | String = std::string |
template<typename CharType > | |
using | BasicString = std::basic_string< CharType > |
using | PChar = wchar_t |
using | PString = BasicString< PChar > |
using | ECMAValue = std::variant< std::monostate, Real, std::string, bool, ECMAObject > |
using | ECMAFunction = std::function< bool(ECMAVirtualMachine &)> |
using | ECMAError = BrowserError |
typedef void(* | photon_asm_fn_t) (void *arg, size_t arg_cnt) |
Generic javascript function. | |
using | UUID = uuids::uuid |
Enumerations | |
enum class | SOCKET_FLAG : std::int64_t { NON_BLOCKING = FIONBIO , ASYNC = FIOASYNC } |
enum | ECMAOpcode { kECMAInvalid = 0 , kECMALoadConst = 100 , kECMAStoreVar , kECMALoadVar , kECMAAddExpr , kECMASubExpr , kECMACallNative , kECMASetProp } |
Functions | |
String | photon_replace_format (String fmt, String output, String with) |
Bool | is_html_document (String the_xml_blob) noexcept |
Check if xml is HTML. | |
String | get_html_document (String the_xml_blob) |
Get HTML document from xml blob. | |
int | photon_delete_chunk (char *fn, size_t size) |
photon_asm_fn_t | photon_allocate_chunk (char *data, size_t size) |
NSRect | PTMakeRect (NSInteger x, NSInteger y, NSInteger w, NSInteger h) |
Variables | |
constexpr size_t | PHOTON_MAX_BUF = 1000000000UL |
This file is also about defining core js concepts.
using Photon::BasicString = typedef std::basic_string<CharType> |
typedef bool Photon::Bool |
typedef double Photon::Double |
using Photon::ECMAError = typedef BrowserError |
using Photon::ECMAFunction = typedef std::function<bool(ECMAVirtualMachine&)> |
using Photon::ECMAValue = typedef std::variant<std::monostate, Real, std::string, bool, ECMAObject> |
typedef std::int32_t Photon::Int32 |
typedef std::int64_t Photon::Int64 |
using Photon::PChar = typedef wchar_t |
typedef void(* Photon::photon_asm_fn_t) (void *arg, size_t arg_cnt) |
Generic javascript function.
using Photon::PString = typedef BasicString<PChar> |
typedef float Photon::Real |
using Photon::String = typedef std::string |
using Photon::Thread = typedef std::thread |
typedef std::uint32_t Photon::UInt32 |
typedef std::uint64_t Photon::UInt64 |
|
private |
enum Photon::ECMAOpcode |
|
strong |
Get HTML document from xml blob.
@Brief Get the HTML document.
|
noexcept |
Check if xml is HTML.
|
inline |
|
inline |
|
inline |
|
constexpr |