- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleCommentMap (0.11 sec)
-
src/go/ast/example_test.go
// int // print // x // y } // This example illustrates how to remove a variable declaration // in a Go program while maintaining correct comment association // using an ast.CommentMap. func ExampleCommentMap() { // src is the input for which we create the AST that we // are going to manipulate. src := ` // This is the package comment. package main // This comment is associated with the hello constant.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:44:50 UTC 2024 - 6.1K bytes - Viewed (0)