Creates a new Entry instance.
Object containing entry properties
OptionalcommentOptional comment text associated with this entry
Internal metadata key-value pairs associated with this entry. These can be anything, are not used in the output, and are meant to be used to allow your pipeline to keep track of an internal property
The type of this entry (e.g., 'open', 'close', 'transaction', 'comment', 'blankline')
ProtectedparseTransforms JSON data before creating an Entry instance. Default implementation returns the input unchanged. Subclasses can override this to handle custom deserialization logic (e.g., converting nested objects, handling dates, etc.).
The JSON data to transform
The transformed data ready for the constructor
Converts this entry to a formatted string with aligned columns. Default implementation delegates to toString(). Subclasses can override for custom formatting.
Formatting options (unused in base implementation)
The formatted string representation of this entry
StaticfromCreates a Comment instance from a generic parse result. Note: This doesn't use a real GenericParseResult structure.
The parsed comment data
A new Comment instance
StaticfromStaticfromStaticfrom
Represents a Comment line in a Beancount file. Comments are lines that start with a semicolon or hash and are ignored by the parser.