Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.cpp159 const AdditionalKeywords &Keywords, unsigned FirstStartColumn, in UnwrappedLineParser() argument
165 LangOpts(getFormattingLangOpts(Style)), Keywords(Keywords), in UnwrappedLineParser()
305 if (FormatTok->is(Keywords.kw_where)) { in parseCSharpGenericTypeConstraint()
570 NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in, in calculateBraceTypes()
571 Keywords.kw_as)); in calculateBraceTypes()
713 TokenAnnotator Annotator(Style, Keywords); in mightFitOnOneLine()
755 if (Keywords.isVerilogIdentifier(*FormatTok)) in parseBlock()
763 Style.isVerilog() && Keywords in parseBlock()
942 isIIFE(const UnwrappedLine & Line,const AdditionalKeywords & Keywords) isIIFE() argument
1245 mustBeJSIdent(const AdditionalKeywords & Keywords,const FormatToken * FormatTok) mustBeJSIdent() argument
1260 mustBeJSIdentOrValue(const AdditionalKeywords & Keywords,const FormatToken * FormatTok) mustBeJSIdentOrValue() argument
1269 isJSDeclOrStmt(const AdditionalKeywords & Keywords,const FormatToken * FormatTok) isJSDeclOrStmt() argument
[all...]
H A DTokenAnnotator.cpp126 const AdditionalKeywords &Keywords, in AnnotatingParser() argument
130 Keywords(Keywords), Scopes(Scopes), TemplateDeclarationDepth(0) { in AnnotatingParser()
356 (Line.startsWith(Keywords.kw_type, tok::identifier) || in parseParens()
357 Line.startsWith(tok::kw_export, Keywords.kw_type, in parseParens()
371 (OpeningParen.Previous->is(Keywords.kw_function) || in parseParens()
373 Keywords.kw_function)))) { in parseParens()
586 if (MightBeObjCForRangeLoop && CurrentToken->is(Keywords.kw_in)) { in parseParens()
659 tok::l_square, Keywords.kw_internal)) { in isCSharpAttributeSpecifier()
1188 OpeningBrace.getPreviousNonComment()->isNot(Keywords.kw_apostrophe))) { in parseBrace()
1353 if (Keywords.isVerilogEnd(*Tok->Previous) || in consumeToken()
[all …]
H A DSortJavaScriptImports.cpp148 const AdditionalKeywords &Keywords = Tokens.getKeywords(); in analyze() local
152 parseModuleReferences(Keywords, AnnotatedLines); in analyze()
363 parseModuleReferences(const AdditionalKeywords &Keywords, in parseModuleReferences() argument
411 if (!parseModuleReference(Keywords, Reference)) { in parseModuleReferences()
443 bool parseModuleReference(const AdditionalKeywords &Keywords, in parseModuleReference() argument
445 if (!Current || !Current->isOneOf(Keywords.kw_import, tok::kw_export)) in parseModuleReference()
458 if (!parseModuleBindings(Keywords, Reference)) in parseModuleReference()
461 if (Current->is(Keywords.kw_from)) { in parseModuleReference()
481 bool parseModuleBindings(const AdditionalKeywords &Keywords, in parseModuleBindings() argument
483 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 DTokenAnnotator.h215 TokenAnnotator(const FormatStyle &Style, const AdditionalKeywords &Keywords) in TokenAnnotator() argument
217 LangOpts(getFormattingLangOpts(Style)), Keywords(Keywords) { in TokenAnnotator()
270 const AdditionalKeywords &Keywords; variable
H A DUnwrappedLineFormatter.cpp47 const AdditionalKeywords &Keywords, unsigned StartLevel, in LevelIndentTracker() argument
49 : Style(Style), Keywords(Keywords), AdditionalIndent(AdditionalIndent) { in LevelIndentTracker()
127 if (RootToken.isOneOf(Keywords.kw_signals, Keywords.kw_qsignals) && in getIndentOffset()
132 if (Next && Next->isOneOf(Keywords.kw_slots, Keywords.kw_qslots) && in getIndentOffset()
167 const AdditionalKeywords &Keywords; member in clang::format::__anond596d1440111::LevelIndentTracker
213 LineJoiner(const FormatStyle &Style, const AdditionalKeywords &Keywords, in LineJoiner() argument
215 : Style(Style), Keywords(Keywords), End(Lines.end()), Next(Lines.begin()), in LineJoiner()
300 tok::kw_extern, Keywords.kw_interface)) { in tryFitMultipleLinesInOne()
760 Keywords.kw___except)) { in tryMergeSimpleBlock()
799 Keywords.kw___except, tok::kw___finally)) { in tryMergeSimpleBlock()
[all …]
H A DFormatTokenLexer.h44 const AdditionalKeywords &getKeywords() { return Keywords; } in getKeywords()
123 AdditionalKeywords Keywords; variable
H A DQualifierAlignmentFixer.h69 const AdditionalKeywords &Keywords,
76 const AdditionalKeywords &Keywords,
H A DQualifierAlignmentFixer.cpp180 const SourceManager &SourceMgr, const AdditionalKeywords &Keywords, in analyzeRight() argument
371 const SourceManager &SourceMgr, const AdditionalKeywords &Keywords, in analyzeLeft() argument
548 const AdditionalKeywords &Keywords = Tokens.getKeywords(); in fixQualifierAlignment() local
571 Tok = analyzeRight(SourceMgr, Keywords, Fixes, Tok, Qualifier, in fixQualifierAlignment()
574 Tok = analyzeLeft(SourceMgr, Keywords, Fixes, Tok, Qualifier, in fixQualifierAlignment()
H A DUnwrappedLineParser.h104 const AdditionalKeywords &Keywords,
323 const AdditionalKeywords &Keywords; variable
H A DContinuationIndenter.h51 const AdditionalKeywords &Keywords,
188 const AdditionalKeywords &Keywords; variable
H A DContinuationIndenter.cpp236 const AdditionalKeywords &Keywords, in ContinuationIndenter() argument
241 : Style(Style), Keywords(Keywords), SourceMgr(SourceMgr), in ContinuationIndenter()
501 Keywords.kw_dollar) && in mustBreak()
1004 !Current.isOneOf(Keywords.kw_async, Keywords.kw_function))) { in addTokenOnNewLine()
1231 Current.isOneOf(Keywords.kw_implements, Keywords.kw_extends)) { in getNewLineColumn()
1239 Keywords.isVerilogEndOfLabel(*PreviousNonComment)) { in getNewLineColumn()
1250 (Style.isVerilog() && Keywords.isVerilogBegin(*NextNonComment))) { in getNewLineColumn()
1654 Keywords.isVerilogEndOfLabel(Current)) { in moveStateToNextToken()
2349 Current.Previous->isOneOf(tok::kw_export, Keywords.kw_import)) { in createBreakableToken()
H A DFormatTokenLexer.cpp33 Style(Style), IdentTable(IdentTable), Keywords(IdentTable),
437 if (!Keywords.isCSharpKeyword(*Keyword)) in tryMergeCSharpKeywordVariables()
611 tok::kw_typeof, Keywords.kw_instanceof, Keywords.kw_in) || in precedesOperand()
1267 Tokens.back()->is(Keywords.kw_apostrophe) && in getNextToken()
1304 } else if (Style.isTableGen() && !Keywords.isTableGenKeyword(*FormatTok)) { in getNextToken()
H A DFormat.cpp2867 const AdditionalKeywords &Keywords) { in guessIsObjC() argument
2964 FormatTok->isOneOf(Keywords.kw_NS_CLOSED_ENUM, Keywords.kw_NS_ENUM, in guessIsObjC()
2965 Keywords.kw_NS_ERROR_ENUM, in guessIsObjC()
2966 Keywords.kw_NS_OPTIONS, TT_ObjCBlockLBrace, in guessIsObjC()
2979 if (guessIsObjC(SourceManager, Line->Children, Keywords)) in guessIsObjC()
/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.def265 // C99 6.4.1: Keywords. These turn into kw_* tokens.
355 // C++ 2.11p1: Keywords.
400 // C99 Keywords.
789 // 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.cpp4813 Keywords, Pragma, C23, HLSLAnnotation; in EmitClangAttrParsedAttrKinds() local
4861 Matches = &Keywords; in EmitClangAttrParsedAttrKinds()
4898 StringMatcher("Name", Keywords, OS).Emit(); in EmitClangAttrParsedAttrKinds()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dlocale274 // Keywords: "a", "abb"
/freebsd/contrib/ncurses/misc/
H A Dterminfo.src6949 # Keywords: xvt, xterm, Xwindows