Home
last modified time | relevance | path

Searched refs:styled (Results 1 – 25 of 46) sorted by relevance

12

/third_party/rust/crates/clap/src/error/
Dformat.rs32 let mut styled = StyledStr::new(); in format_error() localVariable
33 start_error(&mut styled); in format_error()
35 styled.none(msg.to_owned()); in format_error()
37 styled.none(source.to_string()); in format_error()
39 styled.none("unknown cause"); in format_error()
41 styled.none("\n"); in format_error()
42 styled in format_error()
56 let mut styled = StyledStr::new(); in format_error() localVariable
57 start_error(&mut styled); in format_error()
59 if !write_dynamic_context(error, &mut styled) { in format_error()
[all …]
Dmod.rs279 fn for_app(kind: ErrorKind, cmd: &Command, styled: StyledStr) -> Self { in for_app()
280 Self::new(kind).set_message(styled).with_cmd(cmd) in for_app()
331 pub(crate) fn display_help(cmd: &Command, styled: StyledStr) -> Self { in display_help()
332 Self::for_app(ErrorKind::DisplayHelp, cmd, styled) in display_help()
335 pub(crate) fn display_help_error(cmd: &Command, styled: StyledStr) -> Self { in display_help_error()
339 styled, in display_help_error()
343 pub(crate) fn display_version(cmd: &Command, styled: StyledStr) -> Self { in display_version()
344 Self::for_app(ErrorKind::DisplayVersion, cmd, styled) in display_version()
747 let styled = F::format_error(self); in formatted() localVariable
748 Cow::Owned(styled) in formatted()
[all …]
/third_party/typescript/tests/baselines/reference/
DdeclarationEmitObjectAssignedDefaultExport.types1 === tests/cases/compiler/node_modules/styled-components/node_modules/hoist-non-react-statics/index.…
13 === tests/cases/compiler/node_modules/styled-components/index.d.ts ===
45 declare const styled: StyledInterface;
46 >styled : StyledInterface
48 export default styled;
49 >styled : StyledInterface
52 import styled from "styled-components";
53 >styled : import("tests/cases/compiler/node_modules/styled-components/index").StyledInterface
55 const A = styled.div``;
56 …cases/compiler/node_modules/styled-components/index").StyledComponent<"div", import("tests/cases/c…
[all …]
DsymbolLinkDeclarationEmitModuleNamesImportRef.types3 >styles : import("tests/cases/compiler/Folder/node_modules/styled-components/typings/styled-compone…
6 …es : () => import("tests/cases/compiler/Folder/node_modules/styled-components/typings/styled-compo…
9 >styles : import("tests/cases/compiler/Folder/node_modules/styled-components/typings/styled-compone…
13 export declare const styles: import("styled-components").InterpolationValue[];
14 >styles : import("tests/cases/compiler/Folder/node_modules/styled-components/typings/styled-compone…
16 === tests/cases/compiler/Folder/node_modules/styled-components/typings/styled-components.d.ts ===
DreactTransitiveImportHasValidDeclaration.types12 === tests/cases/compiler/node_modules/create-emotion-styled/types/react/index.d.ts ===
30 === tests/cases/compiler/node_modules/create-emotion-styled/index.d.ts ===
35 import {StyledOtherComponent, StyledOtherComponentList} from "create-emotion-styled";
39 export default function styled(tag: string): (o: object) => StyledOtherComponent<{}, StyledOtherCom…
40 >styled : (tag: string) => (o: object) => StyledOtherComponent<{}, StyledOtherComponentList["div"],…
45 import styled from "react-emotion"
46 >styled : (tag: string) => (o: object) => import("tests/cases/compiler/node_modules/create-emotion-
48 const Form = styled('div')({ color: "red" })
49 >Form : import("tests/cases/compiler/node_modules/create-emotion-styled/index").StyledOtherComponen…
50 >styled('div')({ color: "red" }) : import("tests/cases/compiler/node_modules/create-emotion-styled/…
[all …]
DdeclarationEmitObjectAssignedDefaultExport.symbols1 === tests/cases/compiler/node_modules/styled-components/node_modules/hoist-non-react-statics/index.…
24 === tests/cases/compiler/node_modules/styled-components/index.d.ts ===
86 declare const styled: StyledInterface;
87 >styled : Symbol(styled, Decl(index.d.ts, 16, 13))
90 export default styled;
91 >styled : Symbol(styled, Decl(index.d.ts, 16, 13))
94 import styled from "styled-components";
95 >styled : Symbol(styled, Decl(index.ts, 0, 6))
97 const A = styled.div``;
99 >styled.div : Symbol(StyledInterface.div, Decl(index.d.ts, 12, 34))
[all …]
DallowSyntheticDefaultImportsCanPaintCrossModuleDeclaration.symbols15 export declare function styled(): Color;
16 >styled : Symbol(styled, Decl(file1.ts, 0, 28))
20 import { styled } from "./file1";
21 >styled : Symbol(styled, Decl(file2.ts, 0, 8))
23 export const A = styled();
25 >styled : Symbol(styled, Decl(file2.ts, 0, 8))
DdeclarationEmitObjectAssignedDefaultExport.errors.txt1 …: The inferred type of 'default' cannot be named without a reference to 'styled-components/node_mo…
4 ==== tests/cases/compiler/node_modules/styled-components/node_modules/hoist-non-react-statics/index…
12 ==== tests/cases/compiler/node_modules/styled-components/index.d.ts (0 errors) ====
29 declare const styled: StyledInterface;
30 export default styled;
32 import styled from "styled-components";
34 const A = styled.div``;
35 const B = styled.div``;
36 export const C = styled.div``;
46 !!! error TS2742: The inferred type of 'default' cannot be named without a reference to 'styled-com…
DallowSyntheticDefaultImportsCanPaintCrossModuleDeclaration.types13 export declare function styled(): Color;
14 >styled : () => Color
17 import { styled } from "./file1";
18 >styled : () => import("tests/cases/compiler/color").default
20 export const A = styled();
22 >styled() : import("tests/cases/compiler/color").default
23 >styled : () => import("tests/cases/compiler/color").default
DreactTransitiveImportHasValidDeclaration.symbols20 === tests/cases/compiler/node_modules/create-emotion-styled/types/react/index.d.ts ===
51 === tests/cases/compiler/node_modules/create-emotion-styled/index.d.ts ===
56 import {StyledOtherComponent, StyledOtherComponentList} from "create-emotion-styled";
60 export default function styled(tag: string): (o: object) => StyledOtherComponent<{}, StyledOtherCom…
61 >styled : Symbol(styled, Decl(index.d.ts, 0, 85))
68 import styled from "react-emotion"
69 >styled : Symbol(styled, Decl(index.ts, 0, 6))
71 const Form = styled('div')({ color: "red" })
73 >styled : Symbol(styled, Decl(index.ts, 0, 6))
DdeclarationEmitObjectAssignedDefaultExport.js28 declare const styled: StyledInterface;
29 export default styled;
31 import styled from "styled-components";
33 const A = styled.div``;
34 const B = styled.div``;
35 export const C = styled.div``;
DallowSyntheticDefaultImportsCanPaintCrossModuleDeclaration.js10 export declare function styled(): Color;
12 import { styled } from "./file1";
13 export const A = styled();
26 exports.A = (0, file1_1.styled)();
36 export declare function styled(): Color;
DsymbolLinkDeclarationEmitModuleNamesImportRef.symbols13 export declare const styles: import("styled-components").InterpolationValue[];
15 >InterpolationValue : Symbol(InterpolationValue, Decl(styled-components.d.ts, 0, 0))
17 === tests/cases/compiler/Folder/node_modules/styled-components/typings/styled-components.d.ts ===
19 >InterpolationValue : Symbol(InterpolationValue, Decl(styled-components.d.ts, 0, 0))
DreactTransitiveImportHasValidDeclaration.js27 export default function styled(tag: string): (o: object) => StyledOtherComponent<{}, StyledOtherCom…
30 import styled from "react-emotion"
32 const Form = styled('div')({ color: "red" })
/third_party/rust/crates/clap/src/output/
Dusage.rs40 let mut styled = StyledStr::new(); in create_usage_with_title() localVariable
41 styled.header("Usage:"); in create_usage_with_title()
42 styled.none(" "); in create_usage_with_title()
43 styled.extend(usage.into_iter()); in create_usage_with_title()
44 Some(styled) in create_usage_with_title()
75 let mut styled = StyledStr::new(); in create_help_usage() localVariable
81 styled.literal(name); in create_help_usage()
84 styled.placeholder(" [OPTIONS]"); in create_help_usage()
87 self.write_args(&[], !incl_reqs, &mut styled); in create_help_usage()
100 styled.none("\n"); in create_help_usage()
[all …]
Dhelp_template.rs834 let mut styled = StyledStr::new(); in write_subcommands() localVariable
835 styled.literal(subcommand.get_name()); in write_subcommands()
837 styled.none(", "); in write_subcommands()
838 styled.literal(format!("-{}", short)); in write_subcommands()
841 styled.none(", "); in write_subcommands()
842 styled.literal(format!("--{}", long)); in write_subcommands()
844 longest = longest.max(styled.display_width()); in write_subcommands()
845 ord_v.push((subcommand.get_display_order(), styled, subcommand)); in write_subcommands()
1018 fn replace_newline_var(styled: &mut StyledStr) { in replace_newline_var()
1019 for (_, content) in styled.iter_mut() { in replace_newline_var()
/third_party/typescript/tests/cases/compiler/
DdeclarationEmitObjectAssignedDefaultExport.ts29 declare const styled: StyledInterface; constant
30 export default styled;
32 import styled from "styled-components";
34 const A = styled.div``;
35 const B = styled.div``;
36 export const C = styled.div``;
DallowSyntheticDefaultImportsCanPaintCrossModuleDeclaration.ts9 export declare function styled(): Color; function
11 import { styled } from "./file1";
12 export const A = styled();
DreactTransitiveImportHasValidDeclaration.ts26 export default function styled(tag: string): (o: object) => StyledOtherComponent<{}, StyledOtherCom… function
29 import styled from "react-emotion"
31 const Form = styled('div')({ color: "red" })
/third_party/rust/crates/clap/src/builder/
Dstyled_str.rs31 AnsiDisplay { styled: self } in ansi()
248 let mut styled = StyledStr::new(); in from() localVariable
249 styled.none(name); in from()
250 styled in from()
256 let mut styled = StyledStr::new(); in from() localVariable
257 styled.none(name); in from()
258 styled in from()
264 let mut styled = StyledStr::new(); in from() localVariable
265 styled.none(name); in from()
266 styled in from()
[all …]
Dcommand.rs727 let mut styled = StyledStr::new(); in print_help() localVariable
729 write_help(&mut styled, self, &usage, false); in print_help()
731 let c = Colorizer::new(Stream::Stdout, color).with_content(styled); in print_help()
754 let mut styled = StyledStr::new(); in print_long_help() localVariable
756 write_help(&mut styled, self, &usage, true); in print_long_help()
758 let c = Colorizer::new(Stream::Stdout, color).with_content(styled); in print_long_help()
782 let mut styled = StyledStr::new(); in render_help() localVariable
784 write_help(&mut styled, self, &usage, false); in render_help()
785 styled in render_help()
808 let mut styled = StyledStr::new(); in render_long_help() localVariable
[all …]
Darg.rs4142 let mut styled = StyledStr::new(); in stylized() localVariable
4145 styled.literal("--"); in stylized()
4146 styled.literal(l); in stylized()
4148 styled.literal("-"); in stylized()
4149 styled.literal(s); in stylized()
4151 styled.extend(self.stylize_arg_suffix(required).into_iter()); in stylized()
4152 styled in stylized()
4156 let mut styled = StyledStr::new(); in stylize_arg_suffix() localVariable
4164 styled.placeholder("[="); in stylize_arg_suffix()
4166 styled.literal("="); in stylize_arg_suffix()
[all …]
/third_party/curl/docs/cmdline-opts/
Dstyled-output.d3 Long: styled-output
4 Help: Enable styled output for HTTP headers
7 Example: --styled-output -I $URL
13 terminal. Use --no-styled-output to switch them off.
/third_party/rust/crates/clap/src/
Dmacros.rs642 let mut styled = $crate::builder::StyledStr::new(); localVariable
643 styled.hint(prefix);
644 styled.hint(body);
645 styled.none("\n");
646 …olorizer::new($crate::output::fmt::Stream::Stderr, $crate::ColorChoice::Auto).with_content(styled);
/third_party/node/test/fixtures/wpt/common/security-features/subresource/template/
Dimage.css.template1 div.styled::before {

12