Credo v1.4.0 Credo.Code.Token View Source

This module provides helper functions to analyse tokens returned by Credo.Code.to_tokens/1.

Link to this section Summary

Functions

Returns true if the given token contains a line break.

Returns the position of a token in the form

Link to this section Functions

Returns true if the given token contains a line break.

Returns the position of a token in the form

{line_no_start, col_start, line_no_end, col_end}