CodeBlockDO
/**
* @brief DO class: A code block.
*/
Primary key: element_hash_id: int
schema CodeBlockDO {
@primary element_hash_id: int,
number_of_statement: int,
parent_hash_id: int,
is_empty: int,
location_hash_id: int,
printable_text: string
}
CodeBlockDO::getNumberOfStatement
/**
* @brief gets the number of statement of this element.
* @return int
*/
- Parameter
self
:CodeBlockDO
- Return
int
pub fn getNumberOfStatement(self: CodeBlockDO) -> int;
CodeBlockDO::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:CodeBlockDO
- Return
int
pub fn getParentHashId(self: CodeBlockDO) -> int;
CodeBlockDO::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*CodeBlockDO
pub fn __all__(db: JavaDB) -> *CodeBlockDO;
CodeBlockDO::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:CodeBlockDO
- Return
int
pub fn getLocationHashId(self: CodeBlockDO) -> int;
CodeBlockDO::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:CodeBlockDO
- Return
string
pub fn getPrintableText(self: CodeBlockDO) -> string;
CodeBlockDO::getIsEmpty
/**
* @brief gets the is empty of this element.
* @return int
*/
- Parameter
self
:CodeBlockDO
- Return
int
pub fn getIsEmpty(self: CodeBlockDO) -> int;