MethodParseErrors.printr.js

Array
(
    [type] => file
    [namespace] => 
    [class] => Array
        (
            [0] => Array
                (
                    [type] => class
                    [name] => Sample
                    [extends] => cats
                    [declaration] => class Sample extends cats
                    [methods] => Array
                        (
                            [0] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => cats
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function cats()
                                )

                            [1] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [type] => arg
                                                    [name] => arg
                                                    [declaration] => $arg
                                                )

                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => dogs
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function dogs($arg)
                                )

                            [2] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [type] => arg
                                                    [name] => arg
                                                    [value] => 1
                                                    [declaration] => $arg=1
                                                )

                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => dogs2
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function dogs2($arg=1)
                                )

                            [3] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [type] => arg
                                                    [name] => arg
                                                    [value] => 'yes'
                                                    [declaration] => $arg='yes'
                                                )

                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => dogs_3
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function dogs_3($arg='yes')
                                )

                            [4] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [docblock] => Array
                                        (
                                            [type] => docblock
                                            [description] => bears are so cute
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => bears
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function bears()
                                )

                            [5] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [docblock] => Array
                                        (
                                            [type] => docblock
                                            [description] => bears are so cute
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => bears_are_best
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function bears_are_best()
                                )

                            [6] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => bears_do_stuff
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function bears_do_stuff()
                                )

                            [7] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => bears_cuddle_stuff
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function bears_cuddle_stuff()
                                )

                            [8] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => bears_nest
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function bears_nest()
                                )

                            [9] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [type] => arg
                                                    [name] => srcCode
                                                    [declaration] => $srcCode
                                                )

                                        )

                                    [docblock] => Array
                                        (
                                            [type] => docblock
                                            [description] => Replaces inline PHP code with placeholder, indexes the placeholder, and returns the modified code

                                            [attribute] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [type] => attribute
                                                            [name] => param
                                                            [description] => mixed $srcCode - The source code
                                                        )

                                                    [1] => Array
                                                        (
                                                            [type] => attribute
                                                            [name] => return
                                                            [description] => string - source code with all PHP replaced by codeIds
                                                        )

                                                )

                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => cleanSource
                                    [return_types] => Array
                                        (
                                            [0] => string
                                        )

                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function cleanSource($srcCode): string
                                )

                            [10] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => makes_it_11
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function makes_it_11()
                                )

                            [11] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => output
                                    [return_types] => Array
                                        (
                                            [0] => string
                                        )

                                    [body] => Tlf\Lexer\StringAst Object
                                        (
                                            [_path:protected] => 
                                            [_name:protected] => 
                                            [_ext:protected] => 
                                            [_source] => 
                                            [_tree:protected] => Array
                                                (
                                                    [type] => array
                                                )

                                            [_type] => array
                                            [passthrough:protected] => Array
                                                (
                                                )

                                        )

                                    [declaration] => public function output(): string
                                )

                            [12] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => ok_13
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function ok_13()
                                )

                            [13] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [type] => arg
                                                    [arg_types] => Array
                                                        (
                                                            [0] => string
                                                        )

                                                    [name] => file
                                                    [declaration] => string $file
                                                )

                                            [1] => Array
                                                (
                                                    [type] => arg
                                                    [name] => chmodTo
                                                    [value] => null
                                                    [declaration] => $chmodTo=null
                                                )

                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => writeTo
                                    [return_types] => Array
                                        (
                                            [0] => bool
                                        )

                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function writeTo(string $file, $chmodTo=null): bool
                                )

                            [14] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => yep_15
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function yep_15()
                                )

                            [15] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [type] => arg
                                                    [name] => html
                                                    [declaration] => $html
                                                )

                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => __construct
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function __construct($html)
                                )

                            [16] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => okay_17
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function okay_17()
                                )

                            [17] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [type] => arg
                                                    [name] => withPHP
                                                    [value] => true
                                                    [declaration] => $withPHP=true
                                                )

                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => output2
                                    [body] => Tlf\Lexer\StringAst Object
                                        (
                                            [_path:protected] => 
                                            [_name:protected] => 
                                            [_ext:protected] => 
                                            [_source] => 
                                            [_tree:protected] => Array
                                                (
                                                    [type] => array
                                                )

                                            [_type] => array
                                            [passthrough:protected] => Array
                                                (
                                                )

                                        )

                                    [declaration] => public function output2($withPHP=true)
                                )

                            [18] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => now_19
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function now_19()
                                )

                            [19] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [type] => arg
                                                    [name] => html
                                                    [declaration] => $html
                                                )

                                            [1] => Array
                                                (
                                                    [type] => arg
                                                    [name] => withPHP
                                                    [value] => true
                                                    [declaration] => $withPHP=true
                                                )

                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => fill_php
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function fill_php($html, $withPHP=true)
                                )

                            [20] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => ugh_21
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function ugh_21()
                                )

                            [21] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [type] => arg
                                                    [arg_types] => Array
                                                        (
                                                            [0] => string
                                                        )

                                                    [name] => tableName
                                                    [declaration] => string $tableName
                                                )

                                            [1] => Array
                                                (
                                                    [type] => arg
                                                    [arg_types] => Array
                                                        (
                                                            [0] => array
                                                        )

                                                    [name] => colDefinitions
                                                    [declaration] => array $colDefinitions
                                                )

                                            [2] => Array
                                                (
                                                    [type] => arg
                                                    [arg_types] => Array
                                                        (
                                                            [0] => bool
                                                        )

                                                    [name] => recreateIfExists
                                                    [value] => false
                                                    [declaration] => bool $recreateIfExists=false
                                                )

                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => create
                                    [body] => Tlf\Lexer\StringAst Object
                                        (
                                            [_path:protected] => 
                                            [_name:protected] => 
                                            [_ext:protected] => 
                                            [_source] => 
                                            [_tree:protected] => Array
                                                (
                                                    [type] => array
                                                )

                                            [_type] => array
                                            [passthrough:protected] => Array
                                                (
                                                )

                                        )

                                    [declaration] => public function create(string $tableName, array $colDefinitions, bool $recreateIfExists=false)
                                )

                            [22] => Array
                                (
                                    [type] => method
                                    [args] => Array
                                        (
                                        )

                                    [modifiers] => Array
                                        (
                                            [0] => public
                                        )

                                    [name] => its_23
                                    [body] => Array
                                        (
                                        )

                                    [declaration] => public function its_23()
                                )

                        )

                )

        )

)