Lines Matching refs:Span
11 Span() (start, end Position) methodSpec
57 start, _ := n.Span()
63 _, end := n.Span()
76 func (x *File) Span() (start, end Position) { func
80 start, _ = x.Stmts[0].Span()
81 _, end = x.Stmts[len(x.Stmts)-1].Span()
113 func (x *AssignStmt) Span() (start, end Position) { func
114 start, _ = x.LHS.Span()
115 _, end = x.RHS.Span()
130 func (x *DefStmt) Span() (start, end Position) { func
131 _, end = x.Body[len(x.Body)-1].Span()
141 func (x *ExprStmt) Span() (start, end Position) { func
142 return x.X.Span()
156 func (x *IfStmt) Span() (start, end Position) { func
161 _, end = body[len(body)-1].Span()
182 func (x *LoadStmt) Span() (start, end Position) { func
196 func (x *BranchStmt) Span() (start, end Position) { func
207 func (x *ReturnStmt) Span() (start, end Position) { func
211 _, end = x.Result.Span()
247 func (x *Ident) Span() (start, end Position) { func
260 func (x *Literal) Span() (start, end Position) { func
272 func (x *ParenExpr) Span() (start, end Position) { func
285 func (x *CallExpr) Span() (start, end Position) { func
286 start, _ = x.Fn.Span()
299 func (x *DotExpr) Span() (start, end Position) { func
300 start, _ = x.X.Span()
301 _, end = x.Name.Span()
316 func (x *Comprehension) Span() (start, end Position) { func
329 func (x *ForStmt) Span() (start, end Position) { func
330 _, end = x.Body[len(x.Body)-1].Span()
342 func (x *WhileStmt) Span() (start, end Position) { func
343 _, end = x.Body[len(x.Body)-1].Span()
356 func (x *ForClause) Span() (start, end Position) { func
357 _, end = x.X.Span()
368 func (x *IfClause) Span() (start, end Position) { func
369 _, end = x.Cond.Span()
381 func (x *DictExpr) Span() (start, end Position) { func
394 func (x *DictEntry) Span() (start, end Position) { func
395 start, _ = x.Key.Span()
396 _, end = x.Value.Span()
414 func (x *LambdaExpr) Span() (start, end Position) { func
415 _, end = x.Body.Span()
427 func (x *ListExpr) Span() (start, end Position) { func
441 func (x *CondExpr) Span() (start, end Position) { func
442 start, _ = x.True.Span()
443 _, end = x.False.Span()
455 func (x *TupleExpr) Span() (start, end Position) { func
474 func (x *UnaryExpr) Span() (start, end Position) { func
476 _, end = x.X.Span()
497 func (x *BinaryExpr) Span() (start, end Position) { func
498 start, _ = x.X.Span()
499 _, end = x.Y.Span()
512 func (x *SliceExpr) Span() (start, end Position) { func
513 start, _ = x.X.Span()
526 func (x *IndexExpr) Span() (start, end Position) { func
527 start, _ = x.X.Span()