Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
reload_autocaps.hpp File Reference
#include <pulp/view/reload_capabilities.hpp>
#include <algorithm>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  pulp
namespace  pulp::view
 Hover-cursor tracking for platform window hosts.
namespace  pulp::view::detail

Functions

const std::vector< std::pair< std::string_view, ReloadCapability > > & pulp::view::autocaps_function_table ()
 Effectful bridge function name → the capability that gates it.
bool pulp::view::detail::is_js_ident_char (char c)
bool pulp::view::detail::contains_call_token (std::string_view src, std::string_view name)
 Whole-token match: name occurs bounded by non-identifier chars (so exec matches pulp.exec( but not execute or myExec).
CapabilitySet pulp::view::infer_capabilities_from_js (std::string_view js_source)
 Scan js_source and return the granted set it needs.
std::vector< std::string > pulp::view::infer_capability_names_from_js (std::string_view js_source)
 The capability NAMES a scripted UI needs, sorted + de-duplicated — ready to drop into a manifest's declared_capabilities.