Kuddle.Tokens (Kuddle v1.1.0) View Source

Tokens emitted by the Tokenizers.

Link to this section Summary

Link to this section Types

Link to this type

close_annotation_token()

View Source

Specs

close_annotation_token() :: {:close_annotation, unused :: any(), token_meta()}

Specs

close_block_token() :: {:close_block, unused :: any(), token_meta()}

Specs

comment_token() :: {:comment, {comment_type(), String.t()}, token_meta()}

Specs

comment_type() :: :line | :span | :multiline

Specs

dquote_string_token() :: {:dquote_string, String.t(), token_meta()}

Specs

equal_token() :: {:=, unused :: any(), token_meta()}

Specs

fold_token() :: {:fold, unused :: any(), token_meta()}

Specs

newline_token() :: {:nl, unused :: any(), token_meta()}
Link to this type

open_annotation_token()

View Source

Specs

open_annotation_token() :: {:open_annotation, unused :: any(), token_meta()}

Specs

open_block_token() :: {:open_block, unused :: any(), token_meta()}

Specs

raw_string_token() :: {:raw_string, String.t(), token_meta()}

Specs

semicolon_token() :: {:sc, unused :: any(), token_meta()}

Specs

slashdash_token() :: {:slashdash, unused :: any(), token_meta()}

Specs

space_token() :: {:space, {String.t(), len :: non_neg_integer()}, token_meta()}

Specs

term_token() :: {:term, String.t(), token_meta()}

Specs

token_meta() :: {:token_meta, line_no :: integer(), col_no :: integer()}

Link to this section Functions

Link to this macro

r_annotation_token(args \\ [])

View Source (macro)
Link to this macro

r_annotation_token(record, args)

View Source (macro)
Link to this macro

r_close_annotation_token(args \\ [])

View Source (macro)
Link to this macro

r_close_annotation_token(record, args)

View Source (macro)
Link to this macro

r_close_block_token(args \\ [])

View Source (macro)
Link to this macro

r_close_block_token(record, args)

View Source (macro)
Link to this macro

r_comment_token(args \\ [])

View Source (macro)
Link to this macro

r_comment_token(record, args)

View Source (macro)
Link to this macro

r_dquote_string_token(args \\ [])

View Source (macro)
Link to this macro

r_dquote_string_token(record, args)

View Source (macro)
Link to this macro

r_equal_token(args \\ [])

View Source (macro)
Link to this macro

r_equal_token(record, args)

View Source (macro)
Link to this macro

r_fold_token(args \\ [])

View Source (macro)
Link to this macro

r_fold_token(record, args)

View Source (macro)
Link to this macro

r_newline_token(args \\ [])

View Source (macro)
Link to this macro

r_newline_token(record, args)

View Source (macro)
Link to this macro

r_open_annotation_token(args \\ [])

View Source (macro)
Link to this macro

r_open_annotation_token(record, args)

View Source (macro)
Link to this macro

r_open_block_token(args \\ [])

View Source (macro)
Link to this macro

r_open_block_token(record, args)

View Source (macro)
Link to this macro

r_raw_string_token(args \\ [])

View Source (macro)
Link to this macro

r_raw_string_token(record, args)

View Source (macro)
Link to this macro

r_semicolon_token(args \\ [])

View Source (macro)
Link to this macro

r_semicolon_token(record, args)

View Source (macro)
Link to this macro

r_slashdash_token(args \\ [])

View Source (macro)
Link to this macro

r_slashdash_token(record, args)

View Source (macro)
Link to this macro

r_space_token(args \\ [])

View Source (macro)
Link to this macro

r_space_token(record, args)

View Source (macro)
Link to this macro

r_term_token(args \\ [])

View Source (macro)
Link to this macro

r_term_token(record, args)

View Source (macro)
Link to this macro

r_token_meta(args \\ [])

View Source (macro)
Link to this macro

r_token_meta(record, args)

View Source (macro)