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

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