added site files
This commit is contained in:
parent
a6f70a6c78
commit
329148c253
253 changed files with 30486 additions and 0 deletions
30
EnlighterJS/Source/Language/Cython.js
Normal file
30
EnlighterJS/Source/Language/Cython.js
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
---
|
||||
description: Cython language
|
||||
|
||||
license: MIT-style
|
||||
|
||||
authors:
|
||||
- Andi Dittrich
|
||||
- Devyn Collier Johnson
|
||||
|
||||
requires:
|
||||
- Core/1.4.5
|
||||
|
||||
provides: [EnlighterJS.Language.cython]
|
||||
...
|
||||
*/
|
||||
EJS.Language.cython = new Class({
|
||||
|
||||
Extends: EJS.Language.python,
|
||||
|
||||
setupLanguage: function() {
|
||||
// run origin language setup
|
||||
this.parent();
|
||||
|
||||
// append cython extension keywords
|
||||
this.keywords.reserved.csv += ', __all__, include, cimport, pyximport, cythonize, cdef, cpdef, ctypedef, property, IF, ELIF, ELSE, DEF';
|
||||
this.keywords.functions.csv += ', __dealloc__, __get__, __init__, fopen';
|
||||
this.keywords.classes.csv += ', PyErr_Fetch, PyErr_Occurred, PyErr_WarnEx, char, double, extern, namespace, public, struct, void, union, unsigned, enum';
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue