src/eric7/Documentation/Source/eric7.QScintilla.Lexers.LexerVHDL.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10692
9becf9ca115c
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!DOCTYPE html>
<html><head>
<title>eric7.QScintilla.Lexers.LexerVHDL</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.QScintilla.Lexers.LexerVHDL</h1>
<p>
Module implementing a VHDL lexer with some additional methods.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#LexerVHDL">LexerVHDL</a></td>
<td>Subclass to implement some additional lexer dependant methods.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr>
<td><a href="#createLexer">createLexer</a></td>
<td>Function to instantiate a lexer object.</td>
</tr>
</table>

<hr />
<hr />
<a NAME="LexerVHDL" ID="LexerVHDL"></a>
<h2>LexerVHDL</h2>
<p>
    Subclass to implement some additional lexer dependant methods.
</p>

<h3>Derived from</h3>
Lexer, QsciLexerVHDL
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Methods</h3>
<table>
<tr>
<td><a href="#LexerVHDL.__init__">LexerVHDL</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#LexerVHDL.defaultKeywords">defaultKeywords</a></td>
<td>Public method to get the default keywords.</td>
</tr>
<tr>
<td><a href="#LexerVHDL.initProperties">initProperties</a></td>
<td>Public slot to initialize the properties.</td>
</tr>
<tr>
<td><a href="#LexerVHDL.isCommentStyle">isCommentStyle</a></td>
<td>Public method to check, if a style is a comment style.</td>
</tr>
<tr>
<td><a href="#LexerVHDL.isStringStyle">isStringStyle</a></td>
<td>Public method to check, if a style is a string style.</td>
</tr>
<tr>
<td><a href="#LexerVHDL.maximumKeywordSet">maximumKeywordSet</a></td>
<td>Public method to get the maximum keyword set.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="LexerVHDL.__init__" ID="LexerVHDL.__init__"></a>
<h4>LexerVHDL (Constructor)</h4>
<b>LexerVHDL</b>(<i>parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>parent</i> (QWidget)</dt>
<dd>
parent widget of this lexer
</dd>
</dl>
<a NAME="LexerVHDL.defaultKeywords" ID="LexerVHDL.defaultKeywords"></a>
<h4>LexerVHDL.defaultKeywords</h4>
<b>defaultKeywords</b>(<i>kwSet</i>)
<p>
        Public method to get the default keywords.
</p>

<dl>

<dt><i>kwSet</i> (int)</dt>
<dd>
number of the keyword set
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
string giving the keywords or None
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
str
</dd>
</dl>
<a NAME="LexerVHDL.initProperties" ID="LexerVHDL.initProperties"></a>
<h4>LexerVHDL.initProperties</h4>
<b>initProperties</b>(<i></i>)
<p>
        Public slot to initialize the properties.
</p>

<a NAME="LexerVHDL.isCommentStyle" ID="LexerVHDL.isCommentStyle"></a>
<h4>LexerVHDL.isCommentStyle</h4>
<b>isCommentStyle</b>(<i>style</i>)
<p>
        Public method to check, if a style is a comment style.
</p>

<dl>

<dt><i>style</i> (int)</dt>
<dd>
style to check
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
flag indicating a comment style
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<a NAME="LexerVHDL.isStringStyle" ID="LexerVHDL.isStringStyle"></a>
<h4>LexerVHDL.isStringStyle</h4>
<b>isStringStyle</b>(<i>style</i>)
<p>
        Public method to check, if a style is a string style.
</p>

<dl>

<dt><i>style</i> (int)</dt>
<dd>
style to check
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
flag indicating a string style
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<a NAME="LexerVHDL.maximumKeywordSet" ID="LexerVHDL.maximumKeywordSet"></a>
<h4>LexerVHDL.maximumKeywordSet</h4>
<b>maximumKeywordSet</b>(<i></i>)
<p>
        Public method to get the maximum keyword set.
</p>

<dl>
<dt>Return:</dt>
<dd>
maximum keyword set
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
int
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="createLexer" ID="createLexer"></a>
<h2>createLexer</h2>
<b>createLexer</b>(<i>variant, parent=None</i>)
<p>
    Function to instantiate a lexer object.
</p>

<dl>

<dt><i>variant</i> (str)</dt>
<dd>
name of the language variant (unused)
</dd>
<dt><i>parent</i> (QObject)</dt>
<dd>
parent widget of this lexer
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
instantiated lexer object
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
LexerVHDL
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial