casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Typedefs
ds9FlexLexer.h File Reference
#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
 

Macro Definition Documentation

#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:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

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 Documentation

typedef int yy_state_type

Definition at line 58 of file ds9FlexLexer.h.