Page MenuHomePhabricator

eolian_cxx: rework context code, also more flexible scope indentation generator

Authored by vitor.sousa on Mar 25 2019, 2:22 PM.



Context management classes now store constant copies of the tags they
are supposed to hold. So, they are immutable objects now.
Functions that manipulate context create new object copies as needed.
constexpr was added for class constructor and functions.

Indentation generator now used four space by default.
Also, the amount of desired spaces can now be specified at call site.

Added helper methods to return 'indented' and 'unindented' version of a
given indentation generator object.

Diff Detail

rEFL core/efl
No Linters Available
No Unit Test Coverage
Build Status
Buildable 10550
Build 8276: arc lint + arc unit
vitor.sousa created this revision.Mar 25 2019, 2:22 PM
vitor.sousa requested review of this revision.Mar 25 2019, 2:22 PM
  • eolian_csharp: add indentation context
vitor.sousa abandoned this revision.Mar 25 2019, 2:26 PM