public class SwiftAttributeParser extends Object
SwiftAttributes.| Constructor and Description |
|---|
SwiftAttributeParser(SwiftBuckConfig swiftBuckConfig,
ProjectGenerationStateCache projectGenerationStateCache,
ProjectFilesystem projectFilesystem)
Attribute parser for Swift specific attributes of a Target..
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getSwiftObjCGeneratedHeaderName(TargetNode<?> node,
Optional<String> optModuleName)
Get the generated header name with the provided
optModuleName or getting the module
name from the node. |
com.facebook.buck.features.apple.projectV2.SwiftAttributes |
parseSwiftAttributes(TargetNode<? extends CxxLibraryDescription.CommonArg> targetNode)
Parse Swift specific attributes for the
targetNode. |
public SwiftAttributeParser(SwiftBuckConfig swiftBuckConfig, ProjectGenerationStateCache projectGenerationStateCache, ProjectFilesystem projectFilesystem)
swiftBuckConfig - projectGenerationStateCache - projectFilesystem - public com.facebook.buck.features.apple.projectV2.SwiftAttributes parseSwiftAttributes(TargetNode<? extends CxxLibraryDescription.CommonArg> targetNode)
targetNode.public static String getSwiftObjCGeneratedHeaderName(TargetNode<?> node, Optional<String> optModuleName)
optModuleName or getting the module
name from the node.