mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-28 08:48:48 +02:00
Подсказка по типам в конструкторе описания типов
This commit is contained in:
parent
6446a2c110
commit
0b958a3b04
@ -717,7 +717,13 @@ class bslHelper {
|
|||||||
requireType() {
|
requireType() {
|
||||||
|
|
||||||
let exp = this.getFuncName();
|
let exp = this.getFuncName();
|
||||||
return (exp == 'type' || exp == 'тип');
|
|
||||||
|
if (exp == 'typedescription' || exp == 'описаниетипов') {
|
||||||
|
let array = this.getExpressioArray();
|
||||||
|
return (array.length && array[array.length - 1].indexOf(',') == -1)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
return (exp == 'type' || exp == 'тип');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user