cairo-lang-parser 1.1.0-alpha0

Cairo parser.
Documentation
//! > Test impl alias syntax tree.

//! > test_runner_name
test_partial_parser_tree

//! > cairo_code
impl MyImplAlias<T> = OtherImpl<Stuff, A<T>>;

//! > top_level_kind
ItemImplAlias

//! > ignored_kinds

//! > expected_diagnostics

//! > expected_tree
└── Top level kind: ItemImplAlias
    ├── attributes (kind: AttributeList) []
    ├── impl_kw (kind: TokenImpl): 'impl'
    ├── name (kind: TokenIdentifier): 'MyImplAlias'
    ├── generic_params (kind: WrappedGenericParamList)
    │   ├── langle (kind: TokenLT): '<'
    │   ├── generic_params (kind: GenericParamList)
    │   │   └── item #0 (kind: GenericParamType)
    │   │       └── name (kind: TokenIdentifier): 'T'
    │   └── rangle (kind: TokenGT): '>'
    ├── eq (kind: TokenEq): '='
    ├── impl_path (kind: ExprPath)
    │   └── item #0 (kind: PathSegmentWithGenericArgs)
    │       ├── ident (kind: TokenIdentifier): 'OtherImpl'
    │       ├── separator (kind: OptionTerminalColonColonEmpty) []
    │       └── generic_args (kind: GenericArgs)
    │           ├── langle (kind: TokenLT): '<'
    │           ├── generic_args (kind: GenericArgList)
    │           │   ├── item #0 (kind: GenericArgExpr)
    │           │   │   └── value (kind: ExprPath)
    │           │   │       └── item #0 (kind: PathSegmentSimple)
    │           │   │           └── ident (kind: TokenIdentifier): 'Stuff'
    │           │   ├── separator #0 (kind: TokenComma): ','
    │           │   └── item #1 (kind: GenericArgExpr)
    │           │       └── value (kind: ExprPath)
    │           │           └── item #0 (kind: PathSegmentWithGenericArgs)
    │           │               ├── ident (kind: TokenIdentifier): 'A'
    │           │               ├── separator (kind: OptionTerminalColonColonEmpty) []
    │           │               └── generic_args (kind: GenericArgs)
    │           │                   ├── langle (kind: TokenLT): '<'
    │           │                   ├── generic_args (kind: GenericArgList)
    │           │                   │   └── item #0 (kind: GenericArgExpr)
    │           │                   │       └── value (kind: ExprPath)
    │           │                   │           └── item #0 (kind: PathSegmentSimple)
    │           │                   │               └── ident (kind: TokenIdentifier): 'T'
    │           │                   └── rangle (kind: TokenGT): '>'
    │           └── rangle (kind: TokenGT): '>'
    └── semicolon (kind: TokenSemicolon): ';'