Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > CodeGenerator > isInitialized
CodeGenerator.isInitialized özelliği
Başlatma yönteminin çağrılıp çağrılmadığını belirtir. Bu işareti oluşturduktan sonra false (yanlış) ve init (başlatma) değerine ayarlayan oluşturucular, oluşturucu başlatılmamışsa blockToCode'un uyarı vermesine neden olur. Bu işarete dokunulmazsa hiçbir etkisi olmaz.
İmza:
isInitialized: boolean | null;
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-25 UTC."],[],["The `isInitialized` property, found within the `CodeGenerator` class, indicates if the generator's `init` method has been executed. It's a boolean or null value. When set to `false` and then `true` during initialization, it triggers a warning during `blockToCode` if the generator is not initialized. Leaving the flag untouched has no effect. It ensures that a warning is triggered if the generator is not initialized before being used.\n"]]