Home
last modified time | relevance | path

Searched refs:Annotated (Results 1 – 25 of 1539) sorted by relevance

12345678910>>...62

/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/retrie-0.1.1.1/Retrie/ExactPrint/
H A DAnnotated.hs9 module Retrie.ExactPrint.Annotated
11 Annotated
64 data Annotated ast = Annotated type
73 instance Functor Annotated where
74 fmap f Annotated{..} = Annotated{astA = f astA, ..}
76 instance Foldable Annotated where
80 traverse f Annotated{..} =
99 unsafeMkA = Annotated
103 :: Monad m => Annotated ast1 -> (ast1 -> TransformT m ast2) -> m (Annotated ast2)
142 trimA :: Data ast => Annotated ast -> Annotated ast
[all …]
/dports/devel/py-mypy/mypy-0.910/test-data/unit/
H A Dcheck-annotated.test2 from typing_extensions import Annotated
3 x: Annotated[int, ...]
10 x: Annotated[Union[int, str], ...]
46 x: Annotated[Annotated[int, ...], ...]
53 x: Annotated[Annotated[Union[int, str], ...], ...]
59 x: Annotated[Annotated[XXX, ...], ...] # E: Name "XXX" is not defined
65 x: Annotated[Annotated, ...] # E: Annotated[...] must have exactly one type argument and at least …
71 x: Annotated[Annotated[int], ...] # E: Annotated[...] must have exactly one type argument and at l…
76 x: Annotated[int, ...] # E: Name "Annotated" is not defined
97 Alias = Annotated[T, ...]
[all …]
/dports/devel/py-typing-extensions/typing_extensions-3.10.0.2/src_py2/
H A Dtest_typing_extensions.py252 A = Annotated[Annotated[int, 4], 5]
268 self.assertNotEqual(Annotated[int, 4, 5], Annotated[int, 5, 4])
269 self.assertNotEqual(Annotated[int, 4, 5], Annotated[str, 4, 5])
270 self.assertNotEqual(Annotated[int, 4], Annotated[int, 4, 4])
272 {Annotated[int, 4, 5], Annotated[int, 4, 5], Annotated[T, 4, 5]},
273 {Annotated[int, 4, 5], Annotated[T, 4, 5]}
325 self.assertNotEqual(Annotated[int, 4, 5], Annotated[int, 5, 4])
326 self.assertNotEqual(Annotated[int, 4, 5], Annotated[str, 4, 5])
327 self.assertNotEqual(Annotated[int, 4], Annotated[int, 4, 4])
329 {Annotated[int, 4, 5], Annotated[int, 4, 5], Annotated[T, 4, 5]},
[all …]
/dports/lang/ghc/ghc-8.8.4-boot/libraries/pretty/dist-install/build/
H A D.depend-v.haskell2 …etty/dist-install/build/Text/PrettyPrint/Annotated/HughesPJ.o : libraries/pretty/src/Text/PrettyPr…
3 …dist-install/build/Text/PrettyPrint/Annotated/HughesPJ.hi : %hi: %o libraries/pretty/src/Text/Pr…
4 libraries/pretty/dist-install/build/Text/PrettyPrint/Annotated/HughesPJ.o : libraries/base/dist-ins…
7 libraries/pretty/dist-install/build/Text/PrettyPrint/Annotated/HughesPJ.o : libraries/base/dist-ins…
10 …es/pretty/dist-install/build/Text/PrettyPrint/Annotated.o : libraries/pretty/src/Text/PrettyPrint/
11 …tty/dist-install/build/Text/PrettyPrint/Annotated.hi : %hi: %o libraries/pretty/src/Text/PrettyP…
12 libraries/pretty/dist-install/build/Text/PrettyPrint/Annotated.o : libraries/base/dist-install/buil…
13 …y/dist-install/build/Text/PrettyPrint/Annotated.o : libraries/pretty/dist-install/build/Text/Prett…
14 …ty/dist-install/build/Text/PrettyPrint/Annotated/HughesPJClass.o : libraries/pretty/src/Text/Prett…
15 …t-install/build/Text/PrettyPrint/Annotated/HughesPJClass.hi : %hi: %o libraries/pretty/src/Text/…
[all …]
/dports/devel/py-pydantic/pydantic-1.8.2/tests/
H A Dtest_annotated.py2 from typing_extensions import Annotated
14 lambda: Annotated[int, 0],
19 lambda: Annotated[int, 0],
25 lambda: Annotated[int, Field(description='Test')], # noqa: F821
51 lambda: Annotated[int, Field(5)],
57 lambda: Annotated[int, Field(), Field()],
63 lambda: Annotated[int, Field()],
88 lambda: Annotated[int, 0],
94 lambda: Annotated[int, Field()],
120 one: Annotated[int, field]
[all …]
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-exactprint-0.6.4/src/Language/Haskell/GHC/ExactPrint/
H A DAnnotateTypes.hs125 … a -> Annotated b -> next -> AnnotationF next
128 … -> Annotated b -> next -> AnnotationF next
131 …WithSortKey :: [(AnnSpan, Annotated ())] -> next -> AnnotationF ne…
150 SetContextLevel :: Set.Set AstContext -> Int -> Annotated () -> next -> AnnotationF next
151 UnsetContext :: AstContext -> Annotated () -> next -> AnnotationF next
153 IfInContext :: Set.Set AstContext -> Annotated () -> Annotated () -> next -> AnnotationF next
154 WithSortKeyContexts :: ListContexts -> [(AnnSpan, Annotated ())] -> next -> AnnotationF next
160 type Annotated = FreeT AnnotationF Identity type
370 markAnnOpen :: GHC.SourceText -> String -> Annotated ()
374 markSourceText :: GHC.SourceText -> String -> Annotated ()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/devel/llvm11/llvm-11.0.1.src/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/devel/llvm10/llvm-10.0.1.src/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/devel/llvm90/llvm-9.0.1.src/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef"); in TEST() local
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u)); in TEST()
67 EXPECT_THAT(Annotated.ranges(), in TEST()
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in TEST() local
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in TEST()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in TEST()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in TEST()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/unittests/Support/
H A DAnnotationsTest.cpp65 llvm::Annotations Annotated("a[[f^oo^bar[[b[[a]]z]]]]bcdef");
66 EXPECT_THAT(Annotated.points(), ElementsAre(2u, 4u));
67 EXPECT_THAT(Annotated.ranges(),
81 llvm::Annotations Annotated("a$p1^bcd$p2^123$p1^345"); in ModuleWithFunctionTest()
82 EXPECT_THAT(Annotated.points(), IsEmpty()); in ModuleWithFunctionTest()
83 EXPECT_THAT(Annotated.points("p1"), ElementsAre(1u, 7u)); in ModuleWithFunctionTest()
84 EXPECT_EQ(Annotated.point("p2"), 4u); in ModuleWithFunctionTest()
/dports/astro/py-astropy/astropy-5.0/astropy/units/
H A D_typing.py9 from typing import Annotated
12 from typing_extensions import Annotated
15 Annotated = NotImplemented variable
20 HAS_ANNOTATED = Annotated is not NotImplemented
/dports/emulators/qemu/qemu-6.2.0/scripts/qapi/
H A Dintrospect.py81 class Annotated(Generic[_ValueT]): class
112 if isinstance(obj, Annotated):
179 self._trees: List[Annotated[SchemaInfo]] = []
248 ) -> List[Annotated[str]]:
249 return [Annotated(f.name, f.ifcond) for f in features]
276 self._trees.append(Annotated(obj, ifcond, comment))
279 ) -> Annotated[SchemaInfoEnumMember]:
285 return Annotated(obj, member.ifcond)
297 return Annotated(obj, member.ifcond)
300 ) -> Annotated[SchemaInfoObjectVariant]:
[all …]
/dports/astro/py-astropy/astropy-5.0/docs/units/
H A Dtype_hints.rst52 typing.Annotated[astropy.units.quantity.Quantity, Unit("m")]
55 typing.Annotated[astropy.units.quantity.Quantity, PhysicalType('length')]
57 See ``typing.Annotated`` for explanation of ``Annotated``
78 typing.Optional[typing.Annotated[astropy.units.quantity.Quantity, Unit("m")]]
81 typing.Union[typing.Annotated[astropy.units.quantity.Quantity, Unit("m")],
82 typing.Annotated[astropy.units.quantity.Quantity, PhysicalType('time')]]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/scripts/qapi/
H A Dintrospect.py80 class Annotated(Generic[_ValueT]): class
111 if isinstance(obj, Annotated):
178 self._trees: List[Annotated[SchemaInfo]] = []
247 ) -> List[Annotated[str]]:
248 return [Annotated(f.name, f.ifcond) for f in features]
275 self._trees.append(Annotated(obj, ifcond, comment))
278 ) -> Annotated[SchemaInfoObjectMember]:
287 return Annotated(obj, member.ifcond)
290 ) -> Annotated[SchemaInfoObjectVariant]:
295 return Annotated(obj, variant.ifcond)
[all …]
/dports/devel/py-typing-extensions/typing_extensions-3.10.0.2/src_py3/
H A Dtest_typing_extensions.py545 self.assertIs(get_origin(Annotated[T, 'thing']), Annotated)
1725 A = Annotated[Annotated[int, 4], 5]
1745 self.assertNotEqual(Annotated[int, 4, 5], Annotated[int, 5, 4])
1746 self.assertNotEqual(Annotated[int, 4, 5], Annotated[str, 4, 5])
1747 self.assertNotEqual(Annotated[int, 4], Annotated[int, 4, 4])
1749 {Annotated[int, 4, 5], Annotated[int, 4, 5], Annotated[T, 4, 5]},
1750 {Annotated[int, 4, 5], Annotated[T, 4, 5]}
1802 self.assertNotEqual(Annotated[int, 4, 5], Annotated[int, 5, 4])
1804 self.assertNotEqual(Annotated[int, 4], Annotated[int, 4, 4])
1806 {Annotated[int, 4, 5], Annotated[int, 4, 5], Annotated[T, 4, 5]},
[all …]

12345678910>>...62