Interface NamedPath.OngoingDefinitionWithName

Enclosing class:
NamedPath

public static interface NamedPath.OngoingDefinitionWithName
Partial path that has a name (p = ).
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull NamedPath
    definedBy(PatternElement patternElement)
    Create a new named path based on a PatternElement single node.
    @NotNull NamedPath
    get()
    Create a new named path that references a given, symbolic name.
  • Method Details

    • definedBy

      @NotNull @Contract(pure=true) @NotNull NamedPath definedBy(PatternElement patternElement)
      Create a new named path based on a PatternElement single node. If a NamedPath will be provided, it will get used directly.
      Parameters:
      patternElement - The PatternElement to be used in named path.
      Returns:
      A named path.
    • get

      @NotNull @Contract(pure=true) @NotNull NamedPath get()
      Create a new named path that references a given, symbolic name. No checks are done if the referenced name actually points to a path.
      Returns:
      A named path.
      Since:
      2020.1.4