Add pub access to Define members #44
This commit is contained in:
parent
d3d810fb8e
commit
dc82f83903
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## [Unreleased](https://github.com/dalance/sv-parser/compare/v0.11.1...Unreleased) - ReleaseDate
|
## [Unreleased](https://github.com/dalance/sv-parser/compare/v0.11.1...Unreleased) - ReleaseDate
|
||||||
|
|
||||||
|
* [Changed] pub access to Define members
|
||||||
|
|
||||||
## [v0.11.1](https://github.com/dalance/sv-parser/compare/v0.11.0...v0.11.1) - 2021-03-05
|
## [v0.11.1](https://github.com/dalance/sv-parser/compare/v0.11.0...v0.11.1) - 2021-03-05
|
||||||
|
|
||||||
* [Fixed] include with comment error
|
* [Fixed] include with comment error
|
||||||
|
@ -83,15 +83,15 @@ impl PreprocessedText {
|
|||||||
|
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub struct Define {
|
pub struct Define {
|
||||||
identifier: String,
|
pub identifier: String,
|
||||||
arguments: Vec<(String, Option<String>)>,
|
pub arguments: Vec<(String, Option<String>)>,
|
||||||
text: Option<DefineText>,
|
pub text: Option<DefineText>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub struct DefineText {
|
pub struct DefineText {
|
||||||
text: String,
|
pub text: String,
|
||||||
origin: Option<(PathBuf, Range)>,
|
pub origin: Option<(PathBuf, Range)>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Define {
|
impl Define {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user