Natural Docs Version 0.9 |
NaturalDocs:: Languages:: LanguageA class containing the characteristics of a particular programming language. Summary
MembersThe class is implemented as a blessed arrayref. The following constants are used as indexes. New
Returns a new language object. Parameters
EndOfFunction
Returns the index of the end of the function prototype in a string. Parameters
ReturnsThe zero-based offset into the string of the end of the prototype, or -1 if the string doesn’t contain a symbol from FunctionEnders(). EndOfVariable
Returns the index of the end of the variable declaration in a string. Parameters
ReturnsThe zero-based offset into the string of the end of the declaration, or -1 if the string doesn’t contain a symbol from VariableEnders(). EndOfPrototype
Returns the index of the end of an arbitrary prototype in a string. Parameters
ReturnsThe zero-based offset into the string of the end of the prototype, or -1 if the string doesn’t contain a symbol from the arrayref. |