Mã
Tên loại: Code
Mở rộng VideoObject
Tên |
Loại |
Mô tả |
Kho lưu trữ mã |
URL |
Đường liên kết đến kho lưu trữ nơi lưu trữ mã chưa biên dịch mà người dùng có thể đọc được và mã liên quan (SVN, github, CodePlex). |
ngôn ngữ lập trình |
Thing |
Ngôn ngữ lập trình máy tính. |
thời gian chạy |
Văn bản |
Các phần phụ thuộc nền tảng thời gian chạy hoặc trình phiên dịch (Ví dụ - Java v1, Python2.3, .Net Framework 3.0). |
SampleType |
Văn bản |
Giải pháp đầy đủ (sẵn sàng biên dịch), đoạn mã, mã cùng dòng, tập lệnh, mẫu. |
mục tiêu sản phẩm |
Phần mềm ứng dụng |
Nhắm mục tiêu Hệ điều hành / Sản phẩm mà mã áp dụng. Nếu thuộc tính này áp dụng cho nhiều phiên bản, thì hệ thống chỉ có thể sử dụng tên sản phẩm. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-09-04 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]