Skip to main content

Module ast

Module ast 

Source
Expand description

The AST dump: AstNode, Span, AstCfg, AstResponse, and the walk that builds them.

Structs§

AstCfg
Configuration options for retrieving the nodes of an AST.
AstNode
Information on an AST node.
AstPayload
The payload of an Ast request.
AstResponse
The response of an AST request.
Span
Start and end positions of a node in a code in terms of lines, columns, and byte offsets.

Constants§

MAX_AST_SERIALIZE_DEPTH
Greatest AST depth AstNode will serialize.

Functions§

dump_inner
Build the AST dump for parser under cfg. Backs big_code_analysis::Ast::dump; the AST-extraction analogue of big_code_analysis::spaces::metrics_inner / big_code_analysis::ops::ops_inner.