Skip to main content

install_traversal_iface

Function install_traversal_iface 

Source
pub(crate) fn install_traversal_iface(
    name: &'static str,
    methods: &[(&'static str, NativeFn)],
) -> Value
Expand description

TreeWalker・NodeIterator のコンストラクタと原型を作る(new はできない)。メソッドは原型に置く。