Skip to content

Commit

Permalink
Fix rebase errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gfontorbe committed Apr 13, 2023
1 parent e4ca192 commit 3d52cf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ import type { Stream } from '../../utils/stream';
import type { ReferenceDescription } from '../../workspace/ast-descriptions';
import type { LangiumDocuments } from '../../workspace/documents';
import type { Action, Assignment, Interface, ParserRule, Type, TypeAttribute } from '../generated/ast';
import type { FindReferencesOptions } from '../../references/references';
import { DefaultReferences } from '../../references/references';
import { getContainerOfType, getDocument, streamAst } from '../../utils/ast-util';
import { getContainerOfType, getDocument } from '../../utils/ast-util';
import { toDocumentSegment } from '../../utils/cst-util';
import { findAssignment, findNodeForProperty } from '../../utils/grammar-util';
import { stream } from '../../utils/stream';
Expand Down
8 changes: 2 additions & 6 deletions packages/langium/src/references/references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,13 @@ import type { ReferenceDescription } from '../workspace/ast-descriptions';
import type { AstNodeLocator } from '../workspace/ast-node-locator';
import type { IndexManager } from '../workspace/index-manager';
import type { NameProvider } from './name-provider';
import type { URI } from 'vscode-uri';
import { findAssignment } from '../utils/grammar-util';
import { isReference } from '../syntax-tree';
import { getDocument, streamAst, streamReferences } from '../utils/ast-util';
import { getDocument } from '../utils/ast-util';
import { isCstChildNode, toDocumentSegment } from '../utils/cst-util';
import { stream } from '../utils/stream';
import { equalURI } from '../utils/uri-util';
import { ReferenceDescription } from '../workspace/ast-descriptions';
import { AstNodeLocator } from '../workspace/ast-node-locator';
import { IndexManager } from '../workspace/index-manager';
import { NameProvider } from './name-provider';
import { URI } from 'vscode-uri';

/**
* Language-specific service for finding references and declaration of a given `CstNode`.
Expand Down

0 comments on commit 3d52cf4

Please sign in to comment.