Home
last modified time | relevance | path

Searched refs:Keywords (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.cpp156 const AdditionalKeywords &Keywords, unsigned FirstStartColumn, in UnwrappedLineParser() argument
162 LangOpts(getFormattingLangOpts(Style)), Keywords(Keywords), in UnwrappedLineParser()
299 if (FormatTok->is(Keywords.kw_where)) { in parseCSharpGenericTypeConstraint()
564 NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in, in calculateBraceTypes()
565 Keywords.kw_as)); in calculateBraceTypes()
708 TokenAnnotator Annotator(Style, Keywords); in mightFitOnOneLine()
750 if (Keywords.isVerilogIdentifier(*FormatTok)) in parseBlock()
758 Style.isVerilog() && Keywords.isVerilogHierarchy(*FormatTok); in parseBlock()
761 (Keywords.isVerilogBegin(*FormatTok) || VerilogHierarchy))) && in parseBlock()
937 const AdditionalKeywords &Keywords) { in isIIFE() argument
[all …]
H A DTokenAnnotator.cpp126 const AdditionalKeywords &Keywords, in AnnotatingParser() argument
130 Keywords(Keywords), Scopes(Scopes), TemplateDeclarationDepth(0) { in AnnotatingParser()
353 (Line.startsWith(Keywords.kw_type, tok::identifier) || in parseParens()
354 Line.startsWith(tok::kw_export, Keywords.kw_type, in parseParens()
368 (OpeningParen.Previous->is(Keywords.kw_function) || in parseParens()
370 Keywords.kw_function)))) { in parseParens()
582 if (MightBeObjCForRangeLoop && CurrentToken->is(Keywords.kw_in)) { in parseParens()
655 tok::l_square, Keywords.kw_internal)) { in isCSharpAttributeSpecifier()
1178 OpeningBrace.getPreviousNonComment()->isNot(Keywords.kw_apostrophe))) { in parseBrace()
1345 if (Keywords.isVerilogEnd(*Prev) || Keywords.isVerilogBegin(*Prev)) { in consumeToken()
[all …]
H A DSortJavaScriptImports.cpp146 const AdditionalKeywords &Keywords = Tokens.getKeywords(); in analyze() local
150 parseModuleReferences(Keywords, AnnotatedLines); in analyze()
360 parseModuleReferences(const AdditionalKeywords &Keywords, in parseModuleReferences() argument
408 if (!parseModuleReference(Keywords, Reference)) { in parseModuleReferences()
440 bool parseModuleReference(const AdditionalKeywords &Keywords, in parseModuleReference() argument
442 if (!Current || !Current->isOneOf(Keywords.kw_import, tok::kw_export)) in parseModuleReference()
455 if (!parseModuleBindings(Keywords, Reference)) in parseModuleReference()
458 if (Current->is(Keywords.kw_from)) { in parseModuleReference()
478 bool parseModuleBindings(const AdditionalKeywords &Keywords, in parseModuleBindings() argument
480 if (parseStarBinding(Keywords, Reference)) in parseModuleBindings()
[all …]
H A DUnwrappedLineFormatter.h31 const AdditionalKeywords &Keywords, in UnwrappedLineFormatter() argument
35 Keywords(Keywords), SourceMgr(SourceMgr), Status(Status) {} in UnwrappedLineFormatter()
67 const AdditionalKeywords &Keywords; variable
H A DObjCPropertyAttributeOrderFixer.cpp154 const SourceManager &SourceMgr, const AdditionalKeywords &Keywords, in analyzeObjCPropertyDecl() argument
160 if (!PropertyTok || PropertyTok->isNot(Keywords.kw_property)) in analyzeObjCPropertyDecl()
182 const AdditionalKeywords &Keywords = Tokens.getKeywords(); in analyze() local
204 analyzeObjCPropertyDecl(SourceMgr, Keywords, Fixes, Tok); in analyze()
H A DTokenAnnotator.h225 TokenAnnotator(const FormatStyle &Style, const AdditionalKeywords &Keywords) in TokenAnnotator() argument
227 LangOpts(getFormattingLangOpts(Style)), Keywords(Keywords) {} in TokenAnnotator()
278 const AdditionalKeywords &Keywords; variable
H A DQualifierAlignmentFixer.cpp179 const SourceManager &SourceMgr, const AdditionalKeywords &Keywords, in analyzeRight() argument
259 Next->isOneOf(Keywords.kw_override, Keywords.kw_final))) { in analyzeRight()
379 const SourceManager &SourceMgr, const AdditionalKeywords &Keywords, in analyzeLeft() argument
565 const AdditionalKeywords &Keywords = Tokens.getKeywords(); in fixQualifierAlignment() local
588 Tok = analyzeRight(SourceMgr, Keywords, Fixes, Tok, Qualifier, in fixQualifierAlignment()
591 Tok = analyzeLeft(SourceMgr, Keywords, Fixes, Tok, Qualifier, in fixQualifierAlignment()
H A DQualifierAlignmentFixer.h69 const AdditionalKeywords &Keywords,
76 const AdditionalKeywords &Keywords,
H A DFormatTokenLexer.h44 const AdditionalKeywords &getKeywords() { return Keywords; } in getKeywords()
126 AdditionalKeywords Keywords; variable
H A DUnwrappedLineFormatter.cpp47 const AdditionalKeywords &Keywords, unsigned StartLevel, in LevelIndentTracker() argument
49 : Style(Style), Keywords(Keywords), AdditionalIndent(AdditionalIndent) { in LevelIndentTracker()
121 (RootToken.isOneOf(Keywords.kw_signals, Keywords.kw_qsignals) && in getIndentOffset()
147 const AdditionalKeywords &Keywords; member in clang::format::__anond596d1440111::LevelIndentTracker
193 LineJoiner(const FormatStyle &Style, const AdditionalKeywords &Keywords, in LineJoiner() argument
195 : Style(Style), Keywords(Keywords), End(Lines.end()), Next(Lines.begin()), in LineJoiner()
279 tok::kw_extern, Keywords.kw_interface)) { in tryFitMultipleLinesInOne()
800 Keywords.kw___except) || in tryMergeSimpleBlock()
840 Keywords.kw___except, tok::kw___finally)) { in tryMergeSimpleBlock()
1003 const AdditionalKeywords &Keywords; member in clang::format::__anond596d1440111::LineJoiner
[all …]
H A DUnwrappedLineParser.h104 const AdditionalKeywords &Keywords,
329 const AdditionalKeywords &Keywords; variable
H A DContinuationIndenter.h51 const AdditionalKeywords &Keywords,
188 const AdditionalKeywords &Keywords; variable
H A DContinuationIndenter.cpp244 const AdditionalKeywords &Keywords, in ContinuationIndenter() argument
249 : Style(Style), Keywords(Keywords), SourceMgr(SourceMgr), in ContinuationIndenter()
527 Keywords.kw_dollar) && in mustBreak()
845 !(Style.isJavaScript() && Tok.Previous->is(Keywords.kw_await)); in addTokenOnCurrentLine()
879 Tok.isOneOf(tok::ellipsis, Keywords.kw_await))) { in addTokenOnCurrentLine()
1099 !Current.isOneOf(Keywords.kw_async, Keywords.kw_function))) { in addTokenOnNewLine()
1332 Current.isOneOf(Keywords.kw_implements, Keywords.kw_extends)) { in getNewLineColumn()
1340 Keywords.isVerilogEndOfLabel(*PreviousNonComment)) { in getNewLineColumn()
1359 (Style.isVerilog() && Keywords.isVerilogBegin(*NextNonComment))) { in getNewLineColumn()
1770 Keywords.isVerilogEndOfLabel(Current)) { in moveStateToNextToken()
[all …]
H A DFormatTokenLexer.cpp34 Style(Style), IdentTable(IdentTable), Keywords(IdentTable),
480 if (!Keywords.isCSharpKeyword(*Keyword)) in tryMergeCSharpKeywordVariables()
676 Keywords.kw_instanceof, Keywords.kw_in) || in precedesOperand()
1380 } else if (!Tokens.empty() && Tokens.back()->is(Keywords.kw_apostrophe) && in getNextToken()
1415 } else if (Style.isTableGen() && !Keywords.isTableGenKeyword(*FormatTok)) { in getNextToken()
H A DFormat.cpp3036 const AdditionalKeywords &Keywords) { in guessIsObjC() argument
3132 FormatTok->isOneOf(Keywords.kw_NS_CLOSED_ENUM, Keywords.kw_NS_ENUM, in guessIsObjC()
3133 Keywords.kw_NS_ERROR_ENUM, in guessIsObjC()
3134 Keywords.kw_NS_OPTIONS, TT_ObjCBlockLBrace, in guessIsObjC()
3147 if (guessIsObjC(SourceManager, Line->Children, Keywords)) in guessIsObjC()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DHLSLRootSignatureTokenKinds.def90 // RootElement Keywords:
97 // RootConstants Keywords:
100 // DescriptorTable Keywords:
106 // General Parameter Keywords:
111 // View Parameter Keywords:
115 // StaticSampler Keywords:
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DRetainSummaryManager.h576 template <typename... Keywords>
578 const RetainSummary *Summ, Keywords *... Kws) {
583 template <typename... Keywords>
585 Keywords *... Kws) {
589 template <typename... Keywords>
591 Keywords *... Kws) {
596 template <typename... Keywords>
598 Keywords *... Kws) {
/freebsd/contrib/dialog/samples/copifuncs/
H A Difpatch52 - if (!strcasecmp(msg->key,"Keywords")) return 2;
54 + if (!strcasecmp(msg->key,"Keywords"))
/freebsd/bin/sh/tests/parser/
H A Dcase1.04 # Keywords can be used unquoted in case statements, except the keyword
/freebsd/contrib/dialog/
H A Ddialog.lsm13 Keywords: dialog, cdialog, shell, script, window
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTokenKinds.def262 // C99 6.4.1: Keywords. These turn into kw_* tokens.
356 // C++ 2.11p1: Keywords.
401 // C99 Keywords.
804 // Keywords defined by Attr.td.
/freebsd/contrib/libxo/doc/
H A Doptions.rst30 Option Keywords
/freebsd/sys/contrib/device-tree/Bindings/
H A Dwriting-schema.rst105 Keywords controlling how schema will validate properties not matched by this
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp4946 Keywords, Pragma, C23, HLSLAnnotation; in EmitClangAttrParsedAttrKinds() local
4996 Matches = &Keywords; in EmitClangAttrParsedAttrKinds()
5037 StringMatcher("Name", Keywords, OS).Emit(); in EmitClangAttrParsedAttrKinds()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dlocale274 // Keywords: "a", "abb"

12