Documentation
¶
Index ¶
- Variables
- func CreateBuilder() ssa.Builder
- func Frontend(src string, builders ...*SSABuild) (phpparser.IHtmlDocumentContext, error)
- type SSABuild
- func (s *SSABuild) BuildFromAST(raw ssa.FrontAST, b *ssa.FunctionBuilder) error
- func (*SSABuild) FilterFile(path string) bool
- func (s *SSABuild) FilterParseAST(path string) bool
- func (*SSABuild) FilterPreHandlerFile(path string) bool
- func (*SSABuild) GetLanguage() consts.Language
- func (s *SSABuild) ParseAST(src string) (ssa.FrontAST, error)
- func (s *SSABuild) PreHandlerFile(ast ssa.FrontAST, editor *memedit.MemEditor, builder *ssa.FunctionBuilder)
- func (s *SSABuild) PreHandlerProject(fileSystem fi.FileSystem, ast ssa.FrontAST, builder *ssa.FunctionBuilder, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Builder ssa.Builder = &SSABuild{}
Functions ¶
func CreateBuilder ¶
Types ¶
type SSABuild ¶ added in v1.3.3
type SSABuild struct {
*ssa.PreHandlerBase
}
func (*SSABuild) BuildFromAST ¶
func (*SSABuild) FilterFile ¶ added in v1.3.3
FilterFile 这里可能还会有问题 比如配置文件
func (*SSABuild) FilterParseAST ¶
func (*SSABuild) FilterPreHandlerFile ¶
func (*SSABuild) GetLanguage ¶
func (*SSABuild) PreHandlerFile ¶
func (*SSABuild) PreHandlerProject ¶
func (s *SSABuild) PreHandlerProject(fileSystem fi.FileSystem, ast ssa.FrontAST, builder *ssa.FunctionBuilder, editor *memedit.MemEditor) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.