SC (sc v1.0.2)
View Source⚠️ DEPRECATED: This package has been renamed to Statifier.
Migration
This sc package is deprecated. Please migrate to the new statifier package:
# In mix.exs
def deps do
[
{:statifier, "~> 1.1"} # ✅ Use this instead
# {:sc, "~> 1.0"} # ❌ Deprecated
]
endCode Migration
Simply replace SC. with Statifier. throughout your codebase:
# Old (deprecated)
{:ok, document} = SC.parse(xml)
{:ok, state_chart} = SC.interpret(document)
# New (current)
{:ok, document} = Statifier.parse(xml)
{:ok, state_chart} = Statifier.interpret(document)New Repository: https://github.com/riddler/statifier Documentation: https://hexdocs.pm/statifier
Summary
Functions
interpret(document)
deprecated
parse(source_string)
deprecated
validate(document)
deprecated
Functions
This function is deprecated. Use Statifier.interpret/1 instead. Add {:statifier, "~> 1.1"} to deps and replace SC with Statifier..
This function is deprecated. Use Statifier.parse/1 instead. Add {:statifier, "~> 1.1"} to deps and replace SC with Statifier..
This function is deprecated. Use Statifier.validate/1 instead. Add {:statifier, "~> 1.1"} to deps and replace SC with Statifier..