cairo_lang_syntax::node

Trait TypedStablePtr

Source
pub trait TypedStablePtr {
    type SyntaxNode: TypedSyntaxNode;

    // Required methods
    fn lookup(&self, db: &dyn SyntaxGroup) -> Self::SyntaxNode;
    fn untyped(&self) -> SyntaxStablePtrId;
}
Expand description

Trait for stable pointers to syntax nodes.

Required Associated Types§

Required Methods§

Source

fn lookup(&self, db: &dyn SyntaxGroup) -> Self::SyntaxNode

Returns the syntax node pointed to by this stable pointer.

Source

fn untyped(&self) -> SyntaxStablePtrId

Returns the untyped stable pointer.

Implementors§

Source§

impl TypedStablePtr for AliasClausePtr

Source§

impl TypedStablePtr for ArgClauseFieldInitShorthandPtr

Source§

impl TypedStablePtr for ArgClauseNamedPtr

Source§

impl TypedStablePtr for ArgClausePtr

Source§

impl TypedStablePtr for ArgClauseUnnamedPtr

Source§

impl TypedStablePtr for ArgListBracedPtr

Source§

impl TypedStablePtr for ArgListBracketedPtr

Source§

impl TypedStablePtr for ArgListParenthesizedPtr

Source§

impl TypedStablePtr for ArgListPtr

Source§

impl TypedStablePtr for ArgPtr

Source§

impl TypedStablePtr for AssociatedItemConstraintListPtr

Source§

impl TypedStablePtr for AssociatedItemConstraintPtr

Source§

impl TypedStablePtr for AssociatedItemConstraintsPtr

Source§

impl TypedStablePtr for AttributeListPtr

Source§

impl TypedStablePtr for AttributePtr

Source§

impl TypedStablePtr for BinaryOperatorPtr

Source§

impl TypedStablePtr for BlockOrIfPtr

Source§

impl TypedStablePtr for ClosureParamWrapperNAryPtr

Source§

impl TypedStablePtr for ClosureParamWrapperPtr

Source§

impl TypedStablePtr for ConditionExprPtr

Source§

impl TypedStablePtr for ConditionLetPtr

Source§

impl TypedStablePtr for ConditionPtr

Source§

impl TypedStablePtr for ElseClausePtr

Source§

impl TypedStablePtr for ExprBinaryPtr

Source§

impl TypedStablePtr for ExprBlockPtr

Source§

impl TypedStablePtr for ExprClausePtr

Source§

impl TypedStablePtr for ExprClosurePtr

Source§

impl TypedStablePtr for ExprErrorPropagatePtr

Source§

impl TypedStablePtr for ExprFieldInitShorthandPtr

Source§

impl TypedStablePtr for ExprFixedSizeArrayPtr

Source§

impl TypedStablePtr for ExprForPtr

Source§

impl TypedStablePtr for ExprFunctionCallPtr

Source§

impl TypedStablePtr for ExprIfPtr

Source§

impl TypedStablePtr for ExprIndexedPtr

Source§

impl TypedStablePtr for ExprInlineMacroPtr

Source§

impl TypedStablePtr for ExprListParenthesizedPtr

Source§

impl TypedStablePtr for ExprListPtr

Source§

impl TypedStablePtr for ExprLoopPtr

Source§

impl TypedStablePtr for ExprMatchPtr

Source§

impl TypedStablePtr for ExprMissingPtr

Source§

impl TypedStablePtr for ExprParenthesizedPtr

Source§

impl TypedStablePtr for ExprPathPtr

Source§

impl TypedStablePtr for ExprPtr

Source§

impl TypedStablePtr for ExprStructCtorCallPtr

Source§

impl TypedStablePtr for ExprUnaryPtr

Source§

impl TypedStablePtr for ExprWhilePtr

Source§

impl TypedStablePtr for FixedSizeArraySizePtr

Source§

impl TypedStablePtr for FunctionDeclarationPtr

Source§

impl TypedStablePtr for FunctionSignaturePtr

Source§

impl TypedStablePtr for FunctionWithBodyPtr

Source§

impl TypedStablePtr for GenericArgListPtr

Source§

impl TypedStablePtr for GenericArgNamedPtr

Source§

impl TypedStablePtr for GenericArgPtr

Source§

impl TypedStablePtr for GenericArgUnnamedPtr

Source§

impl TypedStablePtr for GenericArgValueExprPtr

Source§

impl TypedStablePtr for GenericArgValuePtr

Source§

impl TypedStablePtr for GenericArgsPtr

Source§

impl TypedStablePtr for GenericParamConstPtr

Source§

impl TypedStablePtr for GenericParamImplAnonymousPtr

Source§

impl TypedStablePtr for GenericParamImplNamedPtr

Source§

impl TypedStablePtr for GenericParamListPtr

Source§

impl TypedStablePtr for GenericParamNegativeImplPtr

Source§

impl TypedStablePtr for GenericParamPtr

Source§

impl TypedStablePtr for GenericParamTypePtr

Source§

impl TypedStablePtr for ImplBodyPtr

Source§

impl TypedStablePtr for ImplItemListPtr

Source§

impl TypedStablePtr for ImplItemMissingPtr

Source§

impl TypedStablePtr for ImplItemPtr

Source§

impl TypedStablePtr for ImplicitsClausePtr

Source§

impl TypedStablePtr for ImplicitsListPtr

Source§

impl TypedStablePtr for ItemConstantPtr

Source§

impl TypedStablePtr for ItemEnumPtr

Source§

impl TypedStablePtr for ItemExternFunctionPtr

Source§

impl TypedStablePtr for ItemExternTypePtr

Source§

impl TypedStablePtr for ItemHeaderDocPtr

Source§

impl TypedStablePtr for ItemImplAliasPtr

Source§

impl TypedStablePtr for ItemImplPtr

Source§

impl TypedStablePtr for ItemInlineMacroPtr

Source§

impl TypedStablePtr for ItemModulePtr

Source§

impl TypedStablePtr for ItemStructPtr

Source§

impl TypedStablePtr for ItemTraitPtr

Source§

impl TypedStablePtr for ItemTypeAliasPtr

Source§

impl TypedStablePtr for ItemUsePtr

Source§

impl TypedStablePtr for MatchArmPtr

Source§

impl TypedStablePtr for MatchArmsPtr

Source§

impl TypedStablePtr for MaybeImplBodyPtr

Source§

impl TypedStablePtr for MaybeModuleBodyPtr

Source§

impl TypedStablePtr for MaybeTraitBodyPtr

Source§

impl TypedStablePtr for MaybeTraitFunctionBodyPtr

Source§

impl TypedStablePtr for MemberListPtr

Source§

impl TypedStablePtr for MemberPtr

Source§

impl TypedStablePtr for ModifierListPtr

Source§

impl TypedStablePtr for ModifierPtr

Source§

impl TypedStablePtr for ModuleBodyPtr

Source§

impl TypedStablePtr for ModuleItemListPtr

Source§

impl TypedStablePtr for ModuleItemMissingPtr

Source§

impl TypedStablePtr for ModuleItemPtr

Source§

impl TypedStablePtr for OptionAliasClauseEmptyPtr

Source§

impl TypedStablePtr for OptionAliasClausePtr

Source§

impl TypedStablePtr for OptionArgListParenthesizedEmptyPtr

Source§

impl TypedStablePtr for OptionArgListParenthesizedPtr

Source§

impl TypedStablePtr for OptionAssociatedItemConstraintsEmptyPtr

Source§

impl TypedStablePtr for OptionAssociatedItemConstraintsPtr

Source§

impl TypedStablePtr for OptionElseClauseEmptyPtr

Source§

impl TypedStablePtr for OptionElseClausePtr

Source§

impl TypedStablePtr for OptionExprClauseEmptyPtr

Source§

impl TypedStablePtr for OptionExprClausePtr

Source§

impl TypedStablePtr for OptionFixedSizeArraySizeEmptyPtr

Source§

impl TypedStablePtr for OptionFixedSizeArraySizePtr

Source§

impl TypedStablePtr for OptionImplicitsClauseEmptyPtr

Source§

impl TypedStablePtr for OptionImplicitsClausePtr

Source§

impl TypedStablePtr for OptionPatternEnumInnerPatternEmptyPtr

Source§

impl TypedStablePtr for OptionPatternEnumInnerPatternPtr

Source§

impl TypedStablePtr for OptionReturnTypeClauseEmptyPtr

Source§

impl TypedStablePtr for OptionReturnTypeClausePtr

Source§

impl TypedStablePtr for OptionStructArgExprEmptyPtr

Source§

impl TypedStablePtr for OptionStructArgExprPtr

Source§

impl TypedStablePtr for OptionTerminalColonColonEmptyPtr

Source§

impl TypedStablePtr for OptionTerminalColonColonPtr

Source§

impl TypedStablePtr for OptionTerminalNoPanicEmptyPtr

Source§

impl TypedStablePtr for OptionTerminalNoPanicPtr

Source§

impl TypedStablePtr for OptionTerminalSemicolonEmptyPtr

Source§

impl TypedStablePtr for OptionTerminalSemicolonPtr

Source§

impl TypedStablePtr for OptionTypeClauseEmptyPtr

Source§

impl TypedStablePtr for OptionTypeClausePtr

Source§

impl TypedStablePtr for OptionVisibilityPubArgumentClauseEmptyPtr

Source§

impl TypedStablePtr for OptionVisibilityPubArgumentClausePtr

Source§

impl TypedStablePtr for OptionWrappedGenericParamListEmptyPtr

Source§

impl TypedStablePtr for OptionWrappedGenericParamListPtr

Source§

impl TypedStablePtr for ParamListPtr

Source§

impl TypedStablePtr for ParamPtr

Source§

impl TypedStablePtr for PathSegmentPtr

Source§

impl TypedStablePtr for PathSegmentSimplePtr

Source§

impl TypedStablePtr for PathSegmentWithGenericArgsPtr

Source§

impl TypedStablePtr for PatternEnumInnerPatternPtr

Source§

impl TypedStablePtr for PatternEnumPtr

Source§

impl TypedStablePtr for PatternFixedSizeArrayPtr

Source§

impl TypedStablePtr for PatternIdentifierPtr

Source§

impl TypedStablePtr for PatternListOrPtr

Source§

impl TypedStablePtr for PatternListPtr

Source§

impl TypedStablePtr for PatternPtr

Source§

impl TypedStablePtr for PatternStructParamListPtr

Source§

impl TypedStablePtr for PatternStructParamPtr

Source§

impl TypedStablePtr for PatternStructParamWithExprPtr

Source§

impl TypedStablePtr for PatternStructPtr

Source§

impl TypedStablePtr for PatternTuplePtr

Source§

impl TypedStablePtr for ReturnTypeClausePtr

Source§

impl TypedStablePtr for SkippedNodePtr

Source§

impl TypedStablePtr for StatementBreakPtr

Source§

impl TypedStablePtr for StatementContinuePtr

Source§

impl TypedStablePtr for StatementExprPtr

Source§

impl TypedStablePtr for StatementItemPtr

Source§

impl TypedStablePtr for StatementLetPtr

Source§

impl TypedStablePtr for StatementListPtr

Source§

impl TypedStablePtr for StatementMissingPtr

Source§

impl TypedStablePtr for StatementPtr

Source§

impl TypedStablePtr for StatementReturnPtr

Source§

impl TypedStablePtr for StructArgExprPtr

Source§

impl TypedStablePtr for StructArgListBracedPtr

Source§

impl TypedStablePtr for StructArgListPtr

Source§

impl TypedStablePtr for StructArgPtr

Source§

impl TypedStablePtr for StructArgSinglePtr

Source§

impl TypedStablePtr for StructArgTailPtr

Source§

impl TypedStablePtr for SyntaxFilePtr

Source§

impl TypedStablePtr for TerminalAndAndPtr

Source§

impl TypedStablePtr for TerminalAndPtr

Source§

impl TypedStablePtr for TerminalArrowPtr

Source§

impl TypedStablePtr for TerminalAsPtr

Source§

impl TypedStablePtr for TerminalAtPtr

Source§

impl TypedStablePtr for TerminalBadCharactersPtr

Source§

impl TypedStablePtr for TerminalBitNotPtr

Source§

impl TypedStablePtr for TerminalBreakPtr

Source§

impl TypedStablePtr for TerminalColonColonPtr

Source§

impl TypedStablePtr for TerminalColonPtr

Source§

impl TypedStablePtr for TerminalCommaPtr

Source§

impl TypedStablePtr for TerminalConstPtr

Source§

impl TypedStablePtr for TerminalContinuePtr

Source§

impl TypedStablePtr for TerminalDivEqPtr

Source§

impl TypedStablePtr for TerminalDivPtr

Source§

impl TypedStablePtr for TerminalDotDotPtr

Source§

impl TypedStablePtr for TerminalDotPtr

Source§

impl TypedStablePtr for TerminalElsePtr

Source§

impl TypedStablePtr for TerminalEmptyPtr

Source§

impl TypedStablePtr for TerminalEndOfFilePtr

Source§

impl TypedStablePtr for TerminalEnumPtr

Source§

impl TypedStablePtr for TerminalEqEqPtr

Source§

impl TypedStablePtr for TerminalEqPtr

Source§

impl TypedStablePtr for TerminalExternPtr

Source§

impl TypedStablePtr for TerminalFalsePtr

Source§

impl TypedStablePtr for TerminalForPtr

Source§

impl TypedStablePtr for TerminalFunctionPtr

Source§

impl TypedStablePtr for TerminalGEPtr

Source§

impl TypedStablePtr for TerminalGTPtr

Source§

impl TypedStablePtr for TerminalHashPtr

Source§

impl TypedStablePtr for TerminalIdentifierPtr

Source§

impl TypedStablePtr for TerminalIfPtr

Source§

impl TypedStablePtr for TerminalImplPtr

Source§

impl TypedStablePtr for TerminalImplicitsPtr

Source§

impl TypedStablePtr for TerminalLBracePtr

Source§

impl TypedStablePtr for TerminalLBrackPtr

Source§

impl TypedStablePtr for TerminalLEPtr

Source§

impl TypedStablePtr for TerminalLParenPtr

Source§

impl TypedStablePtr for TerminalLTPtr

Source§

impl TypedStablePtr for TerminalLetPtr

Source§

impl TypedStablePtr for TerminalLiteralNumberPtr

Source§

impl TypedStablePtr for TerminalLoopPtr

Source§

impl TypedStablePtr for TerminalMatchArrowPtr

Source§

impl TypedStablePtr for TerminalMatchPtr

Source§

impl TypedStablePtr for TerminalMinusEqPtr

Source§

impl TypedStablePtr for TerminalMinusPtr

Source§

impl TypedStablePtr for TerminalModEqPtr

Source§

impl TypedStablePtr for TerminalModPtr

Source§

impl TypedStablePtr for TerminalModulePtr

Source§

impl TypedStablePtr for TerminalMulEqPtr

Source§

impl TypedStablePtr for TerminalMulPtr

Source§

impl TypedStablePtr for TerminalMutPtr

Source§

impl TypedStablePtr for TerminalNeqPtr

Source§

impl TypedStablePtr for TerminalNoPanicPtr

Source§

impl TypedStablePtr for TerminalNotPtr

Source§

impl TypedStablePtr for TerminalOfPtr

Source§

impl TypedStablePtr for TerminalOrOrPtr

Source§

impl TypedStablePtr for TerminalOrPtr

Source§

impl TypedStablePtr for TerminalPlusEqPtr

Source§

impl TypedStablePtr for TerminalPlusPtr

Source§

impl TypedStablePtr for TerminalPubPtr

Source§

impl TypedStablePtr for TerminalQuestionMarkPtr

Source§

impl TypedStablePtr for TerminalRBracePtr

Source§

impl TypedStablePtr for TerminalRBrackPtr

Source§

impl TypedStablePtr for TerminalRParenPtr

Source§

impl TypedStablePtr for TerminalRefPtr

Source§

impl TypedStablePtr for TerminalReturnPtr

Source§

impl TypedStablePtr for TerminalSemicolonPtr

Source§

impl TypedStablePtr for TerminalShortStringPtr

Source§

impl TypedStablePtr for TerminalStringPtr

Source§

impl TypedStablePtr for TerminalStructPtr

Source§

impl TypedStablePtr for TerminalTraitPtr

Source§

impl TypedStablePtr for TerminalTruePtr

Source§

impl TypedStablePtr for TerminalTypePtr

Source§

impl TypedStablePtr for TerminalUnderscorePtr

Source§

impl TypedStablePtr for TerminalUsePtr

Source§

impl TypedStablePtr for TerminalWhilePtr

Source§

impl TypedStablePtr for TerminalXorPtr

Source§

impl TypedStablePtr for TokenAndAndPtr

Source§

impl TypedStablePtr for TokenAndPtr

Source§

impl TypedStablePtr for TokenArrowPtr

Source§

impl TypedStablePtr for TokenAsPtr

Source§

impl TypedStablePtr for TokenAtPtr

Source§

impl TypedStablePtr for TokenBadCharactersPtr

Source§

impl TypedStablePtr for TokenBitNotPtr

Source§

impl TypedStablePtr for TokenBreakPtr

Source§

impl TypedStablePtr for TokenColonColonPtr

Source§

impl TypedStablePtr for TokenColonPtr

Source§

impl TypedStablePtr for TokenCommaPtr

Source§

impl TypedStablePtr for TokenConstPtr

Source§

impl TypedStablePtr for TokenContinuePtr

Source§

impl TypedStablePtr for TokenDivEqPtr

Source§

impl TypedStablePtr for TokenDivPtr

Source§

impl TypedStablePtr for TokenDotDotPtr

Source§

impl TypedStablePtr for TokenDotPtr

Source§

impl TypedStablePtr for TokenElsePtr

Source§

impl TypedStablePtr for TokenEmptyPtr

Source§

impl TypedStablePtr for TokenEndOfFilePtr

Source§

impl TypedStablePtr for TokenEnumPtr

Source§

impl TypedStablePtr for TokenEqEqPtr

Source§

impl TypedStablePtr for TokenEqPtr

Source§

impl TypedStablePtr for TokenExternPtr

Source§

impl TypedStablePtr for TokenFalsePtr

Source§

impl TypedStablePtr for TokenForPtr

Source§

impl TypedStablePtr for TokenFunctionPtr

Source§

impl TypedStablePtr for TokenGEPtr

Source§

impl TypedStablePtr for TokenGTPtr

Source§

impl TypedStablePtr for TokenHashPtr

Source§

impl TypedStablePtr for TokenIdentifierPtr

Source§

impl TypedStablePtr for TokenIfPtr

Source§

impl TypedStablePtr for TokenImplPtr

Source§

impl TypedStablePtr for TokenImplicitsPtr

Source§

impl TypedStablePtr for TokenLBracePtr

Source§

impl TypedStablePtr for TokenLBrackPtr

Source§

impl TypedStablePtr for TokenLEPtr

Source§

impl TypedStablePtr for TokenLParenPtr

Source§

impl TypedStablePtr for TokenLTPtr

Source§

impl TypedStablePtr for TokenLetPtr

Source§

impl TypedStablePtr for TokenLiteralNumberPtr

Source§

impl TypedStablePtr for TokenLoopPtr

Source§

impl TypedStablePtr for TokenMatchArrowPtr

Source§

impl TypedStablePtr for TokenMatchPtr

Source§

impl TypedStablePtr for TokenMinusEqPtr

Source§

impl TypedStablePtr for TokenMinusPtr

Source§

impl TypedStablePtr for TokenMissingPtr

Source§

impl TypedStablePtr for TokenModEqPtr

Source§

impl TypedStablePtr for TokenModPtr

Source§

impl TypedStablePtr for TokenModulePtr

Source§

impl TypedStablePtr for TokenMulEqPtr

Source§

impl TypedStablePtr for TokenMulPtr

Source§

impl TypedStablePtr for TokenMutPtr

Source§

impl TypedStablePtr for TokenNeqPtr

Source§

impl TypedStablePtr for TokenNewlinePtr

Source§

impl TypedStablePtr for TokenNoPanicPtr

Source§

impl TypedStablePtr for TokenNodePtr

Source§

impl TypedStablePtr for TokenNotPtr

Source§

impl TypedStablePtr for TokenOfPtr

Source§

impl TypedStablePtr for TokenOrOrPtr

Source§

impl TypedStablePtr for TokenOrPtr

Source§

impl TypedStablePtr for TokenPlusEqPtr

Source§

impl TypedStablePtr for TokenPlusPtr

Source§

impl TypedStablePtr for TokenPubPtr

Source§

impl TypedStablePtr for TokenQuestionMarkPtr

Source§

impl TypedStablePtr for TokenRBracePtr

Source§

impl TypedStablePtr for TokenRBrackPtr

Source§

impl TypedStablePtr for TokenRParenPtr

Source§

impl TypedStablePtr for TokenRefPtr

Source§

impl TypedStablePtr for TokenReturnPtr

Source§

impl TypedStablePtr for TokenSemicolonPtr

Source§

impl TypedStablePtr for TokenShortStringPtr

Source§

impl TypedStablePtr for TokenSingleLineCommentPtr

Source§

impl TypedStablePtr for TokenSingleLineDocCommentPtr

Source§

impl TypedStablePtr for TokenSingleLineInnerCommentPtr

Source§

impl TypedStablePtr for TokenSkippedPtr

Source§

impl TypedStablePtr for TokenStringPtr

Source§

impl TypedStablePtr for TokenStructPtr

Source§

impl TypedStablePtr for TokenTraitPtr

Source§

impl TypedStablePtr for TokenTruePtr

Source§

impl TypedStablePtr for TokenTypePtr

Source§

impl TypedStablePtr for TokenUnderscorePtr

Source§

impl TypedStablePtr for TokenUsePtr

Source§

impl TypedStablePtr for TokenWhilePtr

Source§

impl TypedStablePtr for TokenWhitespacePtr

Source§

impl TypedStablePtr for TokenXorPtr

Source§

impl TypedStablePtr for TraitBodyPtr

Source§

impl TypedStablePtr for TraitItemConstantPtr

Source§

impl TypedStablePtr for TraitItemFunctionPtr

Source§

impl TypedStablePtr for TraitItemImplPtr

Source§

impl TypedStablePtr for TraitItemListPtr

Source§

impl TypedStablePtr for TraitItemMissingPtr

Source§

impl TypedStablePtr for TraitItemPtr

Source§

impl TypedStablePtr for TraitItemTypePtr

Source§

impl TypedStablePtr for TriviaPtr

Source§

impl TypedStablePtr for TriviumPtr

Source§

impl TypedStablePtr for TriviumSkippedNodePtr

Source§

impl TypedStablePtr for TypeClausePtr

Source§

impl TypedStablePtr for UnaryOperatorPtr

Source§

impl TypedStablePtr for UsePathLeafPtr

Source§

impl TypedStablePtr for UsePathListPtr

Source§

impl TypedStablePtr for UsePathMultiPtr

Source§

impl TypedStablePtr for UsePathPtr

Source§

impl TypedStablePtr for UsePathSinglePtr

Source§

impl TypedStablePtr for UsePathStarPtr

Source§

impl TypedStablePtr for VariantListPtr

Source§

impl TypedStablePtr for VariantPtr

Source§

impl TypedStablePtr for VisibilityDefaultPtr

Source§

impl TypedStablePtr for VisibilityPtr

Source§

impl TypedStablePtr for VisibilityPubArgumentClausePtr

Source§

impl TypedStablePtr for VisibilityPubPtr

Source§

impl TypedStablePtr for WrappedArgListMissingPtr

Source§

impl TypedStablePtr for WrappedArgListPtr

Source§

impl TypedStablePtr for WrappedGenericParamListPtr