Package Editra :: Package src :: Package syntax :: Module apache
[hide private]

Module apache

source code

FILE: apache.py AUTHOR: Cody Precord


Author: Cody Precord <cprecord@editra.org>

Functions [hide private]
 
Keywords(lang_id=0)
Returns Specified Keywords List
source code
 
SyntaxSpec(lang_id=0)
Syntax Specifications
source code
 
Properties(lang_id=0)
Returns a list of Extra Properties to set
source code
 
CommentPattern(lang_id=0)
Returns a list of characters used to comment a block of code
source code
 
KeywordString()
Returns the specified Keyword String
source code
Variables [hide private]
  __svnid__ = '$Id: apache.py 52852 2008-03-27 13:45:40Z CJP $'
  __revision__ = '$Revision: 52852 $'
  DIRECTIVES = (0, 'acceptmutex acceptpathinfo accessconfig acce...
  PARAMS = (1, 'on off standalone inetd force-response-1.0 downg...
  SYNTAX_ITEMS = [('STC_CONF_COMMENT', 'comment_style'), ('STC_C...
Function Details [hide private]

Keywords(lang_id=0)

source code 

Returns Specified Keywords List

Parameters:
  • lang_id - used to select specific subset of keywords

SyntaxSpec(lang_id=0)

source code 

Syntax Specifications

Parameters:
  • lang_id - used for selecting a specific subset of syntax specs

Properties(lang_id=0)

source code 

Returns a list of Extra Properties to set

Parameters:
  • lang_id - used to select a specific set of properties

CommentPattern(lang_id=0)

source code 

Returns a list of characters used to comment a block of code

Parameters:
  • lang_id - used to select a specific subset of comment pattern(s)

KeywordString()

source code 

Returns the specified Keyword String

Note: not used by most modules


Variables Details [hide private]

DIRECTIVES

Value:
(0,
 'acceptmutex acceptpathinfo accessconfig accessfilename action addalt\
 addaltbyencoding addaltbytype addcharset adddefaultcharset adddescrip\
tion addencoding addhandler addicon addiconbyencoding addiconbytype ad\
dinputfilter addlanguage addmodule addmoduleinfo addoutputfilter addou\
tputfilterbytype addtype agentlog alias aliasmatch all allow allowconn\
ect allowencodedslashes allowoverride anonymous anonymous_authoritativ\
e anonymous_logemail anonymous_mustgiveemail anonymous_nouserid anonym\
...

PARAMS

Value:
(1,
 'on off standalone inetd force-response-1.0 downgrade-1.0 nokeepalive\
 indexes includes followsymlinks none x-compress x-gzip warn')

SYNTAX_ITEMS

Value:
[('STC_CONF_COMMENT', 'comment_style'),
 ('STC_CONF_DEFAULT', 'default_style'),
 ('STC_CONF_DIRECTIVE', 'keyword_style'),
 ('STC_CONF_EXTENSION', 'pre_style'),
 ('STC_CONF_IDENTIFIER', 'number_style'),
 ('STC_CONF_IP', 'number2_style'),
 ('STC_CONF_NUMBER', 'number_style'),
 ('STC_CONF_OPERATOR', 'operator_style'),
...