Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
annotate LICENSES/MIT.txt @ 56:661461fb4dfc
Make the "py-name" rules parameterized: allow to provide the token type.
For this to work the implemting function must be global, because the
access to the class is not yet possible at construction time.
So consistently make some previons LexBase members module globals.
Make some LexBase members module globals consistently.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 27 Apr 2026 12:37:27 +0200 |
| parents | d4f778187170 |
| children |
| rev | line source |
|---|---|
|
4
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
1 MIT License |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
2 |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
3 Copyright (c) <year> <copyright holders> |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
4 |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
5 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
6 associated documentation files (the "Software"), to deal in the Software without restriction, including |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
7 without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
8 copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
9 following conditions: |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
10 |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
11 The above copyright notice and this permission notice shall be included in all copies or substantial |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
12 portions of the Software. |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
13 |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
15 LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
16 EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
17 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE |
|
d4f778187170
Add a license file for the MIT license
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
18 USE OR OTHER DEALINGS IN THE SOFTWARE. |
