diff options
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 437 |
1 files changed, 437 insertions, 0 deletions
diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..3379c68 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,437 @@ +Extension [ <persistent> extension #91 php_trie version 0.1.0 ] { + + - Dependencies { + Dependency [ json (Required) ] + } + + - Functions { + Function [ <internal:php_trie, ctor> function __construct ] { + } + Function [ <internal:php_trie> static function fromArray ] { + + - Parameters [1] { + Parameter #0 [ <required> array $array ] + } + } + Function [ <internal:php_trie> function insert ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $entry ] + } + } + Function [ <internal:php_trie> function keyExists ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:php_trie> function search ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:php_trie> function erase ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:php_trie> function size ] { + } + Function [ <internal:php_trie> function offsetSet ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $entry ] + } + } + Function [ <internal:php_trie> function offsetGet ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:php_trie> function offsetExists ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:php_trie> function offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:php_trie> function toArray ] { + } + Function [ <internal:php_trie> function jsonSerialize ] { + } + Function [ <internal:php_trie> function prefixSearch ] { + + - Parameters [1] { + Parameter #0 [ <required> $prefix ] + } + } + Function [ <internal:php_trie> function map ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $func ] + } + } + Function [ <internal:php_trie> function filter ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $func ] + } + } + Function [ <internal:php_trie> function merge ] { + + - Parameters [1] { + Parameter #0 [ <optional> object ...$tries ] + } + - Return [ array ] + } + } + + - Classes [3] { + Class [ <internal:php_trie> class Trie implements ArrayAccess, JsonSerializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:php_trie> static public method fromArray ] { + + - Parameters [1] { + Parameter #0 [ <required> array $array ] + } + } + } + + - Properties [0] { + } + + - Methods [16] { + Method [ <internal:php_trie, ctor> public method __construct ] { + } + + Method [ <internal:php_trie> public method insert ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $entry ] + } + } + + Method [ <internal:php_trie> public method keyExists ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie> public method search ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie> public method erase ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie> public method size ] { + } + + Method [ <internal:php_trie, prototype ArrayAccess> public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $entry ] + } + } + + Method [ <internal:php_trie, prototype ArrayAccess> public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie, prototype ArrayAccess> public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie, prototype ArrayAccess> public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie> public method toArray ] { + } + + Method [ <internal:php_trie, prototype JsonSerializable> public method jsonSerialize ] { + } + + Method [ <internal:php_trie> public method prefixSearch ] { + + - Parameters [1] { + Parameter #0 [ <required> $prefix ] + } + } + + Method [ <internal:php_trie> public method map ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $func ] + } + } + + Method [ <internal:php_trie> public method filter ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $func ] + } + } + + Method [ <internal:php_trie> public method merge ] { + + - Parameters [1] { + Parameter #0 [ <optional> object ...$tries ] + } + - Return [ array ] + } + } + } + + Class [ <internal:php_trie> class HatTrie implements ArrayAccess, JsonSerializable ] { + + - Constants [4] { + Constant [ public bool SHRINK ] { 1 } + Constant [ public bool NO_SHRINK ] { } + Constant [ public float DEFAULT_LOAD_FACTOR ] { 8 } + Constant [ public int DEFAULT_BURST_THRESHOLD ] { 16384 } + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ <internal:php_trie> static public method fromArray ] { + + - Parameters [4] { + Parameter #0 [ <required> array $array ] + Parameter #1 [ <required> $burstThreshold ] + Parameter #2 [ <required> $loadFactor ] + Parameter #3 [ <required> $shrink ] + } + } + } + + - Properties [0] { + } + + - Methods [19] { + Method [ <internal:php_trie, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <required> $burstThreshold ] + Parameter #1 [ <required> $loadFactor ] + Parameter #2 [ <required> $shrink ] + } + } + + Method [ <internal:php_trie> public method fold ] { + + - Parameters [2] { + Parameter #0 [ <required> callable $func ] + Parameter #1 [ <required> $accumulator ] + } + } + + Method [ <internal:php_trie> public method size ] { + } + + Method [ <internal:php_trie> public method filter ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $func ] + } + } + + Method [ <internal:php_trie> public method insert ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $entry ] + } + } + + Method [ <internal:php_trie> public method keyExists ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie> public method search ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie> public method erase ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie> public method prefixSearch ] { + + - Parameters [1] { + Parameter #0 [ <required> $prefix ] + } + } + + Method [ <internal:php_trie> public method prefixErase ] { + + - Parameters [1] { + Parameter #0 [ <required> $prefix ] + } + } + + Method [ <internal:php_trie> public method longestPrefix ] { + + - Parameters [1] { + Parameter #0 [ <required> $prefix ] + } + } + + Method [ <internal:php_trie> public method map ] { + + - Parameters [1] { + Parameter #0 [ <required> callable $func ] + } + } + + Method [ <internal:php_trie, prototype ArrayAccess> public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $entry ] + } + } + + Method [ <internal:php_trie, prototype ArrayAccess> public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie, prototype ArrayAccess> public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie, prototype ArrayAccess> public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:php_trie> public method toArray ] { + } + + Method [ <internal:php_trie, prototype JsonSerializable> public method jsonSerialize ] { + } + + Method [ <internal:php_trie> public method merge ] { + + - Parameters [1] { + Parameter #0 [ <optional> object ...$tries ] + } + - Return [ array ] + } + } + } + + Class [ <internal:php_trie> class TrieException extends RuntimeException implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + } + } + } + } +} + |