|
@@ -90,14 +90,6 @@ export class NodeGuards {
|
|
|
return node.type === NodeType.ClassDeclaration && node.id !== null;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * @param {Node} node
|
|
|
- * @returns {boolean}
|
|
|
- */
|
|
|
- public static isConditionalExpressionNode (node: ESTree.Node): node is ESTree.ConditionalExpression {
|
|
|
- return node.type === NodeType.ConditionalExpression;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* @param {Node} node
|
|
|
* @returns {boolean}
|
|
@@ -366,14 +358,6 @@ export class NodeGuards {
|
|
|
return node.type === NodeType.ReturnStatement;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * @param {Node} node
|
|
|
- * @returns {boolean}
|
|
|
- */
|
|
|
- public static isSequenceExpressionNode (node: ESTree.Node): node is ESTree.SequenceExpression {
|
|
|
- return node.type === NodeType.SequenceExpression;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* @param {Node} node
|
|
|
* @returns {boolean}
|