eric6/Documentation/Source/eric6.QScintilla.Lexers.LexerPerl.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.QScintilla.Lexers.LexerPerl</h1> 23 <h1>eric6.QScintilla.Lexers.LexerPerl</h1>
24
23 <p> 25 <p>
24 Module implementing a Perl lexer with some additional methods. 26 Module implementing a Perl lexer with some additional methods.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#LexerPerl">LexerPerl</a></td> 38 <td><a href="#LexerPerl">LexerPerl</a></td>
34 <td>Subclass to implement some additional lexer dependant methods.</td> 39 <td>Subclass to implement some additional lexer dependant methods.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="LexerPerl" ID="LexerPerl"></a> 49 <a NAME="LexerPerl" ID="LexerPerl"></a>
43 <h2>LexerPerl</h2> 50 <h2>LexerPerl</h2>
51
44 <p> 52 <p>
45 Subclass to implement some additional lexer dependant methods. 53 Subclass to implement some additional lexer dependant methods.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 Lexer, QsciLexerPerl 56 Lexer, QsciLexerPerl
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
68
58 <table> 69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#LexerPerl.__init__">LexerPerl</a></td> 72 <td><a href="#LexerPerl.__init__">LexerPerl</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#LexerPerl.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td> 76 <td><a href="#LexerPerl.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td>
64 <td>Public method to return the list of separators for autocompletion.</td> 77 <td>Public method to return the list of separators for autocompletion.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#LexerPerl.defaultKeywords">defaultKeywords</a></td> 80 <td><a href="#LexerPerl.defaultKeywords">defaultKeywords</a></td>
67 <td>Public method to get the default keywords.</td> 81 <td>Public method to get the default keywords.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#LexerPerl.initProperties">initProperties</a></td> 84 <td><a href="#LexerPerl.initProperties">initProperties</a></td>
70 <td>Public slot to initialize the properties.</td> 85 <td>Public slot to initialize the properties.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#LexerPerl.isCommentStyle">isCommentStyle</a></td> 88 <td><a href="#LexerPerl.isCommentStyle">isCommentStyle</a></td>
73 <td>Public method to check, if a style is a comment style.</td> 89 <td>Public method to check, if a style is a comment style.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#LexerPerl.isStringStyle">isStringStyle</a></td> 92 <td><a href="#LexerPerl.isStringStyle">isStringStyle</a></td>
76 <td>Public method to check, if a style is a string style.</td> 93 <td>Public method to check, if a style is a string style.</td>
77 </tr> 94 </tr>
78 </table> 95 </table>
79 <h3>Static Methods</h3> 96 <h3>Static Methods</h3>
97
80 <table> 98 <table>
81 <tr><td>None</td></tr> 99 <tr><td>None</td></tr>
82 </table> 100 </table>
101
83 <a NAME="LexerPerl.__init__" ID="LexerPerl.__init__"></a> 102 <a NAME="LexerPerl.__init__" ID="LexerPerl.__init__"></a>
84 <h4>LexerPerl (Constructor)</h4> 103 <h4>LexerPerl (Constructor)</h4>
85 <b>LexerPerl</b>(<i>parent=None</i>) 104 <b>LexerPerl</b>(<i>parent=None</i>)
105
86 <p> 106 <p>
87 Constructor 107 Constructor
88 </p><dl> 108 </p>
109 <dl>
110
89 <dt><i>parent</i></dt> 111 <dt><i>parent</i></dt>
90 <dd> 112 <dd>
91 parent widget of this lexer 113 parent widget of this lexer
92 </dd> 114 </dd>
93 </dl><a NAME="LexerPerl.autoCompletionWordSeparators" ID="LexerPerl.autoCompletionWordSeparators"></a> 115 </dl>
116 <a NAME="LexerPerl.autoCompletionWordSeparators" ID="LexerPerl.autoCompletionWordSeparators"></a>
94 <h4>LexerPerl.autoCompletionWordSeparators</h4> 117 <h4>LexerPerl.autoCompletionWordSeparators</h4>
95 <b>autoCompletionWordSeparators</b>(<i></i>) 118 <b>autoCompletionWordSeparators</b>(<i></i>)
119
96 <p> 120 <p>
97 Public method to return the list of separators for autocompletion. 121 Public method to return the list of separators for autocompletion.
98 </p><dl> 122 </p>
123 <dl>
99 <dt>Returns:</dt> 124 <dt>Returns:</dt>
100 <dd> 125 <dd>
101 list of separators (list of strings) 126 list of separators (list of strings)
102 </dd> 127 </dd>
103 </dl><a NAME="LexerPerl.defaultKeywords" ID="LexerPerl.defaultKeywords"></a> 128 </dl>
129 <a NAME="LexerPerl.defaultKeywords" ID="LexerPerl.defaultKeywords"></a>
104 <h4>LexerPerl.defaultKeywords</h4> 130 <h4>LexerPerl.defaultKeywords</h4>
105 <b>defaultKeywords</b>(<i>kwSet</i>) 131 <b>defaultKeywords</b>(<i>kwSet</i>)
132
106 <p> 133 <p>
107 Public method to get the default keywords. 134 Public method to get the default keywords.
108 </p><dl> 135 </p>
136 <dl>
137
109 <dt><i>kwSet</i></dt> 138 <dt><i>kwSet</i></dt>
110 <dd> 139 <dd>
111 number of the keyword set (integer) 140 number of the keyword set (integer)
112 </dd> 141 </dd>
113 </dl><dl> 142 </dl>
143 <dl>
114 <dt>Returns:</dt> 144 <dt>Returns:</dt>
115 <dd> 145 <dd>
116 string giving the keywords (string) or None 146 string giving the keywords (string) or None
117 </dd> 147 </dd>
118 </dl><a NAME="LexerPerl.initProperties" ID="LexerPerl.initProperties"></a> 148 </dl>
149 <a NAME="LexerPerl.initProperties" ID="LexerPerl.initProperties"></a>
119 <h4>LexerPerl.initProperties</h4> 150 <h4>LexerPerl.initProperties</h4>
120 <b>initProperties</b>(<i></i>) 151 <b>initProperties</b>(<i></i>)
152
121 <p> 153 <p>
122 Public slot to initialize the properties. 154 Public slot to initialize the properties.
123 </p><a NAME="LexerPerl.isCommentStyle" ID="LexerPerl.isCommentStyle"></a> 155 </p>
156 <a NAME="LexerPerl.isCommentStyle" ID="LexerPerl.isCommentStyle"></a>
124 <h4>LexerPerl.isCommentStyle</h4> 157 <h4>LexerPerl.isCommentStyle</h4>
125 <b>isCommentStyle</b>(<i>style</i>) 158 <b>isCommentStyle</b>(<i>style</i>)
159
126 <p> 160 <p>
127 Public method to check, if a style is a comment style. 161 Public method to check, if a style is a comment style.
128 </p><dl> 162 </p>
163 <dl>
164
129 <dt><i>style</i></dt> 165 <dt><i>style</i></dt>
130 <dd> 166 <dd>
131 style to check (integer) 167 style to check (integer)
132 </dd> 168 </dd>
133 </dl><dl> 169 </dl>
170 <dl>
134 <dt>Returns:</dt> 171 <dt>Returns:</dt>
135 <dd> 172 <dd>
136 flag indicating a comment style (boolean) 173 flag indicating a comment style (boolean)
137 </dd> 174 </dd>
138 </dl><a NAME="LexerPerl.isStringStyle" ID="LexerPerl.isStringStyle"></a> 175 </dl>
176 <a NAME="LexerPerl.isStringStyle" ID="LexerPerl.isStringStyle"></a>
139 <h4>LexerPerl.isStringStyle</h4> 177 <h4>LexerPerl.isStringStyle</h4>
140 <b>isStringStyle</b>(<i>style</i>) 178 <b>isStringStyle</b>(<i>style</i>)
179
141 <p> 180 <p>
142 Public method to check, if a style is a string style. 181 Public method to check, if a style is a string style.
143 </p><dl> 182 </p>
183 <dl>
184
144 <dt><i>style</i></dt> 185 <dt><i>style</i></dt>
145 <dd> 186 <dd>
146 style to check (integer) 187 style to check (integer)
147 </dd> 188 </dd>
148 </dl><dl> 189 </dl>
190 <dl>
149 <dt>Returns:</dt> 191 <dt>Returns:</dt>
150 <dd> 192 <dd>
151 flag indicating a string style (boolean) 193 flag indicating a string style (boolean)
152 </dd> 194 </dd>
153 </dl> 195 </dl>

eric ide

mercurial