1
0
mirror of https://github.com/golang/go synced 2024-11-20 02:54:39 -07:00

go/ast: remove unused receiver names (cleanup)

R=iant, iant
CC=golang-dev
https://golang.org/cl/5393047
This commit is contained in:
Robert Griesemer 2011-11-16 13:41:26 -08:00
parent 293059ad85
commit d0b9a84ab3

View File

@ -412,29 +412,29 @@ func (x *ChanType) End() token.Pos { return x.Value.End() }
// exprNode() ensures that only expression/type nodes can be // exprNode() ensures that only expression/type nodes can be
// assigned to an ExprNode. // assigned to an ExprNode.
// //
func (x *BadExpr) exprNode() {} func (*BadExpr) exprNode() {}
func (x *Ident) exprNode() {} func (*Ident) exprNode() {}
func (x *Ellipsis) exprNode() {} func (*Ellipsis) exprNode() {}
func (x *BasicLit) exprNode() {} func (*BasicLit) exprNode() {}
func (x *FuncLit) exprNode() {} func (*FuncLit) exprNode() {}
func (x *CompositeLit) exprNode() {} func (*CompositeLit) exprNode() {}
func (x *ParenExpr) exprNode() {} func (*ParenExpr) exprNode() {}
func (x *SelectorExpr) exprNode() {} func (*SelectorExpr) exprNode() {}
func (x *IndexExpr) exprNode() {} func (*IndexExpr) exprNode() {}
func (x *SliceExpr) exprNode() {} func (*SliceExpr) exprNode() {}
func (x *TypeAssertExpr) exprNode() {} func (*TypeAssertExpr) exprNode() {}
func (x *CallExpr) exprNode() {} func (*CallExpr) exprNode() {}
func (x *StarExpr) exprNode() {} func (*StarExpr) exprNode() {}
func (x *UnaryExpr) exprNode() {} func (*UnaryExpr) exprNode() {}
func (x *BinaryExpr) exprNode() {} func (*BinaryExpr) exprNode() {}
func (x *KeyValueExpr) exprNode() {} func (*KeyValueExpr) exprNode() {}
func (x *ArrayType) exprNode() {} func (*ArrayType) exprNode() {}
func (x *StructType) exprNode() {} func (*StructType) exprNode() {}
func (x *FuncType) exprNode() {} func (*FuncType) exprNode() {}
func (x *InterfaceType) exprNode() {} func (*InterfaceType) exprNode() {}
func (x *MapType) exprNode() {} func (*MapType) exprNode() {}
func (x *ChanType) exprNode() {} func (*ChanType) exprNode() {}
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Convenience functions for Idents // Convenience functions for Idents
@ -711,27 +711,27 @@ func (s *RangeStmt) End() token.Pos { return s.Body.End() }
// stmtNode() ensures that only statement nodes can be // stmtNode() ensures that only statement nodes can be
// assigned to a StmtNode. // assigned to a StmtNode.
// //
func (s *BadStmt) stmtNode() {} func (*BadStmt) stmtNode() {}
func (s *DeclStmt) stmtNode() {} func (*DeclStmt) stmtNode() {}
func (s *EmptyStmt) stmtNode() {} func (*EmptyStmt) stmtNode() {}
func (s *LabeledStmt) stmtNode() {} func (*LabeledStmt) stmtNode() {}
func (s *ExprStmt) stmtNode() {} func (*ExprStmt) stmtNode() {}
func (s *SendStmt) stmtNode() {} func (*SendStmt) stmtNode() {}
func (s *IncDecStmt) stmtNode() {} func (*IncDecStmt) stmtNode() {}
func (s *AssignStmt) stmtNode() {} func (*AssignStmt) stmtNode() {}
func (s *GoStmt) stmtNode() {} func (*GoStmt) stmtNode() {}
func (s *DeferStmt) stmtNode() {} func (*DeferStmt) stmtNode() {}
func (s *ReturnStmt) stmtNode() {} func (*ReturnStmt) stmtNode() {}
func (s *BranchStmt) stmtNode() {} func (*BranchStmt) stmtNode() {}
func (s *BlockStmt) stmtNode() {} func (*BlockStmt) stmtNode() {}
func (s *IfStmt) stmtNode() {} func (*IfStmt) stmtNode() {}
func (s *CaseClause) stmtNode() {} func (*CaseClause) stmtNode() {}
func (s *SwitchStmt) stmtNode() {} func (*SwitchStmt) stmtNode() {}
func (s *TypeSwitchStmt) stmtNode() {} func (*TypeSwitchStmt) stmtNode() {}
func (s *CommClause) stmtNode() {} func (*CommClause) stmtNode() {}
func (s *SelectStmt) stmtNode() {} func (*SelectStmt) stmtNode() {}
func (s *ForStmt) stmtNode() {} func (*ForStmt) stmtNode() {}
func (s *RangeStmt) stmtNode() {} func (*RangeStmt) stmtNode() {}
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Declarations // Declarations
@ -807,9 +807,9 @@ func (s *TypeSpec) End() token.Pos { return s.Type.End() }
// specNode() ensures that only spec nodes can be // specNode() ensures that only spec nodes can be
// assigned to a Spec. // assigned to a Spec.
// //
func (s *ImportSpec) specNode() {} func (*ImportSpec) specNode() {}
func (s *ValueSpec) specNode() {} func (*ValueSpec) specNode() {}
func (s *TypeSpec) specNode() {} func (*TypeSpec) specNode() {}
// A declaration is represented by one of the following declaration nodes. // A declaration is represented by one of the following declaration nodes.
// //
@ -875,9 +875,9 @@ func (d *FuncDecl) End() token.Pos {
// declNode() ensures that only declaration nodes can be // declNode() ensures that only declaration nodes can be
// assigned to a DeclNode. // assigned to a DeclNode.
// //
func (d *BadDecl) declNode() {} func (*BadDecl) declNode() {}
func (d *GenDecl) declNode() {} func (*GenDecl) declNode() {}
func (d *FuncDecl) declNode() {} func (*FuncDecl) declNode() {}
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Files and packages // Files and packages