Home
last modified time | relevance | path

Searched refs:LK_JavaScript (Results 1 – 9 of 9) sorted by relevance

/external/clang/unittests/Format/
DFormatTestJS.cpp39 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { in format()
44 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in getGoogleJSStyleWithColumns()
51 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { in verifyFormat()
228 getChromiumStyle(FormatStyle::LK_JavaScript)); in TEST_F()
403 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
DFormatTest.cpp9613 Styles[0] = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
9615 getPredefinedStyle("Google", FormatStyle::LK_JavaScript, &Styles[1])); in TEST_F()
9617 getPredefinedStyle("gOOgle", FormatStyle::LK_JavaScript, &Styles[2])); in TEST_F()
9653 Styles[0] = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
9655 Styles[1].Language = FormatStyle::LK_JavaScript; in TEST_F()
9659 Styles[2].Language = FormatStyle::LK_JavaScript; in TEST_F()
9666 Styles[3].Language = FormatStyle::LK_JavaScript; in TEST_F()
9673 Styles[4].Language = FormatStyle::LK_JavaScript; in TEST_F()
9959 Style.Language = FormatStyle::LK_JavaScript; in TEST_F()
9970 EXPECT_EQ(FormatStyle::LK_JavaScript, Style.Language); in TEST_F()
[all …]
/external/clang/lib/Format/
DUnwrappedLineParser.cpp258 !Line->InPPDirective && Style.Language != FormatStyle::LK_JavaScript; in parseFile()
475 Style.Language == FormatStyle::LK_JavaScript && isGoogScope(*Line); in parseChildBlock()
728 Style.Language == FormatStyle::LK_JavaScript) in parseStructuralElement()
769 if (Style.Language == FormatStyle::LK_JavaScript) { in parseStructuralElement()
784 if (Style.Language == FormatStyle::LK_JavaScript && in parseStructuralElement()
834 Style.Language == FormatStyle::LK_JavaScript) { in parseStructuralElement()
845 if (Style.Language == FormatStyle::LK_JavaScript && FormatTok && in parseStructuralElement()
904 if (Style.Language == FormatStyle::LK_JavaScript && in parseStructuralElement()
909 if ((Style.Language == FormatStyle::LK_JavaScript || in parseStructuralElement()
922 Style.Language != FormatStyle::LK_JavaScript) { in parseStructuralElement()
[all …]
DTokenAnnotator.cpp279 } else if (Style.Language == FormatStyle::LK_JavaScript && Parent && in parseSquare()
382 Style.Language == FormatStyle::LK_JavaScript) in parseBrace()
444 if (Style.Language == FormatStyle::LK_JavaScript) { in consumeToken()
573 if (Style.Language == FormatStyle::LK_JavaScript && Tok->Next && in consumeToken()
586 Style.Language == FormatStyle::LK_JavaScript) in consumeToken()
754 return Style.Language == FormatStyle::LK_JavaScript && in isImportStatement()
930 if (Style.Language == FormatStyle::LK_JavaScript && in determineTokenType()
999 Style.Language == FormatStyle::LK_JavaScript) && in determineTokenType()
1153 if (Style.Language == FormatStyle::LK_JavaScript) in determineStarAmpUsage()
1379 Style.Language == FormatStyle::LK_JavaScript) && in getCurrentPrecedence()
[all …]
DFormat.cpp48 IO.enumCase(Value, "JavaScript", FormatStyle::LK_JavaScript); in enumeration()
579 } else if (Language == FormatStyle::LK_JavaScript) { in getGoogleStyle()
784 if (Style.Language == FormatStyle::LK_JavaScript) in lex()
804 if (Style.Language == FormatStyle::LK_JavaScript) { in tryMergePreviousTokens()
1280 } else if (Style.Language == FormatStyle::LK_JavaScript && in getNextToken()
1372 } else if (Style.Language == FormatStyle::LK_JavaScript && in readRawToken()
1407 case FormatStyle::LK_JavaScript: in getLanguageName()
1946 return FormatStyle::LK_JavaScript; in getLanguageByFileName()
DContinuationIndenter.cpp447 if (Style.Language != FormatStyle::LK_JavaScript || in addTokenOnNewLine()
1038 Style.Language == FormatStyle::LK_JavaScript) in breakProtrudingToken()
DUnwrappedLineFormatter.cpp89 Style.Language == FormatStyle::LK_JavaScript) in getIndentOffset()
/external/clang/include/clang/Format/
DFormat.h427 LK_JavaScript, enumerator
/external/clang/docs/
DClangFormatStyleOptions.rst509 * ``LK_JavaScript`` (in configuration: ``JavaScript``)