VCLASSID implemented

This commit is contained in:
wrenge 2023-11-14 17:40:45 +03:00
parent 861c5d4608
commit acebcca92b
1 changed files with 16 additions and 7 deletions

View File

@ -1,5 +1,21 @@
<?php <?php
/**
* @global
*/
function macro_VCLASSID($proc, $class)
{
return '"$id" : ' . constant("$class::CLASS_ID");
}
/**
* @global
*/
function macro_VCLASS($proc, $class)
{
return '"__vclass" : ' . constant("$class::CLASS_ID");
}
/** /**
* @global * @global
*/ */
@ -198,13 +214,6 @@ function macro_PROP($jsm, $expr)
return \taskman\get($expr); return \taskman\get($expr);
} }
/**
* @global
*/
function macro_VCLASS($proc, $class)
{
return '"vclass__" : ' . constant("$class::CLASS_ID");
}
/** /**
* @global * @global