• Find all CST nodes within the given node that contribute to the specified property.

    Parameters

    • node: undefined | CstNode

      A CST node in which to look for property assignments. If this is undefined, the result is an empty array.

    • property: undefined | string

      A property name of the constructed AST node. If this is undefined, the result is an empty array.

    Returns CstNode[]