From dde3084106a70b9a79d48f426f6d6fec6fd203f7 Mon Sep 17 00:00:00 2001 From: akianonymus Date: Mon, 27 Feb 2023 14:30:10 +0530 Subject: Separate parsers into individual files --- doc/modules/colorizer.parser.rgb.html | 127 ++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 doc/modules/colorizer.parser.rgb.html (limited to 'doc/modules/colorizer.parser.rgb.html') diff --git a/doc/modules/colorizer.parser.rgb.html b/doc/modules/colorizer.parser.rgb.html new file mode 100644 index 0000000..0e30612 --- /dev/null +++ b/doc/modules/colorizer.parser.rgb.html @@ -0,0 +1,127 @@ + + + + + colorizer Docs + + + + +
+ +
+ +
+
+
+ + +
+ + + + + + +
+ +

Module colorizer.parser.rgb

+

Helper function to parse argb

+

+ +

+ + +

Functions

+ + + + + +
parser.rgb_function_parser (line, i, opts)Parse for rgb() rgba() css function and return rgb hex.
+ +
+
+ + +

Functions

+ +
+
+ + parser.rgb_function_parser (line, i, opts) +
+
+ Parse for rgb() rgba() css function and return rgb hex. + For more info: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb + + +

Parameters:

+
    +
  • line + string: Line to parse +
  • +
  • i + number: Index of line from where to start parsing +
  • +
  • opts + table: Values passed from matchers like prefix +
  • +
+ +

Returns:

+
    +
  1. + number|nil: Index of line where the rgb/rgba function ended
  2. +
  3. + string|nil: rgb hex value
  4. +
+ + + + +
+
+ + +
+
+
+generated by LDoc 1.4.6 +Last updated - February +
+
+ + -- cgit v1.2.3-70-g09d2