ErrorDO

/**
* @brief DO class: An error.
*/

Primary key: oid: int

schema ErrorDO {
  @primary oid: int,
  kind: int,
  msg: string,
  raw_pos: string,
  file: string,
  line: int,
  col: int,
  pkg: int,
  idx: int
}

ErrorDO::getIdx

/**
* @brief gets the idx of this element.
* @return int
*/
  • Parameter self: ErrorDO
  • Return int
pub fn getIdx(self: ErrorDO) -> int;

ErrorDO::getPkg

/**
* @brief gets the pkg of this element.
* @return int
*/
  • Parameter self: ErrorDO
  • Return int
pub fn getPkg(self: ErrorDO) -> int;

ErrorDO::getCol

/**
* @brief gets the col of this element.
* @return int
*/
  • Parameter self: ErrorDO
  • Return int
pub fn getCol(self: ErrorDO) -> int;

ErrorDO::getLine

/**
* @brief gets the line of this element.
* @return int
*/
  • Parameter self: ErrorDO
  • Return int
pub fn getLine(self: ErrorDO) -> int;

ErrorDO::getKind

/**
* @brief gets the kind of this element.
* @return int
*/
  • Parameter self: ErrorDO
  • Return int
pub fn getKind(self: ErrorDO) -> int;

ErrorDO::getMsg

/**
* @brief gets the msg of this element.
* @return string
*/
  • Parameter self: ErrorDO
  • Return string
pub fn getMsg(self: ErrorDO) -> string;

ErrorDO::__all__

Data constraint method.

pub fn __all__(db: GoDB) -> *ErrorDO;

ErrorDO::getRawPos

/**
* @brief gets the raw pos of this element.
* @return string
*/
  • Parameter self: ErrorDO
  • Return string
pub fn getRawPos(self: ErrorDO) -> string;

ErrorDO::getFile

/**
* @brief gets the file of this element.
* @return string
*/
  • Parameter self: ErrorDO
  • Return string
pub fn getFile(self: ErrorDO) -> string;