syntaxcollect
本頁內容尚未翻譯。
cfamily.Init.collectOption
Section titled “cfamily.Init.collectOption”def Init.collectOption {A : Type} (p : Expr -> List A) (m : Option Init) : List AWhat p finds on every expression in an optional initializer.
cfamily.Param.collect
Section titled “cfamily.Param.collect”def Param.collect {A : Type} (p : Expr -> List A) (x : Param) : List AWhat p finds on every expression in a parameter (its default).
cfamily.Param.collectIn
Section titled “cfamily.Param.collectIn”def Param.collectIn {A : Type} (p : Expr -> List A) (xs : List Param) : List AWhat p finds on every expression in parameters.
cfamily.Enumerator.collect
Section titled “cfamily.Enumerator.collect”def Enumerator.collect {A : Type} (p : Expr -> List A) (x : Enumerator) : List AWhat p finds on every expression in an enumerator (its value).
cfamily.Enumerator.collectIn
Section titled “cfamily.Enumerator.collectIn”def Enumerator.collectIn {A : Type} (p : Expr -> List A) (xs : List Enumerator) : List AWhat p finds on every expression in enumerators.
cfamily.TypeDefinition.collect
Section titled “cfamily.TypeDefinition.collect”def TypeDefinition.collect {A : Type} (p : Expr -> List A) (x : TypeDefinition) : List AWhat p finds on every expression in a type defined in a block (its enumerators’ values).
cfamily.MemberInit.collect
Section titled “cfamily.MemberInit.collect”def MemberInit.collect {A : Type} (p : Expr -> List A) (x : MemberInit) : List AWhat p finds on every expression in a member’s initializer in a constructor.
cfamily.MemberInit.collectIn
Section titled “cfamily.MemberInit.collectIn”def MemberInit.collectIn {A : Type} (p : Expr -> List A) (xs : List MemberInit) : List AWhat p finds on every expression in members’ initializers.
cfamily.FunctionDefinition.collect
Section titled “cfamily.FunctionDefinition.collect”def FunctionDefinition.collect {A : Type} (p : Expr -> List A) (x : FunctionDefinition) : List AWhat p finds on every expression in a function’s definition.
cfamily.ClassDefinition.collect
Section titled “cfamily.ClassDefinition.collect”def ClassDefinition.collect {A : Type} (p : Expr -> List A) (x : ClassDefinition) : List AWhat p finds on every expression in a class’s definition.