Makeup.Lexers.HEExLexer (makeup_eex v2.0.1)

HEEx lexer

Summary

Functions

Parses the given binary as root.

Parses the given binary as root_element.

Functions

Link to this function

root(binary, opts \\ [])

@spec 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

  • :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 \\ [])

@spec 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

  • :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__2(rest, user_acc, list, context, line, offset)

Link to this function

root_element__3(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__5(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__7(rest, acc, stack, context, line, offset)

Link to this function

root_element__8(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__15(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__18(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__24(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__28(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__36(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__39(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__45(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__49(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__57(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__60(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__66(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__70(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__78(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__81(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__87(_, _, stack, _, _, _)

Link to this function

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

Link to this function

root_element__89(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(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__99(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__102(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__108(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__112(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__120(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

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(rest, acc, stack, context, comb__line, comb__offset)

Link to this function

root_element__126(rest, acc, stack, context, line, 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(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

root_element__132(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__138(_, _, stack, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

root_element__142(_, _, list, _, _, _)

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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

Link to this function

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