summaryrefslogtreecommitdiff
path: root/src/go/token
Commit message (Expand)AuthorAgeFilesLines
* go/token: use atomics not Mutex for last file cacheAlan Donovan2022-06-292-16/+20
* go/token: delete unused File.set fieldAlan Donovan2022-06-173-9/+1
* all: gofmt main repoRuss Cox2022-04-111-1/+0
* all: remove trailing blank doc comment linesRuss Cox2022-04-012-33/+0
* go/token: allocate fewer times at init timeDaniel Martí2022-03-101-1/+1
* go/token: slight performance improvement for IsIdentifierchanxuehong2022-03-021-1/+4
* all: gofmt -w -r 'interface{} -> any' srcRuss Cox2021-12-132-4/+4
* go/token: match the implementation of index selection with sort.Searchsubham sarkar2021-08-241-1/+1
* [dev.typeparams] go/token, go/scanner: add the "~" operatorRob Findley2021-06-171-1/+10
* go/token: correct the interval notation used in some panic messagesRob Findley2021-05-171-2/+2
* all: faster midpoint computation in binary searchyangwenmai2021-02-232-1/+25
* token: more descriptive panicsJean de Klerk2020-10-141-9/+12
* go/token: explain file base offset better in documentationRobert Griesemer2020-06-171-2/+21
* go/token: add IsIdentifier, IsKeyword, and IsExportedDaniel Martí2019-04-152-1/+66
* go/token: add (*File).LineStart, which returns Pos for a given lineAlan Donovan2018-09-102-1/+31
* go/token: add example for retrieving Position from Posjimmyfrasche2018-03-131-0/+77
* go/scanner: recognize //line and /*line directives incl. columnsRobert Griesemer2018-03-091-17/+43
* go/token: use fine-grained locking in FileSetAlan Donovan2017-06-142-19/+35
* go/token: remove excess parenthesis in NoPos.IsValid() documentationIbrahim AshShohail2017-05-091-1/+1
* Revert "go/scanner, go/token: recognize => (ALIAS) token"Robert Griesemer2016-11-051-7/+1
* go/scanner, go/token: recognize => (ALIAS) tokenRobert Griesemer2016-10-041-1/+7
* go/token: Fix race in FileSet.PositionFor.Jan Mercl2016-08-162-1/+32
* go/token: document postcondition of SetLinesAlan Donovan2016-05-051-0/+1
* all: use "reports whether" in place of "returns true if(f)"Josh Bleecher Snyder2015-03-181-3/+3
* go/token: document that column positions and file offsets are in bytesRobert Griesemer2015-02-231-3/+3
* build: move package sources from src/pkg to srcRuss Cox2014-09-085-0/+1257