about summary refs log tree commit diff stats
path: root/html/013literal_string.cc.html
Commit message (Collapse)AuthorAgeFilesLines
* 1631 - update html versionsKartik K. Agaram2015-06-231-17/+129
| | | | | | Html is a little more readable thanks to feedback from J David Eisenberg (https://news.ycombinator.com/item?id=9766330), in particular the suggestion to use https://addons.mozilla.org/En-us/firefox/addon/wcag-contrast-checker.
* 1556Kartik K. Agaram2015-06-121-1/+1
|
* 1549Kartik K. Agaram2015-06-091-2/+2
|
* 1517Kartik K. Agaram2015-05-301-9/+24
|
* 1461 - descriptions/table of contents for the layersKartik K. Agaram2015-05-261-1/+1
|
* 1459Kartik K. Agaram2015-05-251-7/+7
|
* 1376 - update github docsKartik K. Agaram2015-05-141-4/+4
|
* 1291Kartik K. Agaram2015-05-061-1/+1
|
* 1279 - colorized rendering of the source filesKartik K. Agaram2015-05-061-0/+115
* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*                         LEXICAL ANALYSOR (MAINLY FOR CONFIG FILES)

 */

#ifndef HTLEX_H
#define HTLEX_H

#ifndef HTUTILS_H
#include <HTUtils.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif
    typedef enum {
	LEX_NONE,		/* Internally used      */
	LEX_EOF,		/* End of file          */
	LEX_REC_SEP,		/* Record separator     */
	LEX_FIELD_SEP,		/* Field separator      */
	LEX_ITEM_SEP,		/* List item separator  */
	LEX_OPEN_PAREN,		/* Group start tag      */
	LEX_CLOSE_PAREN,	/* Group end tag        */
	LEX_AT_SIGN,		/* Address qualifier    */
	LEX_ALPH_STR,		/* Alphanumeric string  */
	LEX_TMPL_STR		/* Template string      */
    } LexItem;

    extern char HTlex_buffer[];	/* Read lexical string          */
    extern int HTlex_line;	/* Line number in source file   */

/*

Get Next Lexical Item

   If returns LEX_ALPH_STR or LEX_TMPL_STR the string is in global buffer lex_buffer.

 */

    extern LexItem lex(FILE *fp);

/*

Push Back Latest Item

 */

    extern void unlex(LexItem lex_item);

/*

Get the Name for Lexical Item

 */

    extern const char *lex_verbose(LexItem lex_item);

/*

 */

#ifdef __cplusplus
}
#endif
#endif				/* not HTLEX_H */
e>131 132