Class ProjectViewTargetsSectionParser
- java.lang.Object
-
- org.jetbrains.bsp.bazel.projectview.parser.sections.ProjectViewTargetsSectionParser
-
public class ProjectViewTargetsSectionParser extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringsectionName
-
Constructor Summary
Constructors Constructor Description ProjectViewTargetsSectionParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TconcatSectionsItems(T section1, T section2)protected org.jetbrains.bsp.bazel.projectview.model.sections.ProjectViewTargetsSectioncreateInstance(io.vavr.collection.List<ch.epfl.scala.bsp4j.BuildTargetIdentifier> includedValues, io.vavr.collection.List<ch.epfl.scala.bsp4j.BuildTargetIdentifier> excludedValues)protected TcreateInstance(io.vavr.collection.List<V> values)protected ch.epfl.scala.bsp4j.BuildTargetIdentifiermapRawValues(java.lang.String rawValue)protected io.vavr.control.Option<T>parse(io.vavr.collection.List<java.lang.String> allEntries)protected io.vavr.control.Option<T>parse(java.lang.String sectionBody)io.vavr.control.Try<io.vavr.control.Option<T>>parse(ProjectViewRawSection rawSection)io.vavr.control.Option<T>parse(ProjectViewRawSections rawSections)io.vavr.control.Option<T>parseOrDefault(ProjectViewRawSections rawSections, io.vavr.control.Option<T> defaultValue)
-
-
-
Method Detail
-
mapRawValues
protected ch.epfl.scala.bsp4j.BuildTargetIdentifier mapRawValues(java.lang.String rawValue)
-
createInstance
protected org.jetbrains.bsp.bazel.projectview.model.sections.ProjectViewTargetsSection createInstance(io.vavr.collection.List<ch.epfl.scala.bsp4j.BuildTargetIdentifier> includedValues, io.vavr.collection.List<ch.epfl.scala.bsp4j.BuildTargetIdentifier> excludedValues)
-
concatSectionsItems
protected T concatSectionsItems(T section1, T section2)
-
parse
protected io.vavr.control.Option<T> parse(io.vavr.collection.List<java.lang.String> allEntries)
-
createInstance
protected T createInstance(io.vavr.collection.List<V> values)
-
parseOrDefault
public io.vavr.control.Option<T> parseOrDefault(ProjectViewRawSections rawSections, io.vavr.control.Option<T> defaultValue)
-
parse
public io.vavr.control.Option<T> parse(ProjectViewRawSections rawSections)
-
parse
protected io.vavr.control.Option<T> parse(java.lang.String sectionBody)
-
parse
public io.vavr.control.Try<io.vavr.control.Option<T>> parse(ProjectViewRawSection rawSection)
-
-