Docs.rs
  • kcl-lib-0.1.51
    • kcl-lib 0.1.51
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • adamchalmers
    • jessfraz
    • github:kittycad:crate-owners
    • Dependencies
      • anyhow ^1.0.82 normal
      • async-recursion ^1.1.0 normal
      • async-trait ^0.1.80 normal
      • base64 ^0.22.0 normal
      • chrono ^0.4.38 normal
      • clap ^4.5.4 normal optional
      • dashmap ^5.5.3 normal
      • databake ^0.1.7 normal
      • derive-docs ^0.1.17 normal
      • form_urlencoded ^1.2.1 normal
      • futures ^0.3.30 normal
      • git_rev ^0.1.0 normal
      • gltf-json ^1.4.0 normal
      • kittycad ^0.3.0 normal
      • kittycad-execution-plan-macros ^0.1.9 normal
      • kittycad-execution-plan-traits ^0.1.14 normal
      • lazy_static ^1.4.0 normal
      • mime_guess ^2.0.4 normal
      • parse-display ^0.9.0 normal
      • reqwest ^0.11.26 normal
      • ropey ^1.6.1 normal
      • schemars ^0.8.16 normal
      • serde ^1.0.198 normal
      • serde_json ^1.0.116 normal
      • sha2 ^0.10.8 normal
      • thiserror ^1.0.59 normal
      • toml ^0.8.12 normal
      • ts-rs ^7.1.1 normal
      • url ^2.5.0 normal
      • uuid ^1.8.0 normal
      • validator ^0.18.1 normal
      • winnow ^0.5.40 normal
      • zip ^0.6.6 normal
      • base64 ^0.22.0 dev
      • convert_case ^0.6.0 dev
      • criterion ^0.5.1 dev
      • expectorate ^1.1.0 dev
      • iai ^0.1 dev
      • image ^0.24.9 dev
      • insta ^1.38.0 dev
      • itertools ^0.12.1 dev
      • pretty_assertions ^1.4.0 dev
      • tokio ^1.37.0 dev
      • twenty-twenty ^0.7.0 dev
      • approx ^0.5 normal
      • bson ^2.10.0 normal
      • tokio ^1.37.0 normal
      • tokio-tungstenite ^0.21.0 normal
      • tower-lsp ^0.20.0 normal
      • js-sys ^0.3.69 normal
      • tokio ^1.37.0 normal
      • tower-lsp ^0.20.0 normal
      • wasm-bindgen ^0.2.91 normal
      • wasm-bindgen-futures ^0.4.42 normal
      • web-sys ^0.3.69 normal
    • Versions
    • 49.81% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

kcl_lib0.1.51

Module types

  • Structs
  • Enums
  • Traits
  • Functions

In kcl_lib::ast

?
Settings

Module kcl_lib::ast::types

source ·
Expand description

Data types for the AST.

Structs§

  • ArrayExpression
  • BinaryExpression
  • CallExpression
  • ConstraintLevels
    A vector of constraint levels.
  • ExpressionStatement
  • FormatOptions
    Format options.
  • FunctionExpression
  • FunctionExpressionParts
  • Identifier
  • KclNone
    KCL value for an optional parameter which was not given an argument. (remember, parameters are in the function declaration, arguments are in the function call/application).
  • Literal
  • MemberExpression
  • NonCodeMeta
  • NonCodeNode
  • ObjectExpression
  • ObjectKeyInfo
  • ObjectProperty
  • Parameter
    Parameter of a KCL function.
  • PipeExpression
  • PipeSubstitution
  • Program
  • RequiredParamAfterOptionalParam
  • ReturnStatement
  • UnaryExpression
  • VariableDeclaration
  • VariableDeclarator

Enums§

  • Associativity
    Mathematical associativity. Should a . b . c be read as (a . b) . c, or a . (b . c) See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_precedence#precedence_and_associativity for more.
  • BinaryOperator
  • BinaryPart
  • BodyItem
  • CommentStyle
  • ConstraintLevel
    The constraint level.
  • FnArgPrimitive
  • FnArgType
  • Function
    A function declaration.
  • Hover
    Describes information about a hover.
  • LiteralIdentifier
  • LiteralValue
  • MemberObject
  • NonCodeValue
  • UnaryOperator
  • Value
  • VariableKind

Traits§

  • ValueMeta

Functions§

  • parse_json_number_as_f64
  • parse_json_value_as_string