pub fn analyze_program_decorated(
source: &str,
language: &str,
project: ProgramProjectContext,
decorators: &DecoratorSet,
) -> Result<ProgramRepresentation, ProgramRepresentationError>Expand description
analyze_program after the cst-to-ast decorators of decorators.
They see each syntax node the model is built from as { term, text }:
setting term changes the construct the semantics read it as, and drop
leaves it out of the model. The network keeps the parsed tree either way.