Skip to content

Commit

Permalink
Update Indent.java to get indent level (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jugen authored Jan 26, 2021
1 parent 294b828 commit b813861
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,12 @@ Indent decrease()
{
return new Indent( level-1 );
}

int getLevel() { return level; }

@Override
public String toString()
{
return "indent: "+ level;
}
}

0 comments on commit b813861

Please sign in to comment.