Chuyển ngay đến nội dung chính
Bazel
About Bazel Getting started User guide Tài liệu tham khảo Extending Community Versioned docs
  • 8.5
  • 8.4
  • 8.3
  • 8.2
  • 8.1
  • 8.0
  • 7.7
  • 6.5
  • 5.4.1
  • Nightly
  • More…
/
  • English
  • Español – América Latina
  • Indonesia
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • हिंदी
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
GitHub Đăng nhập
  • Guides to maximize Bazel's power through advanced concepts and extensions
Concepts Writing rules Distributing rules Design docs APIs
Bazel
  • About Bazel
  • Getting started
  • User guide
  • Tài liệu tham khảo
  • Extending
    • Concepts
    • Writing rules
    • Distributing rules
    • Design docs
    • APIs
  • Community
  • Versioned docs
    • Xem thêm
  • GitHub
  • Build API
    • Overview
    • Functions & Constants
    • Modules
      • AnalysisTestResultInfo
      • apple_common
      • apple_toolchain
      • attr
      • bazel_module
      • bazel_module_tag
      • bazel_module_tags
      • cc_common
      • cmd_helper
      • config_common
      • coverage_common
      • java_common
      • platform_common
      • proto_common
      • TemplateDict
      • testing
    • Configuration Fragments
      • Overview
      • apple
      • coverage
      • cpp
      • go
      • j2objc
      • java
      • objc
      • platform
      • proto
      • py
      • swift
    • Providers
      • Overview
      • AppleDebugOutputs
      • AppleDynamicFramework
      • AppleExecutableBinary
      • BaselineProfileProvider
      • CcInfo
      • CcStarlarkApiProvider
      • CcToolchainConfigInfo
      • CcToolchainInfo
      • CompilationContext
      • ConstraintCollection
      • ConstraintSettingInfo
      • ConstraintValueInfo
      • DebugPackageInfo
      • DefaultInfo
      • ExecutionInfo
      • FeatureFlagInfo
      • file_provider
      • FilesToRunProvider
      • GeneratedExtensionRegistryProvider
      • IncompatiblePlatformProvider
      • InstrumentedFilesInfo
      • java_compilation_info
      • java_output_jars
      • JavaInfo
      • JavaPluginData
      • JavaPluginInfo
      • JavaRuntimeInfo
      • JavaToolchainInfo
      • ObjcProvider
      • OutputGroupInfo
      • PackageSpecificationInfo
      • PlatformInfo
      • ProguardSpecProvider
      • ProtoInfo
      • ProtoRegistryProvider
      • PyInfo
      • PyRuntimeInfo
      • RunEnvironmentInfo
      • TemplateVariableInfo
      • ToolchainInfo
      • ToolchainTypeInfo
      • XcodeProperties
      • XcodeVersionConfig
    • Built-in Types
      • Overview
      • Action
      • actions
      • apple_bitcode_mode
      • apple_platform
      • apple_platform_type
      • Args
      • Aspect
      • Attribute
      • BuildSetting
      • CcCompilationOutputs
      • CcLinkingOutputs
      • config
      • configuration
      • ctx
      • depset
      • DirectoryExpander
      • DottedVersion
      • exec_result
      • ExecGroupCollection
      • ExecGroupContext
      • ExecTransitionFactory
      • extension_metadata
      • FeatureConfiguration
      • File
      • fragments
      • java_annotation_processing
      • java_output
      • Label
      • LateBoundDefault
      • LibraryToLink
      • License
      • LinkerInput
      • LinkingContext
      • module_ctx
      • native
      • native_rule_transition
      • path
      • ProtoModule
      • Provider
      • repository_ctx
      • repository_os
      • repository_rule
      • root
      • rule
      • rule_attributes
      • runfiles
      • struct
      • SymlinkEntry
      • tag_class
      • Target
      • toolchain_type
      • ToolchainContext
      • transition
    • Core Starlark data types
      • Overview
      • bool
      • builtin_function_or_method
      • dict
      • float
      • function
      • int
      • json
      • list
      • range
      • string
      • tuple
    • Repository rules
      • Overview
      • git
      • http
      • utils
  • 8.5
  • 8.4
  • 8.3
  • 8.2
  • 8.1
  • 8.0
  • 7.7
  • 6.5
  • 5.4.1
  • Nightly
  • More…
  • Bazel
  • Extending
  • APIs

Các loại dữ liệu Core Starlark Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.

Phần này liệt kê các loại dữ liệu của ngôn ngữ cốt lõi Starlark.
  • bool
  • method_function_or_method được tạo sẵn
  • ngôn ngữ
  • nổi
  • hàm
  • int
  • json
  • list
  • phạm vi
  • string
  • bộ dữ liệu

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: 2025-07-27 UTC.

  • Giới thiệu về Anvato

    • Khách hàng đang sử dụng Bazel
    • Đóng góp
    • Mô hình quản trị
    • Mô hình phát hành
    • Nguyên tắc về thương hiệu
  • Giữ liên lạc

    • Blog
    • GitHub
    • Twitter
    • YouTube
  • Hỗ trợ

    • Hỗ trợ
    • Issue tracker
    • Slack
    • Stack Overflow
  • Điều khoản
  • Quyền riêng tư
  • Manage cookies
  • English
  • Español – América Latina
  • Indonesia
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • हिंदी
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어