Help us shape the future of Go! Take the 2026 Go Developer Survey

ast

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "Print php script AST"

Name is the command title.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(_ *config.Config, _ *flags.Options) *cli.Command

NewCommand creates a new ast command.

The configuration and the global options are what every command constructor takes, so one signature covers all of them. This command reads neither.

func Run

func Run(args []string) error

Run tokenizes a PHP file and prints its PHP-style token stream.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL