@@ -303,20 +303,14 @@ export type PropertyType = number | string | boolean | PropertyType[];
303303export interface CstNode extends DocumentSegment {
304304 /** The container node in the CST */
305305 readonly container ?: CompositeCstNode ;
306- /** @deprecated use `container` instead. */
307- readonly parent ?: CompositeCstNode ;
308306 /** The actual text */
309307 readonly text : string ;
310308 /** The root CST node */
311309 readonly root : RootCstNode ;
312310 /** The grammar element from which this node was parsed */
313311 readonly grammarSource ?: AbstractElement ;
314- /** @deprecated use `grammarSource` instead. */
315- readonly feature ?: AbstractElement ;
316312 /** The AST node created from this CST node */
317313 readonly astNode : AstNode ;
318- /** @deprecated use `astNode` instead. */
319- readonly element : AstNode ;
320314 /** Whether the token is hidden, i.e. not explicitly part of the containing grammar rule */
321315 readonly hidden : boolean ;
322316}
@@ -326,8 +320,6 @@ export interface CstNode extends DocumentSegment {
326320 */
327321export interface CompositeCstNode extends CstNode {
328322 readonly content : CstNode [ ] ;
329- /** @deprecated use `content` instead. */
330- readonly children : CstNode [ ] ;
331323}
332324
333325export function isCompositeCstNode ( node : unknown ) : node is CompositeCstNode {
0 commit comments