Kode
Nama jenis: Code
Memperluas CreativeWork
Nama |
Jenis |
Deskripsi |
codeRepository |
URL |
Link ke repositori tempat kode yang tidak dapat dibaca manusia dan kode terkait berada (SVN, github, CodePlex). |
Bahasa pemrograman |
Thing |
Bahasa pemrograman komputer. |
runtime |
Teks |
Dependensi platform runtime atau dependensi skrip (Contoh - Java v1, Python2.3, .Net Framework 3.0). |
JenisContoh |
Teks |
Solusi lengkap (kompilasi siap), cuplikan kode, kode inline, skrip, template. |
targetProduk |
SoftwareSoftware |
Target Sistem Operasi / Produk yang menerapkan kode. Jika berlaku untuk beberapa versi, hanya nama produk yang dapat digunakan. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-09-04 UTC.
[null,null,["Terakhir diperbarui pada 2024-09-04 UTC."],[[["`Code` markup is used to represent code snippets or complete software solutions and extends the `CreativeWork` type."],["It includes properties to specify the code repository, programming language, runtime dependencies, sample type, and the target product."],["Developers can use `Code` markup to provide information like code location, language, dependencies and the intended operating system/product."]]],["The `Code` type, extending `CreativeWork`, defines properties for describing code. Key properties include `codeRepository`, a URL linking to the code repository; `programmingLanguage`, specifying the language used; `runtime`, detailing dependencies; `sampleType`, indicating the code's format; and `targetProduct`, identifying the applicable software or OS. This structure allows for detailed categorization and description of code-related content.\n"]]