mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-06 01:50:19 +00:00
move colum state over
This commit is contained in:
parent
1a49930d1d
commit
256e7adaff
2 changed files with 7 additions and 3 deletions
|
@ -13,11 +13,11 @@ pub struct State<'a> {
|
|||
offset: usize,
|
||||
|
||||
/// Position of the start of the current line
|
||||
pub line_start: Position,
|
||||
pub(crate) line_start: Position,
|
||||
|
||||
/// Current indentation level, in columns
|
||||
/// (so no indent is col 1 - this saves an arithmetic operation.)
|
||||
pub indent_column: u32,
|
||||
pub(crate) indent_column: u32,
|
||||
}
|
||||
|
||||
impl<'a> State<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue