sequaljs
Version:
JavaScript/TypeScript library for parsing and manipulating ProForma peptide sequence notation
29 lines • 964 B
TypeScript
export declare class BaseBlock {
/**
* Base class for biochemical building blocks with position and mass properties.
*
* This abstract base class provides core functionality for blocks such as
* amino acids, modifications, and other biochemical components.
*/
protected _value: string;
private _position?;
private _branch;
private _mass?;
private _extra?;
constructor(value: string, position?: number | null, branch?: boolean, mass?: number | null);
get value(): string;
set value(value: string);
get position(): number | null;
set position(position: number | null);
get branch(): boolean;
get mass(): number | null;
set mass(mass: number | null);
get extra(): any;
set extra(value: any);
toDict(): Record<string, any>;
equals(other: BaseBlock): boolean;
hashCode(): number;
toString(): string;
toRepr(): string;
}
//# sourceMappingURL=base_block.d.ts.map