Skip to content

Commit

Permalink
Export more items (#1394)
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron authored Jan 8, 2025
1 parent 73e4017 commit 3a5ce8c
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@ export * from './Scope';
export * from './files/BrsFile';
export * from './files/XmlFile';
export * from './util';
export { Watcher } from './Watcher';
export * from './Watcher';
export * from './interfaces';
export * from './LanguageServer';
export * from './XmlScope';
export * from './lexer/TokenKind';
export * from './lexer/Token';
export { Lexer } from './lexer/Lexer';
export * from './lexer/Lexer';
export * from './parser/Parser';
export * from './parser/AstNode';
export * from './parser/Expression';
export * from './parser/Statement';
export * from './BsConfig';
export * from './deferred';
// convenience re-export from vscode
export { Diagnostic, Range, Location, Position, CancellationToken, CancellationTokenSource, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, SemanticTokenTypes, CodeAction, CodeDescription, URI } from 'vscode-languageserver';
export * from './astUtils/visitors';
export * from './astUtils/stackedVisitor';
export * from './astUtils/reflection';
Expand All @@ -27,3 +25,32 @@ export * from './astUtils/xml';
export * from './astUtils/AstEditor';
export * from './BusyStatusTracker';
export * from './Logger';
export * from './parser/SGTypes';
export * from './parser/SGParser';
export * from './CodeActionUtil';
export * from './DependencyGraph';
export * from './PluginInterface';

// convenience exports from related libraries
export {
Diagnostic,
Range,
Location,
Position,
CancellationToken, CancellationTokenSource,
DiagnosticRelatedInformation,
DiagnosticSeverity, DiagnosticTag,
SemanticTokenTypes,
CodeAction,
CodeDescription,
URI
} from 'vscode-languageserver';
export type {
RawSourceMap,
StartOfSourceMap,
CodeWithSourceMap
} from 'source-map';
export {
SourceNode,
SourceMapConsumer
} from 'source-map';

0 comments on commit 3a5ce8c

Please sign in to comment.