Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for inode (0.05 sec)

  1. src/cmd/compile/internal/syntax/nodes.go

    	//    ('[' for IndexExpr, 'if' for IfStmt, etc.)
    	Pos() Pos
    	SetPos(Pos)
    	aNode()
    }
    
    type node struct {
    	// commented out for now since not yet used
    	// doc  *Comment // nil means no comment(s) attached
    	pos Pos
    }
    
    func (n *node) Pos() Pos       { return n.pos }
    func (n *node) SetPos(pos Pos) { n.pos = pos }
    func (*node) aNode()           {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. src/go/format/format.go

    			// We should never get here. If we do, provide good diagnostic.
    			return fmt.Errorf("format.Node internal error (%s)", err)
    		}
    		ast.SortImports(fset, file)
    
    		// Use new file with sorted imports.
    		node = file
    		if cnode != nil {
    			node = &printer.CommentedNode{Node: file, Comments: cnode.Comments}
    		}
    	}
    
    	return config.Fprint(dst, fset, node)
    }
    
    // Source formats src in canonical gofmt style and returns the result
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top