| 1 | // Code generated by 'yaegi extract regexp/syntax'. DO NOT EDIT. |
| 2 | |
| 3 | //go:build go1.22 |
| 4 | // +build go1.22 |
| 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 | "ErrLarge": reflect.ValueOf(syntax.ErrLarge), |
| 36 | "ErrMissingBracket": reflect.ValueOf(syntax.ErrMissingBracket), |
| 37 | "ErrMissingParen": reflect.ValueOf(syntax.ErrMissingParen), |
| 38 | "ErrMissingRepeatArgument": reflect.ValueOf(syntax.ErrMissingRepeatArgument), |
| 39 | "ErrNestingDepth": reflect.ValueOf(syntax.ErrNestingDepth), |
| 40 | "ErrTrailingBackslash": reflect.ValueOf(syntax.ErrTrailingBackslash), |
| 41 | "ErrUnexpectedParen": reflect.ValueOf(syntax.ErrUnexpectedParen), |
| 42 | "FoldCase": reflect.ValueOf(syntax.FoldCase), |
| 43 | "InstAlt": reflect.ValueOf(syntax.InstAlt), |
| 44 | "InstAltMatch": reflect.ValueOf(syntax.InstAltMatch), |
| 45 | "InstCapture": reflect.ValueOf(syntax.InstCapture), |
| 46 | "InstEmptyWidth": reflect.ValueOf(syntax.InstEmptyWidth), |
| 47 | "InstFail": reflect.ValueOf(syntax.InstFail), |
| 48 | "InstMatch": reflect.ValueOf(syntax.InstMatch), |
| 49 | "InstNop": reflect.ValueOf(syntax.InstNop), |
| 50 | "InstRune": reflect.ValueOf(syntax.InstRune), |
| 51 | "InstRune1": reflect.ValueOf(syntax.InstRune1), |
| 52 | "InstRuneAny": reflect.ValueOf(syntax.InstRuneAny), |
| 53 | "InstRuneAnyNotNL": reflect.ValueOf(syntax.InstRuneAnyNotNL), |
| 54 | "IsWordChar": reflect.ValueOf(syntax.IsWordChar), |
| 55 | "Literal": reflect.ValueOf(syntax.Literal), |
| 56 | "MatchNL": reflect.ValueOf(syntax.MatchNL), |
| 57 | "NonGreedy": reflect.ValueOf(syntax.NonGreedy), |
| 58 | "OneLine": reflect.ValueOf(syntax.OneLine), |
| 59 | "OpAlternate": reflect.ValueOf(syntax.OpAlternate), |
| 60 | "OpAnyChar": reflect.ValueOf(syntax.OpAnyChar), |
| 61 | "OpAnyCharNotNL": reflect.ValueOf(syntax.OpAnyCharNotNL), |
| 62 | "OpBeginLine": reflect.ValueOf(syntax.OpBeginLine), |
| 63 | "OpBeginText": reflect.ValueOf(syntax.OpBeginText), |
| 64 | "OpCapture": reflect.ValueOf(syntax.OpCapture), |
| 65 | "OpCharClass": reflect.ValueOf(syntax.OpCharClass), |
| 66 | "OpConcat": reflect.ValueOf(syntax.OpConcat), |
| 67 | "OpEmptyMatch": reflect.ValueOf(syntax.OpEmptyMatch), |
| 68 | "OpEndLine": reflect.ValueOf(syntax.OpEndLine), |
| 69 | "OpEndText": reflect.ValueOf(syntax.OpEndText), |
| 70 | "OpLiteral": reflect.ValueOf(syntax.OpLiteral), |
| 71 | "OpNoMatch": reflect.ValueOf(syntax.OpNoMatch), |
| 72 | "OpNoWordBoundary": reflect.ValueOf(syntax.OpNoWordBoundary), |
| 73 | "OpPlus": reflect.ValueOf(syntax.OpPlus), |
| 74 | "OpQuest": reflect.ValueOf(syntax.OpQuest), |
| 75 | "OpRepeat": reflect.ValueOf(syntax.OpRepeat), |
| 76 | "OpStar": reflect.ValueOf(syntax.OpStar), |
| 77 | "OpWordBoundary": reflect.ValueOf(syntax.OpWordBoundary), |
| 78 | "POSIX": reflect.ValueOf(syntax.POSIX), |
| 79 | "Parse": reflect.ValueOf(syntax.Parse), |
| 80 | "Perl": reflect.ValueOf(syntax.Perl), |
| 81 | "PerlX": reflect.ValueOf(syntax.PerlX), |
| 82 | "Simple": reflect.ValueOf(syntax.Simple), |
| 83 | "UnicodeGroups": reflect.ValueOf(syntax.UnicodeGroups), |
| 84 | "WasDollar": reflect.ValueOf(syntax.WasDollar), |
| 85 | |
| 86 | // type definitions |
| 87 | "EmptyOp": reflect.ValueOf((*syntax.EmptyOp)(nil)), |
| 88 | "Error": reflect.ValueOf((*syntax.Error)(nil)), |
| 89 | "ErrorCode": reflect.ValueOf((*syntax.ErrorCode)(nil)), |
| 90 | "Flags": reflect.ValueOf((*syntax.Flags)(nil)), |
| 91 | "Inst": reflect.ValueOf((*syntax.Inst)(nil)), |
| 92 | "InstOp": reflect.ValueOf((*syntax.InstOp)(nil)), |
| 93 | "Op": reflect.ValueOf((*syntax.Op)(nil)), |
| 94 | "Prog": reflect.ValueOf((*syntax.Prog)(nil)), |
| 95 | "Regexp": reflect.ValueOf((*syntax.Regexp)(nil)), |
| 96 | } |
| 97 | } |