casa
5.7.0-16
|
#include <iostream>
Go to the source code of this file.
Classes | |
class | FlexLexer |
class | yyFlexLexer |
Macros | |
#define | __FLEX_LEXER_H |
-*-C++-*- FlexLexer.h – define interfaces for lexical analyzer classes generated by flex More... | |
#define | FLEX_STD |
#define | yyFlexLexerOnce |
Either this is the first time through (yyFlexLexerOnce not defined), or this is a repeated include to define a different flavor of yyFlexLexer, as discussed in the flex manual. More... | |
Typedefs | |
typedef int | yy_state_type |
#define __FLEX_LEXER_H |
-*-C++-*- FlexLexer.h – define interfaces for lexical analyzer classes generated by flex
Copyright (c) 1993 The Regents of the University of California. All rights reserved.
This code is derived from software contributed to Berkeley by Kent Williams and Tom Epperly.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
This file defines FlexLexer, an abstract class which specifies the external interface provided to flex C++ lexer objects, and yyFlexLexer, which defines a particular lexer class.
If you want to create multiple lexer classes, you use the -P flag to rename each yyFlexLexer to some other xxFlexLexer. You then include <FlexLexer.h> in your other sources once per lexer class:
#undef yyFlexLexer #define yyFlexLexer xxFlexLexer #include <FlexLexer.h>
#undef yyFlexLexer #define yyFlexLexer zzFlexLexer #include <FlexLexer.h> ...Never included before - need to define base class.
Definition at line 49 of file ds9FlexLexer.h.
#define FLEX_STD |
Definition at line 53 of file ds9FlexLexer.h.
#define yyFlexLexerOnce |
Either this is the first time through (yyFlexLexerOnce not defined), or this is a repeated include to define a different flavor of yyFlexLexer, as discussed in the flex manual.
Definition at line 117 of file ds9FlexLexer.h.
typedef int yy_state_type |
Definition at line 58 of file ds9FlexLexer.h.