[refactoring] update ast structure of "array" and "list" nodes
This commit is contained in:
@@ -812,18 +812,6 @@ func (v *Dump) ExprShellExec(n *ast.ExprShellExec) {
|
||||
v.printNode(n.GetNode())
|
||||
}
|
||||
|
||||
func (v *Dump) ExprShortArray(n *ast.ExprShortArray) {
|
||||
v.printIndentIfNotSingle(v.indent - 1)
|
||||
v.print("&ast.ExprShortArray{\n")
|
||||
v.printNode(n.GetNode())
|
||||
}
|
||||
|
||||
func (v *Dump) ExprShortList(n *ast.ExprShortList) {
|
||||
v.printIndentIfNotSingle(v.indent - 1)
|
||||
v.print("&ast.ExprShortList{\n")
|
||||
v.printNode(n.GetNode())
|
||||
}
|
||||
|
||||
func (v *Dump) ExprStaticCall(n *ast.ExprStaticCall) {
|
||||
v.printIndentIfNotSingle(v.indent - 1)
|
||||
v.print("&ast.ExprStaticCall{\n")
|
||||
|
||||
@@ -394,14 +394,6 @@ func (v *Null) ExprShellExec(_ *ast.ExprShellExec) {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
func (v *Null) ExprShortArray(_ *ast.ExprShortArray) {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
func (v *Null) ExprShortList(_ *ast.ExprShortList) {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
func (v *Null) ExprStaticCall(_ *ast.ExprStaticCall) {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user