Documentation ¶
Index ¶
- type CallGraphWalker
- func (w *CallGraphWalker) ExprAssign(n *ast.ExprAssign)
- func (w *CallGraphWalker) ExprFunctionCall(n *ast.ExprFunctionCall)
- func (w *CallGraphWalker) ExprMethodCall(n *ast.ExprMethodCall)
- func (w *CallGraphWalker) GetTargetMethods(targetName string) []data.PHPClassMethod
- func (w *CallGraphWalker) StmtClassMethod(n *ast.StmtClassMethod)
- type ClassInfoWalker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallGraphWalker ¶
type CallGraphWalker struct { visitor.Null VariableStatus map[string]bool CallOut []data.PHPClassMethod }
func NewCallGraphWalker ¶
func NewCallGraphWalker() *CallGraphWalker
func (*CallGraphWalker) ExprAssign ¶
func (w *CallGraphWalker) ExprAssign(n *ast.ExprAssign)
func (*CallGraphWalker) ExprFunctionCall ¶
func (w *CallGraphWalker) ExprFunctionCall(n *ast.ExprFunctionCall)
func (*CallGraphWalker) ExprMethodCall ¶
func (w *CallGraphWalker) ExprMethodCall(n *ast.ExprMethodCall)
处理 $this->aaa->bbb(ccc)
func (*CallGraphWalker) GetTargetMethods ¶
func (w *CallGraphWalker) GetTargetMethods(targetName string) []data.PHPClassMethod
func (*CallGraphWalker) StmtClassMethod ¶
func (w *CallGraphWalker) StmtClassMethod(n *ast.StmtClassMethod)
type ClassInfoWalker ¶
func NewClassInfoWalker ¶
func NewClassInfoWalker() *ClassInfoWalker
func (*ClassInfoWalker) StmtClass ¶
func (w *ClassInfoWalker) StmtClass(n *ast.StmtClass)
Click to show internal directories.
Click to hide internal directories.