Documentation/Source/eric5.QScintilla.Lexers.LexerJavaScript.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.LexerJavaScript</h1> 23 <h1>eric5.QScintilla.Lexers.LexerJavaScript</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; &#74;&#97;v&#97;&#83;&#99;&#114;&#105;&#112;&#116; &#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 JavaScript 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="#LexerJavaScript">LexerJavaScript</a></td> 34 <td><a href="#LexerJavaScript">LexerJavaScript</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="LexerJavaScript" ID="LexerJavaScript"></a> 43 <a NAME="LexerJavaScript" ID="LexerJavaScript"></a>
44 <h2>LexerJavaScript</h2> 44 <h2>LexerJavaScript</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 QsciLexerJavaScript, Lexer 51 QsciLexerJavaScript, 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="#LexerJavaScript.__init__">LexerJavaScript</a></td> 59 <td><a href="#LexerJavaScript.__init__">LexerJavaScript</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="#LexerJavaScript.initProperties">initProperties</a></td> 62 <td><a href="#LexerJavaScript.initProperties">initProperties</a></td>
63 <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> 63 <td>Public slot to initialize the properties.</td>
64 </tr><tr> 64 </tr><tr>
65 <td><a href="#LexerJavaScript.isCommentStyle">isCommentStyle</a></td> 65 <td><a href="#LexerJavaScript.isCommentStyle">isCommentStyle</a></td>
66 <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> 66 <td>Public method to check, if a style is a comment style.</td>
67 </tr><tr> 67 </tr><tr>
68 <td><a href="#LexerJavaScript.isStringStyle">isStringStyle</a></td> 68 <td><a href="#LexerJavaScript.isStringStyle">isStringStyle</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; &#115;&#116;&#114;&#105;&#110;&#103; &#115;&#116;y&#108;&#101;.</td> 69 <td>Public method to check, if a style is a string style.</td>
70 </tr> 70 </tr>
71 </table> 71 </table>
72 <a NAME="LexerJavaScript.__init__" ID="LexerJavaScript.__init__"></a> 72 <a NAME="LexerJavaScript.__init__" ID="LexerJavaScript.__init__"></a>
73 <h4>LexerJavaScript (Constructor)</h4> 73 <h4>LexerJavaScript (Constructor)</h4>
74 <b>LexerJavaScript</b>(<i>parent=None</i>) 74 <b>LexerJavaScript</b>(<i>parent=None</i>)
75 <p> 75 <p>
76 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 76 Constructor
77 </p><dl> 77 </p><dl>
78 <dt><i>parent</i></dt> 78 <dt><i>parent</i></dt>
79 <dd> 79 <dd>
80 &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; &#111;&#102; &#116;&#104;&#105;&#115; &#108;&#101;x&#101;&#114; 80 parent widget of this lexer
81 </dd> 81 </dd>
82 </dl><a NAME="LexerJavaScript.initProperties" ID="LexerJavaScript.initProperties"></a> 82 </dl><a NAME="LexerJavaScript.initProperties" ID="LexerJavaScript.initProperties"></a>
83 <h4>LexerJavaScript.initProperties</h4> 83 <h4>LexerJavaScript.initProperties</h4>
84 <b>initProperties</b>(<i></i>) 84 <b>initProperties</b>(<i></i>)
85 <p> 85 <p>
86 &#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;. 86 Public slot to initialize the properties.
87 </p><a NAME="LexerJavaScript.isCommentStyle" ID="LexerJavaScript.isCommentStyle"></a> 87 </p><a NAME="LexerJavaScript.isCommentStyle" ID="LexerJavaScript.isCommentStyle"></a>
88 <h4>LexerJavaScript.isCommentStyle</h4> 88 <h4>LexerJavaScript.isCommentStyle</h4>
89 <b>isCommentStyle</b>(<i>style</i>) 89 <b>isCommentStyle</b>(<i>style</i>)
90 <p> 90 <p>
91 &#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;. 91 Public method to check, if a style is a comment style.
92 </p><dl> 92 </p><dl>
93 <dt>Returns:</dt> 93 <dt>Returns:</dt>
94 <dd> 94 <dd>
95 &#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;) 95 flag indicating a comment style (boolean)
96 </dd> 96 </dd>
97 </dl><a NAME="LexerJavaScript.isStringStyle" ID="LexerJavaScript.isStringStyle"></a> 97 </dl><a NAME="LexerJavaScript.isStringStyle" ID="LexerJavaScript.isStringStyle"></a>
98 <h4>LexerJavaScript.isStringStyle</h4> 98 <h4>LexerJavaScript.isStringStyle</h4>
99 <b>isStringStyle</b>(<i>style</i>) 99 <b>isStringStyle</b>(<i>style</i>)
100 <p> 100 <p>
101 &#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;. 101 Public method to check, if a style is a string style.
102 </p><dl> 102 </p><dl>
103 <dt>Returns:</dt> 103 <dt>Returns:</dt>
104 <dd> 104 <dd>
105 &#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;) 105 flag indicating a string style (boolean)
106 </dd> 106 </dd>
107 </dl> 107 </dl>
108 <div align="right"><a href="#top">Up</a></div> 108 <div align="right"><a href="#top">Up</a></div>
109 <hr /> 109 <hr />
110 </body></html> 110 </body></html>

eric ide

mercurial