Packages

package property

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class GetNodePropertiesHandler extends TelemeteredRequestHandler[GetNodePropertiesParams, GetNodePropertiesResult]
  2. class PropertyManager extends RequestModule[Unit, Unit]
  3. class PropertyYPartBuilder extends AnyRef

    Builds SYAML YPart structures from PropertyValue types.

    Builds SYAML YPart structures from PropertyValue types.

    This builder converts the PropertyValue ADT (Scalar, Object, Array, Union, Connection) into SYAML AST nodes (YNode, YMap, YMapEntry, YSequence) that can be rendered to YAML/JSON strings using SYAML's YamlRender or JsonRender.

    Design Decisions

    • Extracted from PropertyManager to enable reuse in other contexts (e.g., code actions, refactoring)
    • Uses SYAML's native types to ensure proper escaping and formatting
    • Union types render as null since they represent type choices, not concrete values
    • Empty objects/arrays are rendered as empty YAML structures (not removed)

    Usage

    val builder = new PropertyYPartBuilder()
    val yMap = builder.buildPropertiesMap(properties)
    val rendered = YamlRender.render(yMap, indentation, YamlRenderOptions())
    See also

    org.mulesoft.als.common.finder.jsonschema.JsonSchemaPropertyExtractor.PropertyValue

  4. class SetNodePropertiesHandler extends TelemeteredRequestHandler[SetNodePropertiesParams, WorkspaceEdit]

Value Members

  1. object PropertyConfigType extends ConfigType[Unit, Unit]
  2. object PropertyManager
  3. object PropertyYPartBuilder

Ungrouped