bayrell / BayLang

BayLang compiler source code
https://bayrell.org/ru/docs/baylang
Apache License 2.0
4 stars 0 forks source link

Функция создания op_code по значению переменной #165

Open ildar-ceo opened 2 months ago

ildar-ceo commented 2 months ago

Пример

Collection value = [
    {
        "name": "test 1",
        "label": "Test 1",
    },
    {
        "name": "test 2",
        "label": "Test 2",
    },
    {
        "name": "test 3",
        "label": "Test 3",
    }
];

OpCode op_code = Builder::generate(value);