Documentation/Source/eric5.QScintilla.Lexers.LexerPascal.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 130
fcce4cc20d95
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.QScintilla.Lexers.LexerPascal</h1> 23 <h1>eric5.QScintilla.Lexers.LexerPascal</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#80;&#97;&#115;&#99;&#97;&#108; &#108;&#101;x&#101;&#114; w&#105;&#116;&#104; &#115;&#111;&#109;&#101; &#97;&#100;&#100;&#105;&#116;&#105;&#111;&#110;&#97;&#108; &#109;&#101;&#116;&#104;&#111;&#100;&#115;. 25 Module implementing a Pascal lexer with some additional methods.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#LexerPascal">LexerPascal</a></td> 34 <td><a href="#LexerPascal">LexerPascal</a></td>
35 <td>&#83;&#117;&#98;&#99;&#108;&#97;&#115;&#115; &#116;&#111; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116; &#115;&#111;&#109;&#101; &#97;&#100;&#100;&#105;&#116;&#105;&#111;&#110;&#97;&#108; &#108;&#101;x&#101;&#114; &#100;&#101;&#112;&#101;&#110;&#100;&#97;&#110;&#116; &#109;&#101;&#116;&#104;&#111;&#100;&#115;.</td> 35 <td>Subclass to implement some additional lexer dependant methods.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
43 <a NAME="LexerPascal" ID="LexerPascal"></a> 43 <a NAME="LexerPascal" ID="LexerPascal"></a>
44 <h2>LexerPascal</h2> 44 <h2>LexerPascal</h2>
45 <p> 45 <p>
46 46
47 </p><p> 47 </p><p>
48 &#83;&#117;&#98;&#99;&#108;&#97;&#115;&#115; &#116;&#111; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116; &#115;&#111;&#109;&#101; &#97;&#100;&#100;&#105;&#116;&#105;&#111;&#110;&#97;&#108; &#108;&#101;x&#101;&#114; &#100;&#101;&#112;&#101;&#110;&#100;&#97;&#110;&#116; &#109;&#101;&#116;&#104;&#111;&#100;&#115;. 48 Subclass to implement some additional lexer dependant methods.
49 </p> 49 </p>
50 <h3>Derived from</h3> 50 <h3>Derived from</h3>
51 QsciLexerPascal, Lexer 51 QsciLexerPascal, Lexer
52 <h3>Class Attributes</h3> 52 <h3>Class Attributes</h3>
53 <table> 53 <table>
55 </table> 55 </table>
56 <h3>Methods</h3> 56 <h3>Methods</h3>
57 <table> 57 <table>
58 <tr> 58 <tr>
59 <td><a href="#LexerPascal.__init__">LexerPascal</a></td> 59 <td><a href="#LexerPascal.__init__">LexerPascal</a></td>
60 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 60 <td>Constructor</td>
61 </tr><tr> 61 </tr><tr>
62 <td><a href="#LexerPascal.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td> 62 <td><a href="#LexerPascal.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td>
63 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#101;&#112;&#97;&#114;&#97;&#116;&#111;&#114;&#115; &#102;&#111;&#114; &#97;&#117;&#116;&#111;&#99;&#111;&#109;&#112;&#108;&#101;&#116;&#105;&#111;&#110;.</td> 63 <td>Public method to return the list of separators for autocompletion.</td>
64 </tr><tr> 64 </tr><tr>
65 <td><a href="#LexerPascal.initProperties">initProperties</a></td> 65 <td><a href="#LexerPascal.initProperties">initProperties</a></td>
66 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#112;&#114;&#111;&#112;&#101;&#114;&#116;&#105;&#101;&#115;.</td> 66 <td>Public slot to initialize the properties.</td>
67 </tr><tr> 67 </tr><tr>
68 <td><a href="#LexerPascal.isCommentStyle">isCommentStyle</a></td> 68 <td><a href="#LexerPascal.isCommentStyle">isCommentStyle</a></td>
69 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#115;&#116;y&#108;&#101; &#105;&#115; &#97; &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;y&#108;&#101;.</td> 69 <td>Public method to check, if a style is a comment style.</td>
70 </tr><tr> 70 </tr><tr>
71 <td><a href="#LexerPascal.isStringStyle">isStringStyle</a></td> 71 <td><a href="#LexerPascal.isStringStyle">isStringStyle</a></td>
72 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#115;&#116;y&#108;&#101; &#105;&#115; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#115;&#116;y&#108;&#101;.</td> 72 <td>Public method to check, if a style is a string style.</td>
73 </tr> 73 </tr>
74 </table> 74 </table>
75 <a NAME="LexerPascal.__init__" ID="LexerPascal.__init__"></a> 75 <a NAME="LexerPascal.__init__" ID="LexerPascal.__init__"></a>
76 <h4>LexerPascal (Constructor)</h4> 76 <h4>LexerPascal (Constructor)</h4>
77 <b>LexerPascal</b>(<i>parent = None</i>) 77 <b>LexerPascal</b>(<i>parent = None</i>)
78 <p> 78 <p>
79 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 79 Constructor
80 </p><dl> 80 </p><dl>
81 <dt><i>parent</i></dt> 81 <dt><i>parent</i></dt>
82 <dd> 82 <dd>
83 &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; &#111;&#102; &#116;&#104;&#105;&#115; &#108;&#101;x&#101;&#114; 83 parent widget of this lexer
84 </dd> 84 </dd>
85 </dl><a NAME="LexerPascal.autoCompletionWordSeparators" ID="LexerPascal.autoCompletionWordSeparators"></a> 85 </dl><a NAME="LexerPascal.autoCompletionWordSeparators" ID="LexerPascal.autoCompletionWordSeparators"></a>
86 <h4>LexerPascal.autoCompletionWordSeparators</h4> 86 <h4>LexerPascal.autoCompletionWordSeparators</h4>
87 <b>autoCompletionWordSeparators</b>(<i></i>) 87 <b>autoCompletionWordSeparators</b>(<i></i>)
88 <p> 88 <p>
89 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#101;&#112;&#97;&#114;&#97;&#116;&#111;&#114;&#115; &#102;&#111;&#114; &#97;&#117;&#116;&#111;&#99;&#111;&#109;&#112;&#108;&#101;&#116;&#105;&#111;&#110;. 89 Public method to return the list of separators for autocompletion.
90 </p><dl> 90 </p><dl>
91 <dt>Returns:</dt> 91 <dt>Returns:</dt>
92 <dd> 92 <dd>
93 &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#101;&#112;&#97;&#114;&#97;&#116;&#111;&#114;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 93 list of separators (list of strings)
94 </dd> 94 </dd>
95 </dl><a NAME="LexerPascal.initProperties" ID="LexerPascal.initProperties"></a> 95 </dl><a NAME="LexerPascal.initProperties" ID="LexerPascal.initProperties"></a>
96 <h4>LexerPascal.initProperties</h4> 96 <h4>LexerPascal.initProperties</h4>
97 <b>initProperties</b>(<i></i>) 97 <b>initProperties</b>(<i></i>)
98 <p> 98 <p>
99 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#112;&#114;&#111;&#112;&#101;&#114;&#116;&#105;&#101;&#115;. 99 Public slot to initialize the properties.
100 </p><a NAME="LexerPascal.isCommentStyle" ID="LexerPascal.isCommentStyle"></a> 100 </p><a NAME="LexerPascal.isCommentStyle" ID="LexerPascal.isCommentStyle"></a>
101 <h4>LexerPascal.isCommentStyle</h4> 101 <h4>LexerPascal.isCommentStyle</h4>
102 <b>isCommentStyle</b>(<i>style</i>) 102 <b>isCommentStyle</b>(<i>style</i>)
103 <p> 103 <p>
104 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#115;&#116;y&#108;&#101; &#105;&#115; &#97; &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;y&#108;&#101;. 104 Public method to check, if a style is a comment style.
105 </p><dl> 105 </p><dl>
106 <dt>Returns:</dt> 106 <dt>Returns:</dt>
107 <dd> 107 <dd>
108 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;y&#108;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 108 flag indicating a comment style (boolean)
109 </dd> 109 </dd>
110 </dl><a NAME="LexerPascal.isStringStyle" ID="LexerPascal.isStringStyle"></a> 110 </dl><a NAME="LexerPascal.isStringStyle" ID="LexerPascal.isStringStyle"></a>
111 <h4>LexerPascal.isStringStyle</h4> 111 <h4>LexerPascal.isStringStyle</h4>
112 <b>isStringStyle</b>(<i>style</i>) 112 <b>isStringStyle</b>(<i>style</i>)
113 <p> 113 <p>
114 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#115;&#116;y&#108;&#101; &#105;&#115; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#115;&#116;y&#108;&#101;. 114 Public method to check, if a style is a string style.
115 </p><dl> 115 </p><dl>
116 <dt>Returns:</dt> 116 <dt>Returns:</dt>
117 <dd> 117 <dd>
118 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#115;&#116;y&#108;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 118 flag indicating a string style (boolean)
119 </dd> 119 </dd>
120 </dl> 120 </dl>
121 <div align="right"><a href="#top">Up</a></div> 121 <div align="right"><a href="#top">Up</a></div>
122 <hr /> 122 <hr />
123 </body></html> 123 </body></html>

eric ide

mercurial