Shellbox
Library and server for containerized shell execution
Loading...
Searching...
No Matches
Shellbox\ShellParser\SyntaxTree Class Reference

A wrapper for the shell syntax tree, providing a higher-level API. More...

Public Member Functions

 __construct ( $root)
 
 getRoot ()
 Get the root node.
 
 getInfo ()
 Extract information about the syntax tree.
 

Detailed Description

A wrapper for the shell syntax tree, providing a higher-level API.

Member Function Documentation

◆ getInfo()

Shellbox\ShellParser\SyntaxTree::getInfo ( )

Extract information about the syntax tree.

Returns
SyntaxInfo

◆ getRoot()

Shellbox\ShellParser\SyntaxTree::getRoot ( )

Get the root node.

Returns
Node

The documentation for this class was generated from the following file: