github.com/hashicorp/hcl/v2@v2.20.0/hclsyntax/generate.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  package hclsyntax
     5  
     6  //go:generate go run expression_vars_gen.go
     7  //go:generate ruby unicode2ragel.rb --url=http://www.unicode.org/Public/9.0.0/ucd/DerivedCoreProperties.txt -m UnicodeDerived -p ID_Start,ID_Continue -o unicode_derived.rl
     8  //go:generate ragel -Z scan_tokens.rl
     9  //go:generate gofmt -w scan_tokens.go
    10  //go:generate ragel -Z scan_string_lit.rl
    11  //go:generate gofmt -w scan_string_lit.go
    12  //go:generate go run golang.org/x/tools/cmd/stringer -type TokenType -output token_type_string.go