Makeup.Lexers.EExLexer (makeup_eex v0.1.0)

EEx lexer

Link to this section Summary

Functions

Parses the given binary as root.

Parses the given binary as root_element.

Link to this section Functions

Link to this function

root(binary, opts \\ [])

Specs

root(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 root.

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

To column where the error occurred can be inferred from byte_offset - offset_to_start_of_line.

options

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
Link to this function

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

Link to this function

root__1(_, _, list, _, _, _)

Link to this function

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

Link to this function

root__3(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

root_element(binary, opts \\ [])

Specs

root_element(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 root_element.

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

To column where the error occurred can be inferred from byte_offset - offset_to_start_of_line.

options

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
Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__100(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__103(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

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

Link to this function

root_element__106(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__110(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__113(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__118(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__122(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__125(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__13(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__16(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__19(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__22(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__26(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__29(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__34(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__37(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__40(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

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

Link to this function

root_element__43(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__47(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__50(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__55(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__58(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__61(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

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

Link to this function

root_element__64(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__68(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__71(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__76(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__79(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__82(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

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

Link to this function

root_element__85(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__89(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__92(inner_rest, inner_acc, list, inner_context, inner_line, inner_offset)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__97(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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