/macosx-10.10/IOKitUser-1050.1.21/ |
H A D | IOCFUnserialize.yacc | 298 bool isComment = (c == '-') && ((c = nextChar()) != 0) && (c == '-'); 299 if (!isComment && !isAlpha(c)) return TAG_BAD; // <!1, <!-A, <!eos 303 if (isComment) { 313 if (isComment) break;
|
/macosx-10.10/WebCore-7600.1.25/dom/ |
H A D | Comment.h | 44 inline bool isComment(const Node& node) { return node.nodeType() == Node::COMMENT_NODE; } function in namespace:WebCore 45 void isComment(const Comment&); // Catch unnecessary runtime check of type known at compile time. 46 void isComment(const ContainerNode&); // Catch unnecessary runtime check of type known at compile time.
|
/macosx-10.10/WebInspectorUI-7600.1.17/Tools/PrettyPrinting/ |
H A D | CodeMirrorFormatters.js | 31 shouldHaveSpaceBeforeToken: function(lastToken, lastContent, token, state, content, isComment) 41 if (isComment) 59 shouldHaveSpaceAfterLastToken: function(lastToken, lastContent, token, state, content, isComment) 91 newlinesAfterToken: function(lastToken, lastContent, token, state, content, isComment) 103 if (isComment) 109 removeLastNewline: function(lastToken, lastContent, token, state, content, isComment, firstTokenOnLine) 123 if (isComment) { // Comment after semicolon. 138 indentAfterToken: function(lastToken, lastContent, token, state, content, isComment) 143 newlineBeforeToken: function(lastToken, lastContent, token, state, content, isComment) 151 indentBeforeToken: function(lastToken, lastContent, token, state, content, isComment) [all...] |
H A D | Formatter.js | 100 var isComment = token && /\bcomment\b/.test(token); 103 mode.modifyStateForTokenPre(this._lastToken, this._lastContent, token, state, content, isComment); 106 if (this._builder.lastTokenWasNewline && mode.removeLastNewline(this._lastToken, this._lastContent, token, state, content, isComment, firstTokenOnLine)) 110 if (!this._builder.lastTokenWasWhitespace && mode.shouldHaveSpaceAfterLastToken(this._lastToken, this._lastContent, token, state, content, isComment)) 114 if (!this._builder.lastTokenWasWhitespace && mode.shouldHaveSpaceBeforeToken(this._lastToken, this._lastContent, token, state, content, isComment)) 118 var dedents = mode.dedentsBeforeToken(this._lastToken, this._lastContent, token, state, content, isComment); 123 if (mode.newlineBeforeToken(this._lastToken, this._lastContent, token, state, content, isComment)) 127 if (mode.indentBeforeToken(this._lastToken, this._lastContent, token, state, content, isComment)) 135 mode.modifyStateForTokenPost(this._lastToken, this._lastContent, token, state, content, isComment); 138 if (!isComment [all...] |
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Controllers/ |
H A D | Formatter.js | 100 var isComment = token && /\bcomment\b/.test(token); 103 mode.modifyStateForTokenPre(this._lastToken, this._lastContent, token, state, content, isComment); 106 if (this._builder.lastTokenWasNewline && mode.removeLastNewline(this._lastToken, this._lastContent, token, state, content, isComment, firstTokenOnLine)) 110 if (!this._builder.lastTokenWasWhitespace && mode.shouldHaveSpaceAfterLastToken(this._lastToken, this._lastContent, token, state, content, isComment)) 114 if (!this._builder.lastTokenWasWhitespace && mode.shouldHaveSpaceBeforeToken(this._lastToken, this._lastContent, token, state, content, isComment)) 118 var dedents = mode.dedentsBeforeToken(this._lastToken, this._lastContent, token, state, content, isComment); 123 if (mode.newlineBeforeToken(this._lastToken, this._lastContent, token, state, content, isComment)) 127 if (mode.indentBeforeToken(this._lastToken, this._lastContent, token, state, content, isComment)) 135 mode.modifyStateForTokenPost(this._lastToken, this._lastContent, token, state, content, isComment); 138 if (!isComment [all...] |
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Views/ |
H A D | CodeMirrorFormatters.js | 31 shouldHaveSpaceBeforeToken: function(lastToken, lastContent, token, state, content, isComment) 41 if (isComment) 59 shouldHaveSpaceAfterLastToken: function(lastToken, lastContent, token, state, content, isComment) 91 newlinesAfterToken: function(lastToken, lastContent, token, state, content, isComment) 103 if (isComment) 109 removeLastNewline: function(lastToken, lastContent, token, state, content, isComment, firstTokenOnLine) 123 if (isComment) { // Comment after semicolon. 138 indentAfterToken: function(lastToken, lastContent, token, state, content, isComment) 143 newlineBeforeToken: function(lastToken, lastContent, token, state, content, isComment) 151 indentBeforeToken: function(lastToken, lastContent, token, state, content, isComment) [all...] |
/macosx-10.10/tcl-105/tcl_ext/tklib/tklib/modules/ctext/ |
H A D | ctext.tcl | 656 set isComment 0 675 } elseif {$str == "\"" && $isComment == 0 && $isSingleQuote == 0} { 681 } elseif {$str == "'" && $isComment == 0 && $isQuote == 0} { 688 if {$isComment} { 692 set isComment 1 696 if {$isComment} { 697 set isComment 0
|
/macosx-10.10/vim-55/runtime/autoload/ |
H A D | phpcomplete.vim | 4568 \ 'tidyNode->isComment(': 'void | bool',
|
/macosx-10.10/xnu-2782.1.97/libkern/c++/ |
H A D | OSUnserializeXML.y | 380 bool isComment = (c == '-') && ((c = nextChar()) != 0) && (c == '-'); 381 if (!isComment && !isAlpha(c)) return TAG_BAD; // <!1, <!-A, <!eos 385 if (isComment) { 395 if (isComment) break;
|