Home
last modified time | relevance | path

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

1234

/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/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 …]
/third_party/typescript/tests/baselines/reference/
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 ===
34 import {StyledOtherComponent, StyledOtherComponentList} from "create-emotion-styled";
38 export default function styled(tag: string): (o: object) => StyledOtherComponent<{}, StyledOtherCom…
39 >styled : (tag: string) => (o: object) => StyledOtherComponent<{}, StyledOtherComponentList["div"],…
44 import styled from "react-emotion"
45 >styled : (tag: string) => (o: object) => import("tests/cases/compiler/node_modules/create-emotion-
47 const Form = styled('div')({ color: "red" })
48 >Form : import("tests/cases/compiler/node_modules/create-emotion-styled/index").StyledOtherComponen…
49 >styled('div')({ color: "red" }) : import("tests/cases/compiler/node_modules/create-emotion-styled/…
[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))
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 ===
55 import {StyledOtherComponent, StyledOtherComponentList} from "create-emotion-styled";
59 export default function styled(tag: string): (o: object) => StyledOtherComponent<{}, StyledOtherCom…
60 >styled : Symbol(styled, Decl(index.d.ts, 0, 85))
67 import styled from "react-emotion"
68 >styled : Symbol(styled, Decl(index.ts, 0, 6))
70 const Form = styled('div')({ color: "red" })
72 >styled : Symbol(styled, Decl(index.ts, 0, 6))
DallowSyntheticDefaultImportsCanPaintCrossModuleDeclaration.js10 export declare function styled(): Color;
12 import { styled } from "./file1";
13 export const A = styled();
26 exports.A = 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/node/deps/npm/docs/src/components/home/
DTerminal.js2 import styled, {keyframes} from 'styled-components'
8 const TerminalBody = styled(Flex)`
24 const Top = styled(Flex)`
29 const SiteName = styled(Flex)`
41 const Bottom = styled(Flex)`
64 const Cursor = styled.span`
74 const Bracket = styled.span`
81 const Text = styled.span`
92 const ModalButton = styled(RebassButton)`
Dcubes.js1 import styled, {css, keyframes} from 'styled-components'
26 export const CubeTopLeft = styled.div`
42 export const CubeMiddleLeft = styled.span`
57 export const CubeBottomLeft = styled.span`
72 export const CubeBottomRight = styled.span`
88 export const CubeTopRight = styled.span`
DFeatureCard.js2 import styled from 'styled-components'
5 const Card = styled(Flex)`
11 const Desc = styled.p`
16 const Title = styled(Text)`
22 const Icon = styled(Image)`
DDarkBlock.js2 import styled from 'styled-components'
6 const Container = styled(Flex)`
11 const ContentWrapper = styled(Flex)`
16 const Text = styled.p`
DFeatures.js2 import styled from 'styled-components'
12 const ContainerInner = styled(Flex)`
16 const Container = styled.div`
20 const ContentWrapper = styled(Flex)`
DFooter.js3 import styled from 'styled-components'
6 const Container = styled(Flex)`
12 const ContentWrapper = styled(Box)`
/third_party/node/deps/npm/docs/src/components/
Dnavbar.js2 import styled from 'styled-components'
13 const Container = styled(Flex)`
22 const Inner = styled(Flex)`
32 const Logo = styled(Image)`
45 const Links = styled.ul`
54 const Heart = styled(Box)`
59 const Hamburger = styled.button`
Dlinks.js2 import styled, {css} from 'styled-components'
29 export const FeatureLink = styled(Link)`
33 export const NavLink = styled(Link)`
37 export const BasicNavLink = styled.a`
41 export const SidebarLink = styled(Link)`
DButton.js3 import styled from 'styled-components'
5 export const LinkButton = styled(Link)`
/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/typescript/tests/cases/compiler/
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" })

1234