viz.vega
Members list
Packages
Type members
Classlikes
Tracks a filesystem file for staleness detection.
Tracks a filesystem file for staleness detection.
Value parameters
- contentHash
-
Hash of file content at compile time
- path
-
Absolute path to the source file
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SourceInfoclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Tracks a classpath resource for staleness detection.
Tracks a classpath resource for staleness detection.
Value parameters
- contentHash
-
Hash of resource content at compile time
- resourcePath
-
Resource path (e.g., "mySpec.vl.json")
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SourceInfoclass Objecttrait Matchableclass AnyShow all
Tracks the source for staleness detection.
Tracks the source for staleness detection.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class FileSourceInfoclass ResourceSourceInfo
Vega spec wrapper to generate typed accessors inferred from the JSON structure.
Vega spec wrapper to generate typed accessors inferred from the JSON structure.
When created from a file via VegaPlot.pwd or resource via VegaPlot.fromResource, this class tracks the source and automatically uses fresh content if it has changed since compilation. This ensures the output is always correct, even if the typed accessors are stale.
Value parameters
- mod
-
The typed accessor object for modifications
- rawSpec
-
The JSON spec as parsed at compile time
- sourceInfo
-
Optional source tracking for staleness detection
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any