Langium - v4.0.0
    Preparing search index...

    Function findNodesForKeyword

    • Find all CST nodes within the given node that correspond to the specified keyword.

      Parameters

      • node: undefined | CstNode

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

      • keyword: string

        A keyword as specified in the grammar.

      Returns CstNode[]