Parameter
/** * @brief A parameter of a method, foreach statement or catch block. */
Inherit from ParameterDO
Primary key: element_hash_id: int
schema Parameter extends ParameterDO { @primary element_hash_id: int, name: string, index_order: int, parent_hash_id: int, location_hash_id: int, printable_text: string, type_hash_id: int }
Parameter::getParentHashId
/** * @brief gets the parent hash id of this element. * @return int */
- Parameter
self
:Parameter
- Return
int
pub fn getParentHashId(self: Parameter) -> int;
Parameter::getIndex
/** * @brief gets the index order of this element. * @return int */
- Parameter
self
:Parameter
- Return
int
pub fn getIndex(self: Parameter) -> int;
Parameter::getLocationHashId
/** * @brief gets the location hash id of this element. * @return int */
- Parameter
self
:Parameter
- Return
int
pub fn getLocationHashId(self: Parameter) -> int;
Parameter::getParent
/** * @brief gets the parent of the element, which can be a for each statement, lambda expression, a callable, or a catch clause section. * @return ExpressionParent */
- Parameter
self
:Parameter
- Return
ElementParent
pub fn getParent(self: Parameter) -> ElementParent;
Parameter::getType
/** * @brief gets the type for the element. * @return Type */
pub fn getType(self: Parameter) -> Type;
Parameter::getName
/** * @brief gets the name of this element. * @return string */
- Parameter
self
:Parameter
- Return
string
pub fn getName(self: Parameter) -> string;
Parameter::getTypeHashId
/** * @brief gets the type hash id of this element. * @return int */
- Parameter
self
:Parameter
- Return
int
pub fn getTypeHashId(self: Parameter) -> int;
Parameter::getTypeElement
/** * @brief gets the type element for the element. * @return TypeElement */
- Parameter
self
:Parameter
- Return
TypeElement
pub fn getTypeElement(self: Parameter) -> TypeElement;
Parameter::getAnAncestor
/** * @brief gets an ancestor of the element. * @return ElementParent */
- Parameter
self
:Parameter
- Return
*ElementParent
pub fn getAnAncestor(self: Parameter) -> *ElementParent;
Parameter::getIdentifier
/** * @brief gets the identifier of the parameter. * @return Identifier */
- Parameter
self
:Parameter
- Return
Identifier
pub fn getIdentifier(self: Parameter) -> Identifier;
Parameter::getTypeName
/** * @brief gets the name of the parameter * @return string */
- Parameter
self
:Parameter
- Return
string
pub fn getTypeName(self: Parameter) -> string;
Parameter::getAnnotation
/** * @brief gets the annotation of the class, if any. * @return Annotation */
- Parameter
self
:Parameter
- Return
Annotation
pub fn getAnnotation(self: Parameter) -> Annotation;
Parameter::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*Parameter
pub fn __all__(db: JavaDB) -> *Parameter;
Parameter::getLocation
/** * @brief gets the location for the element. * @return Location */
pub fn getLocation(self: Parameter) -> Location;
Parameter::getPrintableText
/** * @brief gets a printed representation of this element, including its structure where applicable. * @return string. */
- Parameter
self
:Parameter
- Return
string
pub fn getPrintableText(self: Parameter) -> string;