github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_17_regexp_syntax.go (about)

     1  // Code generated by 'yaegi extract regexp/syntax'. DO NOT EDIT.
     2  
     3  //go:build go1.17
     4  // +build go1.17
     5  
     6  package stdlib
     7  
     8  import (
     9  	"reflect"
    10  	"regexp/syntax"
    11  )
    12  
    13  func init() {
    14  	Symbols["regexp/syntax/syntax"] = map[string]reflect.Value{
    15  		// function, constant and variable definitions
    16  		"ClassNL":                  reflect.ValueOf(syntax.ClassNL),
    17  		"Compile":                  reflect.ValueOf(syntax.Compile),
    18  		"DotNL":                    reflect.ValueOf(syntax.DotNL),
    19  		"EmptyBeginLine":           reflect.ValueOf(syntax.EmptyBeginLine),
    20  		"EmptyBeginText":           reflect.ValueOf(syntax.EmptyBeginText),
    21  		"EmptyEndLine":             reflect.ValueOf(syntax.EmptyEndLine),
    22  		"EmptyEndText":             reflect.ValueOf(syntax.EmptyEndText),
    23  		"EmptyNoWordBoundary":      reflect.ValueOf(syntax.EmptyNoWordBoundary),
    24  		"EmptyOpContext":           reflect.ValueOf(syntax.EmptyOpContext),
    25  		"EmptyWordBoundary":        reflect.ValueOf(syntax.EmptyWordBoundary),
    26  		"ErrInternalError":         reflect.ValueOf(syntax.ErrInternalError),
    27  		"ErrInvalidCharClass":      reflect.ValueOf(syntax.ErrInvalidCharClass),
    28  		"ErrInvalidCharRange":      reflect.ValueOf(syntax.ErrInvalidCharRange),
    29  		"ErrInvalidEscape":         reflect.ValueOf(syntax.ErrInvalidEscape),
    30  		"ErrInvalidNamedCapture":   reflect.ValueOf(syntax.ErrInvalidNamedCapture),
    31  		"ErrInvalidPerlOp":         reflect.ValueOf(syntax.ErrInvalidPerlOp),
    32  		"ErrInvalidRepeatOp":       reflect.ValueOf(syntax.ErrInvalidRepeatOp),
    33  		"ErrInvalidRepeatSize":     reflect.ValueOf(syntax.ErrInvalidRepeatSize),
    34  		"ErrInvalidUTF8":           reflect.ValueOf(syntax.ErrInvalidUTF8),
    35  		"ErrMissingBracket":        reflect.ValueOf(syntax.ErrMissingBracket),
    36  		"ErrMissingParen":          reflect.ValueOf(syntax.ErrMissingParen),
    37  		"ErrMissingRepeatArgument": reflect.ValueOf(syntax.ErrMissingRepeatArgument),
    38  		"ErrTrailingBackslash":     reflect.ValueOf(syntax.ErrTrailingBackslash),
    39  		"ErrUnexpectedParen":       reflect.ValueOf(syntax.ErrUnexpectedParen),
    40  		"FoldCase":                 reflect.ValueOf(syntax.FoldCase),
    41  		"InstAlt":                  reflect.ValueOf(syntax.InstAlt),
    42  		"InstAltMatch":             reflect.ValueOf(syntax.InstAltMatch),
    43  		"InstCapture":              reflect.ValueOf(syntax.InstCapture),
    44  		"InstEmptyWidth":           reflect.ValueOf(syntax.InstEmptyWidth),
    45  		"InstFail":                 reflect.ValueOf(syntax.InstFail),
    46  		"InstMatch":                reflect.ValueOf(syntax.InstMatch),
    47  		"InstNop":                  reflect.ValueOf(syntax.InstNop),
    48  		"InstRune":                 reflect.ValueOf(syntax.InstRune),
    49  		"InstRune1":                reflect.ValueOf(syntax.InstRune1),
    50  		"InstRuneAny":              reflect.ValueOf(syntax.InstRuneAny),
    51  		"InstRuneAnyNotNL":         reflect.ValueOf(syntax.InstRuneAnyNotNL),
    52  		"IsWordChar":               reflect.ValueOf(syntax.IsWordChar),
    53  		"Literal":                  reflect.ValueOf(syntax.Literal),
    54  		"MatchNL":                  reflect.ValueOf(syntax.MatchNL),
    55  		"NonGreedy":                reflect.ValueOf(syntax.NonGreedy),
    56  		"OneLine":                  reflect.ValueOf(syntax.OneLine),
    57  		"OpAlternate":              reflect.ValueOf(syntax.OpAlternate),
    58  		"OpAnyChar":                reflect.ValueOf(syntax.OpAnyChar),
    59  		"OpAnyCharNotNL":           reflect.ValueOf(syntax.OpAnyCharNotNL),
    60  		"OpBeginLine":              reflect.ValueOf(syntax.OpBeginLine),
    61  		"OpBeginText":              reflect.ValueOf(syntax.OpBeginText),
    62  		"OpCapture":                reflect.ValueOf(syntax.OpCapture),
    63  		"OpCharClass":              reflect.ValueOf(syntax.OpCharClass),
    64  		"OpConcat":                 reflect.ValueOf(syntax.OpConcat),
    65  		"OpEmptyMatch":             reflect.ValueOf(syntax.OpEmptyMatch),
    66  		"OpEndLine":                reflect.ValueOf(syntax.OpEndLine),
    67  		"OpEndText":                reflect.ValueOf(syntax.OpEndText),
    68  		"OpLiteral":                reflect.ValueOf(syntax.OpLiteral),
    69  		"OpNoMatch":                reflect.ValueOf(syntax.OpNoMatch),
    70  		"OpNoWordBoundary":         reflect.ValueOf(syntax.OpNoWordBoundary),
    71  		"OpPlus":                   reflect.ValueOf(syntax.OpPlus),
    72  		"OpQuest":                  reflect.ValueOf(syntax.OpQuest),
    73  		"OpRepeat":                 reflect.ValueOf(syntax.OpRepeat),
    74  		"OpStar":                   reflect.ValueOf(syntax.OpStar),
    75  		"OpWordBoundary":           reflect.ValueOf(syntax.OpWordBoundary),
    76  		"POSIX":                    reflect.ValueOf(syntax.POSIX),
    77  		"Parse":                    reflect.ValueOf(syntax.Parse),
    78  		"Perl":                     reflect.ValueOf(syntax.Perl),
    79  		"PerlX":                    reflect.ValueOf(syntax.PerlX),
    80  		"Simple":                   reflect.ValueOf(syntax.Simple),
    81  		"UnicodeGroups":            reflect.ValueOf(syntax.UnicodeGroups),
    82  		"WasDollar":                reflect.ValueOf(syntax.WasDollar),
    83  
    84  		// type definitions
    85  		"EmptyOp":   reflect.ValueOf((*syntax.EmptyOp)(nil)),
    86  		"Error":     reflect.ValueOf((*syntax.Error)(nil)),
    87  		"ErrorCode": reflect.ValueOf((*syntax.ErrorCode)(nil)),
    88  		"Flags":     reflect.ValueOf((*syntax.Flags)(nil)),
    89  		"Inst":      reflect.ValueOf((*syntax.Inst)(nil)),
    90  		"InstOp":    reflect.ValueOf((*syntax.InstOp)(nil)),
    91  		"Op":        reflect.ValueOf((*syntax.Op)(nil)),
    92  		"Prog":      reflect.ValueOf((*syntax.Prog)(nil)),
    93  		"Regexp":    reflect.ValueOf((*syntax.Regexp)(nil)),
    94  	}
    95  }