aas-core-codegen 0.0.16__py3-none-any.whl → 0.0.17__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- aas_core_codegen/__init__.py,sha256=qFrSlWVqB8x6P4kZVakj7zIpxPwvkTmCF_bBkobXcbA,227
1
+ aas_core_codegen/__init__.py,sha256=IA_tSqN39b6ql7f7Ex4UJpLZ7tVzor-Czia0GnIVICw,227
2
2
  aas_core_codegen/__main__.py,sha256=4uNIpl2DOe4vlXUeqzOokQJ6izr84AIHtNKrmxhK3dE,297
3
3
  aas_core_codegen/common.py,sha256=kCLtNW39PUt_zY6pPd-BMxAAGXY9F3UUBR150xwsupk,15541
4
4
  aas_core_codegen/main.py,sha256=Q-TDcVl04BXu0AbVfBot2CBiXjEPZ_vsUDOWgeNHIFs,7650
@@ -27,9 +27,9 @@ aas_core_codegen/cpp/iteration/_generate.py,sha256=MoXSn0o_POWv9TOjLdHI6mMvLu2lM
27
27
  aas_core_codegen/cpp/jsonization/__init__.py,sha256=_nC3KC_SOj_TybUdWzDDRJ_SHbwMcQ153R29waX0wAE,237
28
28
  aas_core_codegen/cpp/jsonization/_generate.py,sha256=oWUoJdqtY-P7Nh6ltyNM81v2h77fR4SC_xUrZWKRItI,71432
29
29
  aas_core_codegen/cpp/pattern/__init__.py,sha256=YEBCv3ZhtX2wM_DsSJ-4AmzK5GETh9L1dwceZsnt-kg,241
30
- aas_core_codegen/cpp/pattern/_generate.py,sha256=TLAOs08nJkvCXlNgFohZzVECZ6D6ycEeq9IsjAttvSo,15593
30
+ aas_core_codegen/cpp/pattern/_generate.py,sha256=K0ZsiebFkVMIiVDBCR_Sdal-uB1S_4G4mcnz62lsjZA,15658
31
31
  aas_core_codegen/cpp/revm/__init__.py,sha256=J1bAAg-cdWcRhyyK0sCPFQ93o9qZrJZtX67lJWGNn0Q,233
32
- aas_core_codegen/cpp/revm/_generate.py,sha256=bN-GH1hGYY5kcu-UOsEcTOrptf42OOTBrXure4IF92g,29196
32
+ aas_core_codegen/cpp/revm/_generate.py,sha256=TJWwHPgih4GO6gLY4YdLGuvKAM8zNtl7Dj2PRuMWeZs,29202
33
33
  aas_core_codegen/cpp/stringification/__init__.py,sha256=v0n7jL4s17U2izwLsdBKyZOBC_ShrZuiT2kMy4HIm6k,233
34
34
  aas_core_codegen/cpp/stringification/_generate.py,sha256=UdpvYY8eRgA6Mhx6sqFcbQQw48fNByHHio6Rx9HvV6o,24810
35
35
  aas_core_codegen/cpp/structure/__init__.py,sha256=HIMz3nokGDJesstsS7Nnmhco3qNJoCAhw2xLrZO_XpQ,260
@@ -103,11 +103,11 @@ aas_core_codegen/infer_for_schema/_set.py,sha256=F2ldfUgjdrsicBtI5hDDSJ3hvelBTqm
103
103
  aas_core_codegen/infer_for_schema/_stringify.py,sha256=1IQUYb331-Wg3k0mxXk9a57WF6GKIZ1XEmv83Mozbw0,6481
104
104
  aas_core_codegen/infer_for_schema/_types.py,sha256=9-50Yn1nhvvFD-7FC8ptc34ANvtRJpql9nDEtDDQUF8,4142
105
105
  aas_core_codegen/infer_for_schema/match.py,sha256=fbV6VefFNZcngHFZoAHoXGOxclMI-4N9lmR42N28rI4,3762
106
- aas_core_codegen/intermediate/__init__.py,sha256=YbIXr5_s97QsBYFQAxZiD8oF1GAZMybNeRzlMUaa0bg,3288
106
+ aas_core_codegen/intermediate/__init__.py,sha256=PDJEIlIPKJXKxNbKf_1wCoQR9OSPMSHgUV-RFlwEg3Y,3426
107
107
  aas_core_codegen/intermediate/_hierarchy.py,sha256=eNTHeJ1utc0zmN263TEaMVh6qsc7IdR-LW_03X55Wk8,12825
108
- aas_core_codegen/intermediate/_stringify.py,sha256=MHcTyAL1GeEIw6d19CKAMYsrZhuEP_uPEPcWai6HCAo,33412
108
+ aas_core_codegen/intermediate/_stringify.py,sha256=ZMRUywQEKgrwkDqsqYQr4eL10VX71cxnD0ISyzJ0r7s,33850
109
109
  aas_core_codegen/intermediate/_translate.py,sha256=SOcLdvOC765bNhbeJdI9YxZzuKKpgfIH7Ap0KAPCEJ0,184487
110
- aas_core_codegen/intermediate/_types.py,sha256=YjtMUb-aVFgAoBAkotMRzHG8QFKFgcBSUmReXt56jic,90645
110
+ aas_core_codegen/intermediate/_types.py,sha256=pg156rdpgHx_a4tcR_K1McG7JMUqd5dx4Xh60e5UeEc,102163
111
111
  aas_core_codegen/intermediate/construction.py,sha256=vOMIOYQE5OzguTIKjSPVSVAftUKsGMThdbAIXzX4Gi0,23538
112
112
  aas_core_codegen/intermediate/doc.py,sha256=9BbtoMXVZn1UjSmAilDIfPHNg9Y-QruaubpKX3piH6Q,12263
113
113
  aas_core_codegen/intermediate/pattern_verification.py,sha256=yriVB_757RImvm5A_P8E-bbx21ZScEldX6cWfnFBgPg,14042
@@ -189,7 +189,7 @@ aas_core_codegen/python/structure/_generate.py,sha256=efXDAPu7Hnu7M3Pxkoh-Rwx7Nr
189
189
  aas_core_codegen/python/verification/__init__.py,sha256=mtTscJQu5y9qdyVipCOEQ6mJYeWGhDVQi1UkDvNeG_M,191
190
190
  aas_core_codegen/python/verification/_generate.py,sha256=cvoTG2-LUfechtqEsAWNt1MBT9zvt77-rgvuP0yGyh8,46263
191
191
  aas_core_codegen/python/xmlization/__init__.py,sha256=DhgYcvdAvybW_BTpOZ1Wx3DnM2nZXsVuO6HmxTlUOeg,168
192
- aas_core_codegen/python/xmlization/_generate.py,sha256=34viYDtnIbHXve4pMFF7tcrSONiySB4FNvibIhA2sVA,89223
192
+ aas_core_codegen/python/xmlization/_generate.py,sha256=7TApFy2sTo7-w_1ATpcF7U-QFR_3G2fxW8zcdFSksCc,89257
193
193
  aas_core_codegen/python_protobuf/__init__.py,sha256=pHVnScI5sBW5NvBHRdeLtakOcQx2DHIZgVUOuKU9MRg,69
194
194
  aas_core_codegen/python_protobuf/main.py,sha256=6UrFbCGiSNTJr4Id1EtKoSn-gtcGqkwVWreCT3q33LE,43550
195
195
  aas_core_codegen/python_protobuf/naming.py,sha256=xjXYlpXhW3zZKMheSsoPItPi17migVfPCN42Opxv4aQ,2394
@@ -227,8 +227,8 @@ aas_core_codegen/xsd/naming.py,sha256=79tbf5UgmErN4sMSTtFwhiwweCuSO-BzmQ0HaQdwKz
227
227
  aas_core_codegen/yielding/__init__.py,sha256=Z4kasROPDU47z3sUMcLXTV8q1rrjfojScsi9Vu3Fxe4,84
228
228
  aas_core_codegen/yielding/flow.py,sha256=dSmH_UpXX0lcfej0IikaNTCAaS1Dnu28UkaIshvucL8,4049
229
229
  aas_core_codegen/yielding/linear.py,sha256=tSuEqIWFw3LW4ziDz_RYe8MWi_FVoEWVxjUMjK4fhZs,22858
230
- aas_core_codegen-0.0.16.dist-info/licenses/AUTHORS,sha256=MMMlPKxHrTmheRhXKt2fz5tRE0DOpXMm5Luk2D-IRtM,748
231
- aas_core_codegen-0.0.16.dist-info/licenses/LICENSE,sha256=WAZY-cEny3dLK_zSgdc6kH2fm7bZz5i3OEWZCcv9cTk,1167
230
+ aas_core_codegen-0.0.17.dist-info/licenses/AUTHORS,sha256=MMMlPKxHrTmheRhXKt2fz5tRE0DOpXMm5Luk2D-IRtM,748
231
+ aas_core_codegen-0.0.17.dist-info/licenses/LICENSE,sha256=WAZY-cEny3dLK_zSgdc6kH2fm7bZz5i3OEWZCcv9cTk,1167
232
232
  dev/continuous_integration/__init__.py,sha256=J4SCNyZ0SPSIvRkO-dDZRCg5n_fGc3J9zO9y_P6dVII,54
233
233
  dev/continuous_integration/check_help_in_readme.py,sha256=C2ymVvs_ZWrz53WKISMwSordKSKA_QneortyV0vi-PE,6132
234
234
  dev/continuous_integration/check_init_and_pyproject_consistent.py,sha256=pNI-637J9K0JbYccY0qQDSi6ysvHSfXKhi4oIaLTQJw,4723
@@ -239,7 +239,7 @@ dev/dev_scripts/copy_to_aas_core3_cpp.py,sha256=AUBHu6iLs6XhzMKmgLbBcyT4GLehg_Aa
239
239
  dev/dev_scripts/copy_to_aas_core3_java.py,sha256=-hO2H991SuojrcHLeGVSehMAMhOD5rtbQ1v4iZw2xiE,2398
240
240
  dev/dev_scripts/download_latest_aas_core_meta_v3.py,sha256=nqUzlZUCqD8mekRJGSydtu-0U2UwVT8EWhfFFvK-DMA,3093
241
241
  dev/dev_scripts/draw_bipartite_graph_based_on_lines.py,sha256=2rrtNRO7v0PxD8R1bwRJNAmhwiU7AJhr-zwQyl7kmi4,1112
242
- dev/dev_scripts/run_tests_with_rerecord.py,sha256=EeUtRdYXKnO6Ik7gGO_whn8GUx3u_KVPEzqTQ9COlJA,2311
242
+ dev/dev_scripts/run_tests_with_rerecord.py,sha256=XJ0siJxjyVEzDVrmckEabEbUTUdoRaS_t_VOc__eH0U,2458
243
243
  dev/dev_scripts/update_to_aas_core_meta.py,sha256=qBBfljXsm_YVcDTwLh8nG40IVicIktzmXtz0GX2cTPk,4903
244
244
  dev/integration_tests/main.py,sha256=hfqlQtT5ParBzR8diuCs9Y4kCz7RehKzhs1_ksO7e6U,8304
245
245
  dev/integration_tests/input/meta_model.py,sha256=E-dy89WdU6Hxsa4zOB_4mc2ACHnfb2jWmQVlsDTS6Co,817
@@ -283,6 +283,7 @@ dev/test_data/intermediate/expected/constant/constant_set/with_description/meta_
283
283
  dev/test_data/intermediate/expected/constant/constant_set/with_superset_of/meta_model.py,sha256=_qn-cmcULlHkRELIHUuhAAyPPGCAaTAmfvvyOaqT8fI,322
284
284
  dev/test_data/intermediate/expected/constant/constant_str/only_value/meta_model.py,sha256=BVXLVTfQS556QC89Wgxjrwohy4B_TGjyvQ5yRro9Ayw,121
285
285
  dev/test_data/intermediate/expected/constant/constant_str/with_description/meta_model.py,sha256=O1LU_vCmgg-9q5NOwcASa8XMphhmfb7sUIjHosK47rQ,150
286
+ dev/test_data/intermediate/expected/constrained_primitive/inheritance/meta_model.py,sha256=xJ1a9vAZZwR9tgTxr-x3iYLsxZ-6FKS4jbuTVUUWQkQ,347
286
287
  dev/test_data/intermediate/expected/documentation/docstring_with_special_characters_in_literal/meta_model.py,sha256=AbEl1ieGRFClWQM7qcNS3QJthfm_DFM4A2YsR8FrjCo,626
287
288
  dev/test_data/intermediate/expected/documentation/docstring_with_special_characters_outside_literal/meta_model.py,sha256=YEr5kYn4F6voa4ZsBH4OU_HxqO1OUxedNPwkH_AIz5Q,622
288
289
  dev/test_data/intermediate/expected/empty/meta_model.py,sha256=ivZcgQPhDkqzxPurTKQkU5HjLmEPUPeTUKnSoVOwnTc,62
@@ -536,7 +537,7 @@ dev/tests/test_common.py,sha256=VK5oTFx7Sp8fgty4ltQAMMrgy0shW5csmOlFzUbhwrE,3963
536
537
  dev/tests/cpp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
537
538
  dev/tests/cpp/test_common.py,sha256=pqoSQKdzSAN-RQrpjUNe-DE2yJW-DwRWqrOFRpcSig4,827
538
539
  dev/tests/cpp/test_main.py,sha256=8vDXC2PooVatGiiJTPzi_oNdfhN6vwDqtYyG5ZyewkI,5721
539
- dev/tests/cpp/test_pattern.py,sha256=GbLO8_z1SHF50kRGceei8qnWS5IQ5nRamyBVIgnkd_g,4881
540
+ dev/tests/cpp/test_pattern.py,sha256=zaeaW-zVF84s-cwh2adzpdl4kX5L2MHcJTHEQvc9fiY,4974
540
541
  dev/tests/cpp/test_verification.py,sha256=arN2N5Zh2-G0En7wj1PulJZ3xr1-d00Se_rL2nmym6o,5661
541
542
  dev/tests/cpp/test_yielding.py,sha256=ToxerJX6YWYkXbL20hSQcM8mLW2M4PqIZ5vhuBygruw,5833
542
543
  dev/tests/csharp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -560,10 +561,11 @@ dev/tests/infer_for_schema/test_property_in_set_of_primitives.py,sha256=mm3oWAtk
560
561
  dev/tests/intermediate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
561
562
  dev/tests/intermediate/test_constructor.py,sha256=m3_AqVt6X-r6zUINmSMjxNWBdqEZow2HG09-RGizlMA,22074
562
563
  dev/tests/intermediate/test_hierarchy.py,sha256=wdVEHWKAp9bJkj_ru7KtM8vzkuUN4SXfpOAo8ApmhMo,6951
564
+ dev/tests/intermediate/test_pickle.py,sha256=sxvuDt8c7utNMhqDn7V-WTehvzpgl3uhQgysm_SXygc,62963
563
565
  dev/tests/intermediate/test_revm.py,sha256=4IvrQJtKpshrgrKy8i5AV7aYXqtbrbrAqxWZZQPaki4,5152
564
566
  dev/tests/intermediate/test_translate.py,sha256=1mjpTu_7PdiF3QgxWianrg8Gl-bfX5AL-YixjiG59bk,12597
565
567
  dev/tests/intermediate/test_type_inference.py,sha256=QjAwqR06R3T_BNIbbGmGzHtx5ByFNHERz67by4avBJk,11063
566
- dev/tests/intermediate/test_types.py,sha256=CZeD-fg3hOcWY5MO3zNWcS7gylbzL5aXhIeuTCtc5TE,4607
568
+ dev/tests/intermediate/test_types.py,sha256=92L3o4pG-jwGUNbQZz8EySJc8-c_KKghrMYMny196yc,19648
567
569
  dev/tests/java/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
568
570
  dev/tests/java/test_common.py,sha256=KkN4UcFNcYYH5jGv31euxuhh2zNZ4yk9v_xQdTlp2NI,506
569
571
  dev/tests/java/test_description.py,sha256=EghPTniak2cVJOGXLqz0CrtG0h0yKlw8hl0QRQZ8JRo,3655
@@ -597,8 +599,8 @@ dev/tests/xsd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
597
599
  dev/tests/xsd/test_main.py,sha256=ekhnafOrTlP3sS5Zk3PAV5_QwvGbMxaF76EKEEB0gZc,8599
598
600
  dev/tests/yielding/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
599
601
  dev/tests/yielding/test_linear.py,sha256=gjfrVm29_NyUqR9MJ5p4vNT_qEW5LCzI5UZdsic_mEg,16682
600
- aas_core_codegen-0.0.16.dist-info/METADATA,sha256=LWN_zzSkJRjiTG9wck9o5hX6tjkqtgZWvUzllHfXGqU,7263
601
- aas_core_codegen-0.0.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
602
- aas_core_codegen-0.0.16.dist-info/entry_points.txt,sha256=LxR4fYEJgMolkJKtt6jprMzraJzTwoT7l72xuWuYiLY,136
603
- aas_core_codegen-0.0.16.dist-info/top_level.txt,sha256=mcn2FIS04g-O2WLn8kyLkaJHpB8mqv92D2UsB-3BIsc,21
604
- aas_core_codegen-0.0.16.dist-info/RECORD,,
602
+ aas_core_codegen-0.0.17.dist-info/METADATA,sha256=HjE9CF2XjZ--5wXDYazdc5OUdyh9fkeTooyV9-v2BP0,7263
603
+ aas_core_codegen-0.0.17.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
604
+ aas_core_codegen-0.0.17.dist-info/entry_points.txt,sha256=LxR4fYEJgMolkJKtt6jprMzraJzTwoT7l72xuWuYiLY,136
605
+ aas_core_codegen-0.0.17.dist-info/top_level.txt,sha256=mcn2FIS04g-O2WLn8kyLkaJHpB8mqv92D2UsB-3BIsc,21
606
+ aas_core_codegen-0.0.17.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -11,6 +11,8 @@ import shlex
11
11
  def main() -> int:
12
12
  """Execute the main routine."""
13
13
  available_tests = [
14
+ "tests.cpp.test_main.Test_against_recorded",
15
+ "tests.cpp.test_verification.Test_against_recorded",
14
16
  "tests.csharp.test_main.Test_against_recorded",
15
17
  "tests.csharp.test_verification.Test_against_recorded",
16
18
  "tests.csharp.test_structure.Test_generation_against_recorded",
@@ -44,6 +46,8 @@ def main() -> int:
44
46
 
45
47
  repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent.parent
46
48
 
49
+ dev_root = repo_root / "dev"
50
+
47
51
  env = os.environ.copy()
48
52
  env["AAS_CORE_CODEGEN_RERECORD"] = "1"
49
53
 
@@ -56,7 +60,7 @@ def main() -> int:
56
60
  cmd = [sys.executable, "-m", "unittest", "-v", qualified_test_name]
57
61
 
58
62
  print(f"Executing {qualified_test_name}...")
59
- exit_code = subprocess.call(cmd, cwd=str(repo_root), env=env)
63
+ exit_code = subprocess.call(cmd, cwd=str(dev_root), env=env)
60
64
  if exit_code != 0:
61
65
  cmd_str = " ".join(shlex.quote(part) for part in cmd)
62
66
  print(f"Failed to execute the test: {cmd_str}")
@@ -0,0 +1,17 @@
1
+ @invariant(lambda self: len(self) > 0, "Non-empty")
2
+ class Something(str):
3
+ pass
4
+
5
+
6
+ @invariant(lambda self: len(self) <= 9, "At most 9 characters")
7
+ class Child(Something):
8
+ pass
9
+
10
+
11
+ @invariant(lambda self: len(self) <= 5, "At most 5 characters")
12
+ class Grand_child(Child):
13
+ pass
14
+
15
+
16
+ __version__ = "dummy"
17
+ __xml_namespace__ = "https://dummy.com"
@@ -23,43 +23,43 @@ std::vector<std::unique_ptr<revm::Instruction> > program;
23
23
  { // -?[0-9]+
24
24
  { // -?
25
25
  program.emplace_back(
26
- std::make_unique<revm::InstructionSplit>(1, 2)
26
+ common::make_unique<revm::InstructionSplit>(1, 2)
27
27
  );
28
28
  // -
29
29
  program.emplace_back( // 1
30
- std::make_unique<revm::InstructionChar>(L'-')
30
+ common::make_unique<revm::InstructionChar>(L'-')
31
31
  );
32
32
  } // -?
33
33
  { // [0-9]+
34
34
  // [0-9]
35
35
  program.emplace_back( // 2
36
- std::make_unique<revm::InstructionSet>(
36
+ common::make_unique<revm::InstructionSet>(
37
37
  std::vector<revm::Range>{
38
38
  revm::Range(L'0', L'9')
39
39
  }
40
40
  )
41
41
  );
42
42
  program.emplace_back(
43
- std::make_unique<revm::InstructionSplit>(2, 4)
43
+ common::make_unique<revm::InstructionSplit>(2, 4)
44
44
  );
45
45
  } // [0-9]+
46
46
  } // -?[0-9]+
47
47
  // -
48
48
  program.emplace_back( // 4
49
- std::make_unique<revm::InstructionChar>(L'-')
49
+ common::make_unique<revm::InstructionChar>(L'-')
50
50
  );
51
51
  { // 0[1-9]|1[0-2]
52
52
  program.emplace_back(
53
- std::make_unique<revm::InstructionSplit>(6, 9)
53
+ common::make_unique<revm::InstructionSplit>(6, 9)
54
54
  );
55
55
  { // 0[1-9]
56
56
  // 0
57
57
  program.emplace_back( // 6
58
- std::make_unique<revm::InstructionChar>(L'0')
58
+ common::make_unique<revm::InstructionChar>(L'0')
59
59
  );
60
60
  // [1-9]
61
61
  program.emplace_back(
62
- std::make_unique<revm::InstructionSet>(
62
+ common::make_unique<revm::InstructionSet>(
63
63
  std::vector<revm::Range>{
64
64
  revm::Range(L'1', L'9')
65
65
  }
@@ -67,16 +67,16 @@ std::vector<std::unique_ptr<revm::Instruction> > program;
67
67
  );
68
68
  } // 0[1-9]
69
69
  program.emplace_back(
70
- std::make_unique<revm::InstructionJump>(11)
70
+ common::make_unique<revm::InstructionJump>(11)
71
71
  );
72
72
  { // 1[0-2]
73
73
  // 1
74
74
  program.emplace_back( // 9
75
- std::make_unique<revm::InstructionChar>(L'1')
75
+ common::make_unique<revm::InstructionChar>(L'1')
76
76
  );
77
77
  // [0-2]
78
78
  program.emplace_back(
79
- std::make_unique<revm::InstructionSet>(
79
+ common::make_unique<revm::InstructionSet>(
80
80
  std::vector<revm::Range>{
81
81
  revm::Range(L'0', L'2')
82
82
  }
@@ -86,20 +86,20 @@ std::vector<std::unique_ptr<revm::Instruction> > program;
86
86
  } // 0[1-9]|1[0-2]
87
87
  // -
88
88
  program.emplace_back( // 11
89
- std::make_unique<revm::InstructionChar>(L'-')
89
+ common::make_unique<revm::InstructionChar>(L'-')
90
90
  );
91
91
  { // 0[0-9]|1[0-9]|2[0-9]|30|31
92
92
  program.emplace_back(
93
- std::make_unique<revm::InstructionSplit>(13, 16)
93
+ common::make_unique<revm::InstructionSplit>(13, 16)
94
94
  );
95
95
  { // 0[0-9]
96
96
  // 0
97
97
  program.emplace_back( // 13
98
- std::make_unique<revm::InstructionChar>(L'0')
98
+ common::make_unique<revm::InstructionChar>(L'0')
99
99
  );
100
100
  // [0-9]
101
101
  program.emplace_back(
102
- std::make_unique<revm::InstructionSet>(
102
+ common::make_unique<revm::InstructionSet>(
103
103
  std::vector<revm::Range>{
104
104
  revm::Range(L'0', L'9')
105
105
  }
@@ -107,19 +107,19 @@ std::vector<std::unique_ptr<revm::Instruction> > program;
107
107
  );
108
108
  } // 0[0-9]
109
109
  program.emplace_back(
110
- std::make_unique<revm::InstructionJump>(30)
110
+ common::make_unique<revm::InstructionJump>(30)
111
111
  );
112
112
  program.emplace_back( // 16
113
- std::make_unique<revm::InstructionSplit>(17, 20)
113
+ common::make_unique<revm::InstructionSplit>(17, 20)
114
114
  );
115
115
  { // 1[0-9]
116
116
  // 1
117
117
  program.emplace_back( // 17
118
- std::make_unique<revm::InstructionChar>(L'1')
118
+ common::make_unique<revm::InstructionChar>(L'1')
119
119
  );
120
120
  // [0-9]
121
121
  program.emplace_back(
122
- std::make_unique<revm::InstructionSet>(
122
+ common::make_unique<revm::InstructionSet>(
123
123
  std::vector<revm::Range>{
124
124
  revm::Range(L'0', L'9')
125
125
  }
@@ -127,19 +127,19 @@ std::vector<std::unique_ptr<revm::Instruction> > program;
127
127
  );
128
128
  } // 1[0-9]
129
129
  program.emplace_back(
130
- std::make_unique<revm::InstructionJump>(30)
130
+ common::make_unique<revm::InstructionJump>(30)
131
131
  );
132
132
  program.emplace_back( // 20
133
- std::make_unique<revm::InstructionSplit>(21, 24)
133
+ common::make_unique<revm::InstructionSplit>(21, 24)
134
134
  );
135
135
  { // 2[0-9]
136
136
  // 2
137
137
  program.emplace_back( // 21
138
- std::make_unique<revm::InstructionChar>(L'2')
138
+ common::make_unique<revm::InstructionChar>(L'2')
139
139
  );
140
140
  // [0-9]
141
141
  program.emplace_back(
142
- std::make_unique<revm::InstructionSet>(
142
+ common::make_unique<revm::InstructionSet>(
143
143
  std::vector<revm::Range>{
144
144
  revm::Range(L'0', L'9')
145
145
  }
@@ -147,37 +147,37 @@ std::vector<std::unique_ptr<revm::Instruction> > program;
147
147
  );
148
148
  } // 2[0-9]
149
149
  program.emplace_back(
150
- std::make_unique<revm::InstructionJump>(30)
150
+ common::make_unique<revm::InstructionJump>(30)
151
151
  );
152
152
  program.emplace_back( // 24
153
- std::make_unique<revm::InstructionSplit>(25, 28)
153
+ common::make_unique<revm::InstructionSplit>(25, 28)
154
154
  );
155
155
  { // 30
156
156
  // 3
157
157
  program.emplace_back( // 25
158
- std::make_unique<revm::InstructionChar>(L'3')
158
+ common::make_unique<revm::InstructionChar>(L'3')
159
159
  );
160
160
  // 0
161
161
  program.emplace_back(
162
- std::make_unique<revm::InstructionChar>(L'0')
162
+ common::make_unique<revm::InstructionChar>(L'0')
163
163
  );
164
164
  } // 30
165
165
  program.emplace_back(
166
- std::make_unique<revm::InstructionJump>(30)
166
+ common::make_unique<revm::InstructionJump>(30)
167
167
  );
168
168
  { // 31
169
169
  // 3
170
170
  program.emplace_back( // 28
171
- std::make_unique<revm::InstructionChar>(L'3')
171
+ common::make_unique<revm::InstructionChar>(L'3')
172
172
  );
173
173
  // 1
174
174
  program.emplace_back(
175
- std::make_unique<revm::InstructionChar>(L'1')
175
+ common::make_unique<revm::InstructionChar>(L'1')
176
176
  );
177
177
  } // 31
178
178
  } // 0[0-9]|1[0-9]|2[0-9]|30|31
179
179
  program.emplace_back( // 30
180
- std::make_unique<revm::InstructionMatch>()
180
+ common::make_unique<revm::InstructionMatch>()
181
181
  );
182
182
  } // ^(-?[0-9]+)-(0[1-9]|1[0-2])-(0[0-9]|1[0-9]|2[0-9]|30|31).*$""",
183
183
  code,