Soulless.Protobuf.Parser (Soulless v0.1.0) View Source

Link to this section Summary

Functions

Parses the given binary as parse.

Link to this section Functions

Link to this function

field__0(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__1(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__10(rest, acc, list, context, line, offset)

View Source
Link to this function

field__11(_, _, stack, _, _, _)

View Source
Link to this function

field__12(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__13(rest, acc, list, context, line, offset)

View Source
Link to this function

field__14(_, _, stack, _, _, _)

View Source
Link to this function

field__15(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__16(rest, acc, list, context, line, offset)

View Source
Link to this function

field__17(_, _, stack, _, _, _)

View Source
Link to this function

field__18(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__19(rest, acc, list, context, line, offset)

View Source
Link to this function

field__2(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__20(_, _, stack, _, _, _)

View Source
Link to this function

field__21(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__22(rest, acc, list, context, line, offset)

View Source
Link to this function

field__23(_, _, stack, _, _, _)

View Source
Link to this function

field__24(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__25(rest, acc, list, context, line, offset)

View Source
Link to this function

field__26(_, _, stack, _, _, _)

View Source
Link to this function

field__27(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__28(rest, acc, list, context, line, offset)

View Source
Link to this function

field__29(_, _, stack, _, _, _)

View Source
Link to this function

field__3(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__30(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__31(rest, acc, list, context, line, offset)

View Source
Link to this function

field__32(_, _, stack, _, _, _)

View Source
Link to this function

field__33(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__34(rest, acc, list, context, line, offset)

View Source
Link to this function

field__35(_, _, stack, _, _, _)

View Source
Link to this function

field__36(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__37(rest, acc, list, context, line, offset)

View Source
Link to this function

field__38(_, _, stack, _, _, _)

View Source
Link to this function

field__39(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__4(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__40(rest, acc, list, context, line, offset)

View Source
Link to this function

field__41(_, _, stack, _, _, _)

View Source
Link to this function

field__42(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__43(rest, acc, list, context, line, offset)

View Source
Link to this function

field__44(_, _, stack, _, _, _)

View Source
Link to this function

field__45(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__46(rest, acc, list, context, line, offset)

View Source
Link to this function

field__47(_, _, stack, _, _, _)

View Source
Link to this function

field__48(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__49(rest, acc, list, context, line, offset)

View Source
Link to this function

field__5(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__50(_, _, stack, _, _, _)

View Source
Link to this function

field__51(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__52(rest, acc, list, context, line, offset)

View Source
Link to this function

field__53(_, _, stack, _, _, _)

View Source
Link to this function

field__54(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__55(rest, acc, list, context, line, offset)

View Source
Link to this function

field__56(_, _, stack, _, _, _)

View Source
Link to this function

field__57(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__58(rest, acc, list, context, line, offset)

View Source
Link to this function

field__59(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__6(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__60(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__61(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__62(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__63(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__64(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__65(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__66(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__67(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__68(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__69(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__7(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__70(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__71(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__72(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__73(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__74(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__75(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__76(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__77(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__78(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__79(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__8(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__80(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__81(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__82(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__83(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__84(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__85(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__86(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__87(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__88(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__89(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__9(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__90(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__91(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__92(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__93(rest, acc, stack, context, line, offset)

View Source
Link to this function

field__94(rest, user_acc, list, context, line, offset)

View Source
Link to this function

field__95(rest, acc, stack, context, comb__line, comb__offset)

View Source
Link to this function

field__96(rest, acc, stack, context, line, offset)

View Source
Link to this function

parse(binary, opts \\ [])

View Source

Specs

parse(binary(), keyword()) ::
  {:ok, [term()], rest, context, line, byte_offset}
  | {:error, reason, rest, context, line, byte_offset}
when line: {pos_integer(), byte_offset},
     byte_offset: pos_integer(),
     rest: binary(),
     reason: String.t(),
     context: map()

Parses the given binary as parse.

Returns {:ok, [token], rest, context, position, byte_offset} or {:error, reason, rest, context, line, byte_offset} where position describes the location of the parse (start position) as {line, column_on_line}.

Options

  • :byte_offset - the byte offset for the whole binary, defaults to 0
  • :line - the line and the byte offset into that line, defaults to {1, byte_offset}
  • :context - the initial context value. It will be converted to a map