github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/internal/obj/stringer.go (about)

     1  // Copyright 2015 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build ignore
     6  
     7  // This is a mini version of the stringer tool customized for the Anames table
     8  // in the architecture support for obj.
     9  // This version just generates the slice of strings, not the String method.
    10  
    11  package main
    12  
    13  import (
    14  	"github.com/shogo82148/std/regexp"
    15  )
    16  
    17  var Are = regexp.MustCompile(`^\tA([A-Za-z0-9]+)`)