Skip to content

JITX Types Reference

This is the reference page for JITX types.

Top Level Definitions

Top-level definitions are subtypes of JITXDef.

public deftype JITXDef <: Hashable & Equalable

;pcb-landpattern
public defstruct LandPattern <: JITXDef:
  ...

;pcb-pad
public defstruct Pad <: JITXDef:
  ...

;pcb-symbol
public defstruct SchematicSymbol <: JITXDef:
  ...

;pcb-rules
public defstruct Rules <: JITXDef:
  ...

;pcb-material
public defstruct Material <: JITXDef:
  ...

;pcb-board
public defstruct Board <: JITXDef:
  ...

;pcb-stackup
public defstruct Stackup <: JITXDef:
  ...

While most top-level definitions follow this format, components, modules, and bundles have additional types. Instantiables include modules and components, and since they support individual and array representations, they are subtypes of JITXDef and InstantiableType. Bundles are one of three forms that can be declared as a port in a pcb-module or pcb-component. They are subtypes of JITXDef and PortType.

public deftype InstantiableType

;pcb-module and pcb-component
public defstruct Instantiable <: JITXDef & InstantiableType:
  ...

public defstruct InstantiableArray <: InstantiableType:
  ...

public deftype PortType

public defstruct SinglePin <: PortType:
  ...

;pcb-bundle
public defstruct Bundle <: JITXDef & PortType:
  ...

public defstruct PortArray <: PortType:
  ...

Local Definitions

Local definitions are subtypes of JITXObject.

public deftype JITXObject <: Hashable & Equalable

;Pins of modules, components, or bundles
public defstruct Pin <: JITXObject:
  ...

;Land pattern pads
public defstruct LandPatternPad <: JITXObject:
  ...

;Symbol pins
public defstruct SymbolPin <: JITXObject:
  ...

;Instances of modules or components
public defstruct Instance <: JITXObject:
  ...

;Nets of modules
public defstruct Net <: JITXObject:
  ...

Self

self is an Instance than can be referenced within a pcb-module or pcb-component to access or modify fields of that definition.