Discover Packages
github.com/yyle88/syntaxgo
internal
demos
demo1x
command
Version:
v0.0.54
Opens a new window with list of versions in this module.
Published: Oct 27, 2025
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Demo1x shows basic AST parsing and manipulation
Parse Go source file into AST and extract package info
Print AST structure for inspection and debugging
Demo1x 展示基础的 AST 解析和操作
将 Go 源文件解析为 AST 并提取包信息
打印 AST 结构用于检查和调试
Source Files
¶
Click to show internal directories.
Click to hide internal directories.