TextFSM.Engine.Context (TextFSM v0.1.2)

Copy Markdown View Source

Summary

Types

next_state()

@type next_state() :: nil | String.t()

t()

@type t() :: %TextFSM.Engine.Context{
  current_line_idx: non_neg_integer(),
  current_rule_idx: non_neg_integer(),
  current_state: String.t()
}

Functions

next(context, new_state \\ nil)

@spec next(t(), next_state()) :: t()

skip_rule(context)

@spec skip_rule(t()) :: t()