go/parser.parser.lit (field)

18 uses

	go/parser (current package)
		interface.go#L223: 	if p.tok == token.SEMICOLON && p.lit == "\n" {
		parser.go#L48: 	lit string      // token literal
		parser.go#L249: 			p.printTrace(s, p.lit)
		parser.go#L257: 	p.pos, p.tok, p.lit = p.scanner.Scan()
		parser.go#L265: 	if p.lit[1] == '*' {
		parser.go#L267: 		for i := 0; i < len(p.lit); i++ {
		parser.go#L268: 			if p.lit[i] == '\n' {
		parser.go#L274: 	comment = &ast.Comment{Slash: p.pos, Text: p.lit}
		parser.go#L379: 		case p.tok == token.SEMICOLON && p.lit == "\n":
		parser.go#L383: 			msg += ", found " + p.lit
		parser.go#L416: 	if p.tok != tok && p.tok == token.SEMICOLON && p.lit == "\n" {
		parser.go#L446: 		if p.tok == token.SEMICOLON && p.lit == "\n" {
		parser.go#L550: 		name = p.lit
		parser.go#L744: 		tag = &ast.BasicLit{ValuePos: p.pos, Kind: p.tok, Value: p.lit}
		parser.go#L1155: 		x := &ast.BasicLit{ValuePos: p.pos, Kind: p.tok, Value: p.lit}
		parser.go#L1869: 			semi.lit = p.lit
		parser.go#L2259: 		s = &ast.EmptyStmt{Semicolon: p.pos, Implicit: p.lit == "\n"}
		parser.go#L2308: 		path = p.lit