Type

Inherit from TypeDO

Primary key: oid: int

schema Type extends TypeDO {
  @primary oid: int,
  kind: int,
  format_string: string,
  raw_string: string
}

Type::isTypesetLiteraltype

  • Parameter self: Type
  • Return bool
pub fn isTypesetLiteraltype(self: Type) -> bool;

Type::isNamedType

  • Parameter self: Type
  • Return bool
pub fn isNamedType(self: Type) -> bool;

Type::isSendrcvchanType

  • Parameter self: Type
  • Return bool
pub fn isSendrcvchanType(self: Type) -> bool;

Type::isRecvchanType

  • Parameter self: Type
  • Return bool
pub fn isRecvchanType(self: Type) -> bool;

Type::isMapType

  • Parameter self: Type
  • Return bool
pub fn isMapType(self: Type) -> bool;

Type::isSignatureType

  • Parameter self: Type
  • Return bool
pub fn isSignatureType(self: Type) -> bool;

Type::isInterfaceType

  • Parameter self: Type
  • Return bool
pub fn isInterfaceType(self: Type) -> bool;

Type::isStructType

  • Parameter self: Type
  • Return bool
pub fn isStructType(self: Type) -> bool;

Type::isSliceType

  • Parameter self: Type
  • Return bool
pub fn isSliceType(self: Type) -> bool;

Type::isTypeParamtype

  • Parameter self: Type
  • Return bool
pub fn isTypeParamtype(self: Type) -> bool;

Type::isNilLiteraltype

  • Parameter self: Type
  • Return bool
pub fn isNilLiteraltype(self: Type) -> bool;

Type::isStringLiteraltype

  • Parameter self: Type
  • Return bool
pub fn isStringLiteraltype(self: Type) -> bool;

Type::isComplexLiteraltype

  • Parameter self: Type
  • Return bool
pub fn isComplexLiteraltype(self: Type) -> bool;

Type::isFloatLiteraltype

  • Parameter self: Type
  • Return bool
pub fn isFloatLiteraltype(self: Type) -> bool;

Type::isIntLiteraltype

  • Parameter self: Type
  • Return bool
pub fn isIntLiteraltype(self: Type) -> bool;

Type::isSendchanType

  • Parameter self: Type
  • Return bool
pub fn isSendchanType(self: Type) -> bool;

Type::isUnsafepointerType

  • Parameter self: Type
  • Return bool
pub fn isUnsafepointerType(self: Type) -> bool;

Type::isStringexprType

  • Parameter self: Type
  • Return bool
pub fn isStringexprType(self: Type) -> bool;

Type::isPointerType

  • Parameter self: Type
  • Return bool
pub fn isPointerType(self: Type) -> bool;

Type::isBoolexprType

  • Parameter self: Type
  • Return bool
pub fn isBoolexprType(self: Type) -> bool;

Type::isInvalidType

  • Parameter self: Type
  • Return bool
pub fn isInvalidType(self: Type) -> bool;

Type::getExpr

pub fn getExpr(self: Type) -> *Expr;

Type::isComplex128Type

  • Parameter self: Type
  • Return bool
pub fn isComplex128Type(self: Type) -> bool;

Type::isInt8Type

  • Parameter self: Type
  • Return bool
pub fn isInt8Type(self: Type) -> bool;

Type::__all__

Data constraint method.

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

Type::isFloat64Type

  • Parameter self: Type
  • Return bool
pub fn isFloat64Type(self: Type) -> bool;

Type::isArrayType

  • Parameter self: Type
  • Return bool
pub fn isArrayType(self: Type) -> bool;

Type::isRuneLiteraltype

  • Parameter self: Type
  • Return bool
pub fn isRuneLiteraltype(self: Type) -> bool;

Type::isInt16Type

  • Parameter self: Type
  • Return bool
pub fn isInt16Type(self: Type) -> bool;

Type::getName

  • Parameter self: Type
  • Return string
pub fn getName(self: Type) -> string;

Type::getFormatString

  • Parameter self: Type
  • Return *string
pub fn getFormatString(self: Type) -> *string;

Type::isTupleType

  • Parameter self: Type
  • Return bool
pub fn isTupleType(self: Type) -> bool;

Type::isIntType

  • Parameter self: Type
  • Return bool
pub fn isIntType(self: Type) -> bool;

Type::getRawString

  • Parameter self: Type
  • Return *string
pub fn getRawString(self: Type) -> *string;

Type::isUint64Type

  • Parameter self: Type
  • Return bool
pub fn isUint64Type(self: Type) -> bool;

Type::isBoolLiteraltype

  • Parameter self: Type
  • Return bool
pub fn isBoolLiteraltype(self: Type) -> bool;

Type::isInt64Type

  • Parameter self: Type
  • Return bool
pub fn isInt64Type(self: Type) -> bool;

Type::isUintType

  • Parameter self: Type
  • Return bool
pub fn isUintType(self: Type) -> bool;

Type::isComplex64Type

  • Parameter self: Type
  • Return bool
pub fn isComplex64Type(self: Type) -> bool;

Type::isInt32Type

  • Parameter self: Type
  • Return bool
pub fn isInt32Type(self: Type) -> bool;

Type::isUint8Type

  • Parameter self: Type
  • Return bool
pub fn isUint8Type(self: Type) -> bool;

Type::isUint16Type

  • Parameter self: Type
  • Return bool
pub fn isUint16Type(self: Type) -> bool;

Type::getKind

  • Parameter self: Type
  • Return int
pub fn getKind(self: Type) -> int;

Type::isUint32Type

  • Parameter self: Type
  • Return bool
pub fn isUint32Type(self: Type) -> bool;

Type::isFloat32Type

  • Parameter self: Type
  • Return bool
pub fn isFloat32Type(self: Type) -> bool;

Type::isUintptrType

  • Parameter self: Type
  • Return bool
pub fn isUintptrType(self: Type) -> bool;