JsxAttributes
/**
* A JSX attributes.
*/
Inherit from PrimaryExpression
Primary key: id: int
schema JsxAttributes extends PrimaryExpression {
@primary id: int
}
JsxAttributes::getAnAncestor
/**
* Gets an ancestor of this node.
*/
- Parameter
self
:JsxAttributes
- Return
*Node
pub fn getAnAncestor(self: JsxAttributes) -> *Node;
JsxAttributes::getStartLineNumber
- Parameter
self
:JsxAttributes
- Return
int
pub fn getStartLineNumber(self: JsxAttributes) -> int;
JsxAttributes::getChild
/**
* Gets the `i`th child of this node.
*/
- Parameter
self
:JsxAttributes
- Parameter
i
:int
- Return
Node
pub fn getChild(self: JsxAttributes, i: int) -> Node;
JsxAttributes::getATrailingComment
/**
* Gets the trailing comments of it
*/
- Parameter
self
:JsxAttributes
- Return
*Comment
pub fn getATrailingComment(self: JsxAttributes) -> *Comment;
JsxAttributes::getAnAncestorByLevel
/**
* Gets an ancestor of this node by the level of the hierarchy.
*
* @param level: the number of levels to go up in the hierarchy.
*/
- Parameter
self
:JsxAttributes
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: JsxAttributes, level: int) -> Node;
JsxAttributes::getEndLineNumber
- Parameter
self
:JsxAttributes
- Return
int
pub fn getEndLineNumber(self: JsxAttributes) -> int;
JsxAttributes::getADescendant
/**
* Gets a descendant of this node.
*/
- Parameter
self
:JsxAttributes
- Return
*Node
pub fn getADescendant(self: JsxAttributes) -> *Node;
JsxAttributes::getEnclosingFunction
/**
* Gets the enclosing function of it
*/
- Parameter
self
:JsxAttributes
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: JsxAttributes) -> FunctionLikeDeclaration;
JsxAttributes::getParentOid
/**
* Gets the parent oid of this node.
*/
- Parameter
self
:JsxAttributes
- Return
int
pub fn getParentOid(self: JsxAttributes) -> int;
JsxAttributes::getADescendantByLevel
/**
* Gets a descendant of this node by the level of the hierarchy.
*
* @param level: the number of levels to go up in the hierarchy.
*/
- Parameter
self
:JsxAttributes
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: JsxAttributes, level: int) -> *Node;
JsxAttributes::getFile
/**
* Gets the file of this node.
*/
- Parameter
self
:JsxAttributes
- Return
File
pub fn getFile(self: JsxAttributes) -> File;
JsxAttributes::getALeadingComment
/**
* Gets the leading comments of it
*/
- Parameter
self
:JsxAttributes
- Return
*Comment
pub fn getALeadingComment(self: JsxAttributes) -> *Comment;
JsxAttributes::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*JsxAttributes
pub fn __all__(db: JavascriptDB) -> *JsxAttributes;
JsxAttributes::getLocation
/**
* Gets the location of this node.
*/
- Parameter
self
:JsxAttributes
- Return
Location
pub fn getLocation(self: JsxAttributes) -> Location;
JsxAttributes::getModifier
/**
* Gets the `i`th modifier.
*/
- Parameter
self
:JsxAttributes
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: JsxAttributes, i: int) -> Modifier;
JsxAttributes::getText
/**
* Gets the text of this node.
*/
- Parameter
self
:JsxAttributes
- Return
string
pub fn getText(self: JsxAttributes) -> string;
JsxAttributes::getStartColumnNumber
- Parameter
self
:JsxAttributes
- Return
int
pub fn getStartColumnNumber(self: JsxAttributes) -> int;
JsxAttributes::getAChild
/**
* Gets a child node of this node.
*/
- Parameter
self
:JsxAttributes
- Return
*Node
pub fn getAChild(self: JsxAttributes) -> *Node;
JsxAttributes::getDecorator
/**
* Gets the `i`th decorator.
*/
- Parameter
self
:JsxAttributes
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: JsxAttributes, i: int) -> Decorator;
JsxAttributes::getChildCount
/**
* Gets the number of child nodes.
*/
- Parameter
self
:JsxAttributes
- Return
int
pub fn getChildCount(self: JsxAttributes) -> int;
JsxAttributes::getAModifier
/**
* Gets a modifier.
*/
- Parameter
self
:JsxAttributes
- Return
*Modifier
pub fn getAModifier(self: JsxAttributes) -> *Modifier;
JsxAttributes::getKind
/**
* Get the syntax kind of this node
*/
- Parameter
self
:JsxAttributes
- Return
int
pub fn getKind(self: JsxAttributes) -> int;
JsxAttributes::getAComment
/**
* Gets the comments related to it
*/
- Parameter
self
:JsxAttributes
- Return
*Comment
pub fn getAComment(self: JsxAttributes) -> *Comment;
JsxAttributes::getADecorator
/**
* Gets a decorator.
*/
- Parameter
self
:JsxAttributes
- Return
*Decorator
pub fn getADecorator(self: JsxAttributes) -> *Decorator;
JsxAttributes::getLastChild
/**
* Gets the last child of this node parent.
*/
- Parameter
self
:JsxAttributes
- Return
Node
pub fn getLastChild(self: JsxAttributes) -> Node;
JsxAttributes::getEndColumnNumber
- Parameter
self
:JsxAttributes
- Return
int
pub fn getEndColumnNumber(self: JsxAttributes) -> int;
JsxAttributes::getParent
/**
* Gets the parent node of this node.
*/
- Parameter
self
:JsxAttributes
- Return
Node
pub fn getParent(self: JsxAttributes) -> Node;
JsxAttributes::getExpression
- Parameter
self
:JsxAttributes
- Return
Expression
pub fn getExpression(self: JsxAttributes) -> Expression;
JsxAttributes::getRelativePath
/**
* Gets the relative path of this node.
*/
- Parameter
self
:JsxAttributes
- Return
string
pub fn getRelativePath(self: JsxAttributes) -> string;
JsxAttributes::getRoot
/**
* Gets the root top-level of this node.
*/
- Parameter
self
:JsxAttributes
- Return
TopLevelDO
pub fn getRoot(self: JsxAttributes) -> TopLevelDO;
JsxAttributes::getSymbol
/**
* Gets the symbol associated with this node.
*/
- Parameter
self
:JsxAttributes
- Return
Symbol
pub fn getSymbol(self: JsxAttributes) -> Symbol;
JsxAttributes::getAnAncestorEnclosingFunction
/**
* Gets an ancestor enclosing function of it
*/
- Parameter
self
:JsxAttributes
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: JsxAttributes) -> *FunctionLikeDeclaration;
JsxAttributes::getIndex
- Parameter
self
:JsxAttributes
- Return
int
pub fn getIndex(self: JsxAttributes) -> int;