Changeset View
Changeset View
Standalone View
Standalone View
src/parsers/plan2/FlexLexer.h
1 | // -*-C++-*- | 1 | // -*-C++-*- | ||
---|---|---|---|---|---|
2 | // FlexLexer.h -- define interfaces for lexical analyzer classes generated | 2 | // FlexLexer.h -- define interfaces for lexical analyzer classes generated | ||
3 | // by flex | 3 | // by flex | ||
4 | 4 | | |||
5 | // Copyright (c) 1993 The Regents of the University of California. | 5 | // SPDX-FileCopyrightText: 1993 The Regents of the University of California. All rights reserved. | ||
6 | // All rights reserved. | 6 | // SPDX-FileContributor: This code is derived from software contributed to Berkeley by Kent Williams and Tom Epperly. | ||
7 | // | 7 | // | ||
8 | // This code is derived from software contributed to Berkeley by | 8 | // SPDX-License-Identifier: BSD-2-Clause | ||
9 | // Kent Williams and Tom Epperly. | | |||
10 | // | | |||
11 | // Redistribution and use in source and binary forms, with or without | | |||
12 | // modification, are permitted provided that the following conditions | | |||
13 | // are met: | | |||
14 | | ||||
15 | // 1. Redistributions of source code must retain the above copyright | | |||
16 | // notice, this list of conditions and the following disclaimer. | | |||
17 | // 2. Redistributions in binary form must reproduce the above copyright | | |||
18 | // notice, this list of conditions and the following disclaimer in the | | |||
19 | // documentation and/or other materials provided with the distribution. | | |||
20 | | ||||
21 | // Neither the name of the University nor the names of its contributors | | |||
22 | // may be used to endorse or promote products derived from this software | | |||
23 | // without specific prior written permission. | | |||
24 | | ||||
25 | // THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | | |||
26 | // IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | | |||
27 | // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | | |||
28 | // PURPOSE. | | |||
29 | 9 | | |||
30 | // This file defines FlexLexer, an abstract class which specifies the | 10 | // This file defines FlexLexer, an abstract class which specifies the | ||
31 | // external interface provided to flex C++ lexer objects, and yyFlexLexer, | 11 | // external interface provided to flex C++ lexer objects, and yyFlexLexer, | ||
32 | // which defines a particular lexer class. | 12 | // which defines a particular lexer class. | ||
33 | // | 13 | // | ||
34 | // If you want to create multiple lexer classes, you use the -P flag | 14 | // If you want to create multiple lexer classes, you use the -P flag | ||
35 | // to rename each yyFlexLexer to some other xxFlexLexer. You then | 15 | // to rename each yyFlexLexer to some other xxFlexLexer. You then | ||
36 | // include <FlexLexer.h> in your other sources once per lexer class: | 16 | // include <FlexLexer.h> in your other sources once per lexer class: | ||
▲ Show 20 Lines • Show All 171 Lines • Show Last 20 Lines |