Skip to content

Commit

Permalink
fix(style): fix the lint rule introuducing by new RightCapital ESLint…
Browse files Browse the repository at this point in the history
… preset
  • Loading branch information
rainx committed Feb 1, 2024
1 parent 58c2de6 commit 7cac057
Show file tree
Hide file tree
Showing 39 changed files with 67 additions and 67 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ export { TokenIterator } from './phpdoc-parser/parser/token-iterator';
export { PhpDocParser } from './phpdoc-parser/parser/php-doc-parser';
export { TypeParser } from './phpdoc-parser/parser/type-parser';
export { BaseNode } from './phpdoc-parser/ast/base-node';
export { Node } from './phpdoc-parser/ast/node';
export type { Node } from './phpdoc-parser/ast/node';
export { NodeTraverser } from './phpdoc-parser/ast/node-traverser';
export { CloningVisitor } from './phpdoc-parser/ast/node-visitor/cloning-visitor';
export { NodeVisitor } from './phpdoc-parser/ast/node-visitor';
export type { NodeVisitor } from './phpdoc-parser/ast/node-visitor';
export { NodeTraverserState, Attribute } from './phpdoc-parser/ast/types';
export { IdentifierTypeNode } from './phpdoc-parser/ast/type/identifier-type-node';
export { CallableTypeParameterNode } from './phpdoc-parser/ast/type/callable-type-parameter-node';
Expand Down
4 changes: 2 additions & 2 deletions src/phpdoc-parser/ast/abstract-node-visitor.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Node } from './node';
import {
import type { Node } from './node';
import type {
NodeTraverserBeforeAfterReturn,
NodeTraverserEnterReturn,
NodeTraverserLeaveReturn,
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/base-node.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Node } from './node';
import type { Node } from './node';

export abstract class BaseNode implements Node {
private attributes: { [key: string]: unknown } = {};
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/const-expr/const-expr-array-node.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ConstExprArrayItemNode } from './const-expr-array-item-node';
import type { ConstExprArrayItemNode } from './const-expr-array-item-node';
import { ConstExprNode } from './const-expr-node';

export class ConstExprArrayNode extends ConstExprNode {
Expand Down
4 changes: 2 additions & 2 deletions src/phpdoc-parser/ast/node-traverser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/* eslint-disable no-plusplus */
import { BaseNode } from './base-node';
import { ConstExprNode } from './const-expr/const-expr-node';
import { Node } from './node';
import { NodeVisitor } from './node-visitor';
import type { Node } from './node';
import type { NodeVisitor } from './node-visitor';
import { PhpDocChildNode } from './php-doc/php-doc-child-node';
import { PhpDocTagValueNode } from './php-doc/php-doc-tag-value-node';
import { TypeNode } from './type/type-node';
Expand Down
4 changes: 2 additions & 2 deletions src/phpdoc-parser/ast/node-visitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* All rights reserved.
*/

import { Node } from './node';
import { NodeTraverserState } from './types';
import type { Node } from './node';
import type { NodeTraverserState } from './types';

export type NodeTraverserEnterReturn =
| Node
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/node-visitor/cloning-visitor.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { cloneDeep } from 'lodash';
import { AbstractNodeVisitor } from '../abstract-node-visitor';
import { Node } from '../node';
import type { Node } from '../node';
import { Attribute } from '../types';

export class CloningVisitor extends AbstractNodeVisitor {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class AssertTagMethodValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class AssertTagPropertyValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/assert-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class AssertTagValueNode extends PhpDocTagValueNode {
// Defining Types -- Types are set explicitly for public variables
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/extends-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { GenericTypeNode } from '../type/generic-type-node';
import type { GenericTypeNode } from '../type/generic-type-node';

export class ExtendsTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/implements-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { GenericTypeNode } from '../type/generic-type-node';
import type { GenericTypeNode } from '../type/generic-type-node';

export class ImplementsTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
6 changes: 3 additions & 3 deletions src/phpdoc-parser/ast/php-doc/method-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { MethodTagValueParameterNode } from './method-tag-value-parameter-node';
import type { MethodTagValueParameterNode } from './method-tag-value-parameter-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TemplateTagValueNode } from './template-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TemplateTagValueNode } from './template-tag-value-node';
import type { TypeNode } from '../type/type-node';

export class MethodTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { ConstExprNode } from '../const-expr/const-expr-node';
import { TypeNode } from '../type/type-node';
import type { ConstExprNode } from '../const-expr/const-expr-node';
import type { TypeNode } from '../type/type-node';

export class MethodTagValueParameterNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/mixin-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class MixinTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/param-out-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class ParamOutTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/param-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class ParamTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
4 changes: 2 additions & 2 deletions src/phpdoc-parser/ast/php-doc/php-doc-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { ExtendsTagValueNode } from './extends-tag-value-node';
import { ImplementsTagValueNode } from './implements-tag-value-node';
import { MixinTagValueNode } from './mixin-tag-value-node';
import { ParamTagValueNode } from './param-tag-value-node';
import { PhpDocChildNode } from './php-doc-child-node';
import type { PhpDocChildNode } from './php-doc-child-node';
import { PhpDocTagNode } from './php-doc-tag-node';
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import type { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { ReturnTagValueNode } from './return-tag-value-node';
import { TemplateTagValueNode } from './template-tag-value-node';
import { ThrowsTagValueNode } from './throws-tag-value-node';
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/property-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class PropertyTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/return-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class ReturnTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/self-out-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class SelfOutTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/template-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class TemplateTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/throws-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class ThrowsTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { IdentifierTypeNode } from '../type/identifier-type-node';
import type { IdentifierTypeNode } from '../type/identifier-type-node';

export class TypeAliasImportTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/type-alias-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class TypeAliasTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/uses-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Import statements, adjusted as per your TypeScript project setup
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { GenericTypeNode } from '../type/generic-type-node';
import type { GenericTypeNode } from '../type/generic-type-node';

export class UsesTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/php-doc/var-tag-value-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhpDocTagValueNode } from './php-doc-tag-value-node';
import { TypeNode } from '../type/type-node';
import type { TypeNode } from '../type/type-node';

export class VarTagValueNode extends PhpDocTagValueNode {
constructor(
Expand Down
6 changes: 3 additions & 3 deletions src/phpdoc-parser/ast/type/array-shape-item-node.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { IdentifierTypeNode } from './identifier-type-node';
import type { IdentifierTypeNode } from './identifier-type-node';
import { TypeNode } from './type-node';
import { ConstExprIntegerNode } from '../const-expr/const-expr-integer-node';
import { ConstExprStringNode } from '../const-expr/const-expr-string-node';
import type { ConstExprIntegerNode } from '../const-expr/const-expr-integer-node';
import type { ConstExprStringNode } from '../const-expr/const-expr-string-node';

export class ArrayShapeItemNode extends TypeNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/type/array-shape-node.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ArrayShapeItemNode } from './array-shape-item-node';
import type { ArrayShapeItemNode } from './array-shape-item-node';
import { TypeNode } from './type-node';

export enum ArrayShapeNodeKind {
Expand Down
4 changes: 2 additions & 2 deletions src/phpdoc-parser/ast/type/callable-type-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CallableTypeParameterNode } from './callable-type-parameter-node';
import { IdentifierTypeNode } from './identifier-type-node';
import type { CallableTypeParameterNode } from './callable-type-parameter-node';
import type { IdentifierTypeNode } from './identifier-type-node';
import { TypeNode } from './type-node';

export class CallableTypeNode extends TypeNode {
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/type/const-type-node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TypeNode } from './type-node';
import { ConstExprNode } from '../const-expr/const-expr-node';
import type { ConstExprNode } from '../const-expr/const-expr-node';

export class ConstTypeNode extends TypeNode {
constructor(public constExpr: ConstExprNode) {
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/type/generic-type-node.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IdentifierTypeNode } from './identifier-type-node';
import type { IdentifierTypeNode } from './identifier-type-node';
import { TypeNode } from './type-node';

export type GenericTypeNodeVariance =
Expand Down
4 changes: 2 additions & 2 deletions src/phpdoc-parser/ast/type/object-shape-item-node.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { IdentifierTypeNode } from './identifier-type-node';
import type { IdentifierTypeNode } from './identifier-type-node';
import { TypeNode } from './type-node';
import { ConstExprStringNode } from '../const-expr/const-expr-string-node';
import type { ConstExprStringNode } from '../const-expr/const-expr-string-node';

export class ObjectShapeItemNode extends TypeNode {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/phpdoc-parser/ast/type/object-shape-node.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ObjectShapeItemNode } from './object-shape-item-node';
import type { ObjectShapeItemNode } from './object-shape-item-node';
import { TypeNode } from './type-node';

export class ObjectShapeNode extends TypeNode {
Expand Down
4 changes: 2 additions & 2 deletions src/phpdoc-parser/parser/const-expr-parser.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { ParserException } from './parser-exception';
import { StringUnescaper } from './string-unescaper';
import { TokenIterator } from './token-iterator';
import type { TokenIterator } from './token-iterator';
import { ConstExprArrayItemNode } from '../ast/const-expr/const-expr-array-item-node';
import { ConstExprArrayNode } from '../ast/const-expr/const-expr-array-node';
import { ConstExprFalseNode } from '../ast/const-expr/const-expr-false-node';
import { ConstExprFloatNode } from '../ast/const-expr/const-expr-float-node';
import { ConstExprIntegerNode } from '../ast/const-expr/const-expr-integer-node';
import { ConstExprNode } from '../ast/const-expr/const-expr-node';
import type { ConstExprNode } from '../ast/const-expr/const-expr-node';
import { ConstExprNullNode } from '../ast/const-expr/const-expr-null-node';
import { ConstExprStringNode } from '../ast/const-expr/const-expr-string-node';
import { ConstExprTrueNode } from '../ast/const-expr/const-expr-true-node';
Expand Down
4 changes: 2 additions & 2 deletions src/phpdoc-parser/parser/node-collecting-visitor.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AbstractNodeVisitor } from '../ast/abstract-node-visitor';
import { Node } from '../ast/node';
import { NodeTraverserEnterReturn } from '../ast/node-visitor';
import type { Node } from '../ast/node';
import type { NodeTraverserEnterReturn } from '../ast/node-visitor';

export class NodeCollectingVisitor extends AbstractNodeVisitor {
public nodes: Array<Node> = [];
Expand Down
18 changes: 9 additions & 9 deletions src/phpdoc-parser/parser/php-doc-parser.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { ConstExprParser } from './const-expr-parser';
import { ParserException } from './parser-exception';
import { TokenIterator } from './token-iterator';
import { TypeParser } from './type-parser';
import { BaseNode } from '../ast/base-node';
import { ConstExprNode } from '../ast/const-expr/const-expr-node';
import type { ConstExprParser } from './const-expr-parser';
import type { ParserException } from './parser-exception';
import type { TokenIterator } from './token-iterator';
import type { TypeParser } from './type-parser';
import type { BaseNode } from '../ast/base-node';
import type { ConstExprNode } from '../ast/const-expr/const-expr-node';
import { AssertTagMethodValueNode } from '../ast/php-doc/assert-tag-method-value-node';
import { AssertTagPropertyValueNode } from '../ast/php-doc/assert-tag-property-value-node';
import { AssertTagValueNode } from '../ast/php-doc/assert-tag-value-node';
Expand All @@ -17,10 +17,10 @@ import { MethodTagValueParameterNode } from '../ast/php-doc/method-tag-value-par
import { MixinTagValueNode } from '../ast/php-doc/mixin-tag-value-node';
import { ParamOutTagValueNode } from '../ast/php-doc/param-out-tag-value-node';
import { ParamTagValueNode } from '../ast/php-doc/param-tag-value-node';
import { PhpDocChildNode } from '../ast/php-doc/php-doc-child-node';
import type { PhpDocChildNode } from '../ast/php-doc/php-doc-child-node';
import { PhpDocNode } from '../ast/php-doc/php-doc-node';
import { PhpDocTagNode } from '../ast/php-doc/php-doc-tag-node';
import { PhpDocTagValueNode } from '../ast/php-doc/php-doc-tag-value-node';
import type { PhpDocTagValueNode } from '../ast/php-doc/php-doc-tag-value-node';
import { PhpDocTextNode } from '../ast/php-doc/php-doc-text-node';
import { PropertyTagValueNode } from '../ast/php-doc/property-tag-value-node';
import { ReturnTagValueNode } from '../ast/php-doc/return-tag-value-node';
Expand All @@ -34,7 +34,7 @@ import { UsesTagValueNode } from '../ast/php-doc/uses-tag-value-node';
import { VarTagValueNode } from '../ast/php-doc/var-tag-value-node';
import { IdentifierTypeNode } from '../ast/type/identifier-type-node';
import { InvalidTypeNode } from '../ast/type/invalid-type-node';
import { TypeNode } from '../ast/type/type-node';
import type { TypeNode } from '../ast/type/type-node';
import { Attribute } from '../ast/types';
import { Lexer } from '../lexer/lexer';

Expand Down
12 changes: 6 additions & 6 deletions src/phpdoc-parser/parser/type-parser.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { ConstExprParser } from './const-expr-parser';
import type { ConstExprParser } from './const-expr-parser';
import { ParserException } from './parser-exception';
import { StringUnescaper } from './string-unescaper';
import { TokenIterator } from './token-iterator';
import { BaseNode } from '../ast/base-node';
import type { TokenIterator } from './token-iterator';
import type { BaseNode } from '../ast/base-node';
import { ConstExprArrayNode } from '../ast/const-expr/const-expr-array-node';
import { ConstExprIntegerNode } from '../ast/const-expr/const-expr-integer-node';
import { ConstExprStringNode } from '../ast/const-expr/const-expr-string-node';
import { QuoteAwareConstExprStringNode } from '../ast/const-expr/quote-aware-const-expr-string-node';
import { ArrayShapeItemNode } from '../ast/type/array-shape-item-node';
import {
ArrayShapeNode,
ArrayShapeNodeKind,
type ArrayShapeNodeKind,
} from '../ast/type/array-shape-node';
import { ArrayTypeNode } from '../ast/type/array-type-node';
import { CallableTypeNode } from '../ast/type/callable-type-node';
Expand All @@ -20,7 +20,7 @@ import { ConditionalTypeNode } from '../ast/type/conditional-type-node';
import { ConstTypeNode } from '../ast/type/const-type-node';
import {
GenericTypeNode,
GenericTypeNodeVariance,
type GenericTypeNodeVariance,
} from '../ast/type/generic-type-node';
import { IdentifierTypeNode } from '../ast/type/identifier-type-node';
import { IntersectionTypeNode } from '../ast/type/intersection-type-node';
Expand All @@ -29,7 +29,7 @@ import { ObjectShapeItemNode } from '../ast/type/object-shape-item-node';
import { ObjectShapeNode } from '../ast/type/object-shape-node';
import { OffsetAccessTypeNode } from '../ast/type/offset-access-type-node';
import { ThisTypeNode } from '../ast/type/this-type-node';
import { TypeNode } from '../ast/type/type-node';
import type { TypeNode } from '../ast/type/type-node';
import { UnionTypeNode } from '../ast/type/union-type-node';
import { Attribute } from '../ast/types';
import { Lexer } from '../lexer/lexer';
Expand Down
4 changes: 2 additions & 2 deletions src/phpdoc-parser/printer/printer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Differ } from './differ';
import { BaseNode } from '../ast/base-node';
import { ConstExprArrayNode } from '../ast/const-expr/const-expr-array-node';
import { ConstExprNode } from '../ast/const-expr/const-expr-node';
import { Node } from '../ast/node';
import type { Node } from '../ast/node';
import { AssertTagMethodValueNode } from '../ast/php-doc/assert-tag-method-value-node';
import { AssertTagPropertyValueNode } from '../ast/php-doc/assert-tag-property-value-node';
import { AssertTagValueNode } from '../ast/php-doc/assert-tag-value-node';
Expand Down Expand Up @@ -48,7 +48,7 @@ import { TypeNode } from '../ast/type/type-node';
import { UnionTypeNode } from '../ast/type/union-type-node';
import { Attribute } from '../ast/types';
import { Lexer } from '../lexer/lexer';
import { TokenIterator } from '../parser/token-iterator';
import type { TokenIterator } from '../parser/token-iterator';

export class Printer {
private differ: Differ<Node>;
Expand Down

0 comments on commit 7cac057

Please sign in to comment.