Rename ra_syntax -> syntax

This commit is contained in:
Aleksey Kladov 2020-08-12 18:26:51 +02:00
parent 3d6889cba7
commit a1c187eef3
958 changed files with 353 additions and 363 deletions

View file

@ -38,7 +38,7 @@ flycheck = { path = "../flycheck" }
ra_ide = { path = "../ra_ide" }
profile = { path = "../profile" }
ra_project_model = { path = "../ra_project_model" }
ra_syntax = { path = "../ra_syntax" }
syntax = { path = "../syntax" }
text_edit = { path = "../text_edit" }
vfs = { path = "../vfs" }
vfs-notify = { path = "../vfs-notify" }

View file

@ -179,7 +179,7 @@ mod tests {
use mbe::ast_to_token_tree;
use ra_cfg::CfgExpr;
use ra_syntax::{
use syntax::{
ast::{self, AstNode},
SmolStr,
};

View file

@ -11,7 +11,7 @@ use std::io::Read;
use anyhow::Result;
use ra_ide::Analysis;
use ra_syntax::{AstNode, SourceFile};
use syntax::{AstNode, SourceFile};
pub use analysis_bench::{BenchCmd, BenchWhat, Position};
pub use analysis_stats::AnalysisStatsCmd;

View file

@ -18,10 +18,10 @@ use ra_db::{
salsa::{self, ParallelDatabase},
SourceDatabaseExt,
};
use ra_syntax::AstNode;
use rayon::prelude::*;
use rustc_hash::FxHashSet;
use stdx::format_to;
use syntax::AstNode;
use crate::{
cli::{

View file

@ -3,7 +3,7 @@ use std::convert::TryFrom;
use ra_db::{FileId, FilePosition, FileRange};
use ra_ide::{AssistKind, LineCol, LineIndex};
use ra_syntax::{TextRange, TextSize};
use syntax::{TextRange, TextSize};
use vfs::AbsPathBuf;
use crate::{global_state::GlobalStateSnapshot, Result};

View file

@ -23,10 +23,10 @@ use ra_ide::{
RangeInfo, Runnable, RunnableKind, SearchScope, TextEdit,
};
use ra_project_model::TargetKind;
use ra_syntax::{algo, ast, AstNode, SyntaxKind, TextRange, TextSize};
use serde::{Deserialize, Serialize};
use serde_json::to_value;
use stdx::{format_to, split_once};
use syntax::{algo, ast, AstNode, SyntaxKind, TextRange, TextSize};
use crate::{
cargo_target_spec::CargoTargetSpec,

View file

@ -12,7 +12,7 @@ use ra_ide::{
Indel, InlayHint, InlayKind, InsertTextFormat, LineIndex, Markup, NavigationTarget,
ReferenceAccess, ResolvedAssist, Runnable, Severity, SourceChange, SourceFileEdit, TextEdit,
};
use ra_syntax::{SyntaxKind, TextRange, TextSize};
use syntax::{SyntaxKind, TextRange, TextSize};
use crate::{
cargo_target_spec::CargoTargetSpec, global_state::GlobalStateSnapshot,