Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewCommentMap (0.18 sec)

  1. lib/fips140/v1.0.0.zip

    flag.String("input", "", "") outputFile := flag.String("output", "", "") flag.Parse() fset := token.NewFileSet() f, err := parser.ParseFile(fset, *inputFile, nil, parser.SkipObjectResolution|parser.ParseComments) if err != nil { log.Fatal(err) } cmap := ast.NewCommentMap(fset, f, f.Comments) // Drop header comments. cmap[ast.Node(f)] = nil // Remove top-level consts used across the main and generated files. var newDecls []ast.Decl for _, decl := range f.Decls { switch d := decl.(type) { case *ast.GenDecl: if d.Tok...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  2. api/go1.1.txt

    pkg go/ast, const Fun = 5
    pkg go/ast, const Lbl = 6
    pkg go/ast, const Pkg = 1
    pkg go/ast, const RECV = 2
    pkg go/ast, const SEND = 1
    pkg go/ast, const Typ = 3
    pkg go/ast, const Var = 4
    pkg go/ast, func NewCommentMap(*token.FileSet, Node, []*CommentGroup) CommentMap
    pkg go/ast, method (CommentMap) Comments() []*CommentGroup
    pkg go/ast, method (CommentMap) Filter(Node) CommentMap
    pkg go/ast, method (CommentMap) String() string
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top