Fields

Inherit from Node

Primary key: id: int

schema Fields extends Node { @primary id: int } 

Fields::getLocation

pub fn getLocation(self: Fields) -> Location; 

Fields::getAnAncestor

pub fn getAnAncestor(self: Fields) -> *Node; 

Fields::countAssociatedComment

  • Parameter self: Fields
  • Return int
pub fn countAssociatedComment(self: Fields) -> int; 

Fields::getFieldType

  • Parameter self: Fields
  • Return *string
pub fn getFieldType(self: Fields) -> *string; 

Fields::isFuncDeclRecvFields

  • Parameter self: Fields
  • Return bool
pub fn isFuncDeclRecvFields(self: Fields) -> bool; 

Fields::getAnAncestorForIndex

  • Parameter self: Fields
  • Parameter index: int
  • Return Node
pub fn getAnAncestorForIndex(self: Fields, index: int) -> Node; 

Fields::getIdx

  • Parameter self: Fields
  • Return int
pub fn getIdx(self: Fields) -> int; 

Fields::getBelongsFile

pub fn getBelongsFile(self: Fields) -> File; 

Fields::getFieldName

  • Parameter self: Fields
  • Return *string
pub fn getFieldName(self: Fields) -> *string; 

Fields::isInterfaceMethodFields

  • Parameter self: Fields
  • Return bool
pub fn isInterfaceMethodFields(self: Fields) -> bool; 

Fields::isFuncResultsFields

  • Parameter self: Fields
  • Return bool
pub fn isFuncResultsFields(self: Fields) -> bool; 

Fields::getType

  • Parameter self: Fields
  • Return string
pub fn getType(self: Fields) -> string; 

Fields::print

  • Parameter self: Fields
  • Return *string
pub fn print(self: Fields) -> *string; 

Fields::getKind

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

Fields::getParentNode

pub fn getParentNode(self: Fields) -> Node; 

Fields::isFuncParamsFields

  • Parameter self: Fields
  • Return bool
pub fn isFuncParamsFields(self: Fields) -> bool; 

Fields::getAssociatedCommentString

  • Parameter self: Fields
  • Return string
pub fn getAssociatedCommentString(self: Fields) -> string; 

Fields::__all__

Data constraint method.

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

Fields::isStructFields

  • Parameter self: Fields
  • Return bool
pub fn isStructFields(self: Fields) -> bool; 

Fields::makeFieldStringForFunctionSignature

  • Parameter self: Fields
  • Return *string
pub fn makeFieldStringForFunctionSignature(self: Fields) -> *string; 

Fields::getTextStartOffset

  • Parameter self: Fields
  • Return int
pub fn getTextStartOffset(self: Fields) -> int; 

Fields::getChildCount

  • Parameter self: Fields
  • Return int
pub fn getChildCount(self: Fields) -> int; 

Fields::getTextSize

  • Parameter self: Fields
  • Return int
pub fn getTextSize(self: Fields) -> int; 

Fields::getAchildNode

pub fn getAchildNode(self: Fields) -> *Node; 

Fields::getBelongsFunction

pub fn getBelongsFunction(self: Fields) -> Function; 

Fields::getText

// getText Extract the text associated with a specific node in a file 
  • Parameter self: Fields
  • Return string
pub fn getText(self: Fields) -> string; 

Fields::hasLocation

  • Parameter self: Fields
  • Return bool
pub fn hasLocation(self: Fields) -> bool; 

Fields::getDepthFromRoot

  • Parameter self: Fields
  • Return int
pub fn getDepthFromRoot(self: Fields) -> int; 

Fields::isRootNode

  • Parameter self: Fields
  • Return bool
pub fn isRootNode(self: Fields) -> bool;