Package ch.so.agi.mcp.change
Class IliSourceLocator
java.lang.Object
ch.so.agi.mcp.change.IliSourceLocator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordExact attribute declaration plus the IliDoc/meta-attribute prelude owned by it.static enumstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlocateAttribute(IliSourceDocument document, IliSourceLocator.BlockLocation container, String attributeName, int approximateLine) locateAttributeDeclaration(IliSourceDocument document, IliSourceLocator.BlockLocation container, String attributeName, int approximateLine) locateNamedBlock(IliSourceDocument document, IliSourceLocator.BlockKind kind, String name) locateNamedBlock(IliSourceDocument document, IliSourceLocator.BlockKind kind, String name, int approximateLine) locateNamedBlock(IliSourceDocument document, IliSourceLocator.BlockKind kind, String name, int approximateLine, IliSourceLocator.BlockLocation owner) Resolves a declaration only within its already resolved owning block.locateNamedBlocks(IliSourceDocument document, IliSourceLocator.BlockKind kind, String name)
-
Constructor Details
-
IliSourceLocator
public IliSourceLocator()
-
-
Method Details
-
locateNamedBlocks
public List<IliSourceLocator.BlockLocation> locateNamedBlocks(IliSourceDocument document, IliSourceLocator.BlockKind kind, String name) -
locateNamedBlock
public IliSourceLocator.BlockLocation locateNamedBlock(IliSourceDocument document, IliSourceLocator.BlockKind kind, String name) -
locateNamedBlock
public IliSourceLocator.BlockLocation locateNamedBlock(IliSourceDocument document, IliSourceLocator.BlockKind kind, String name, int approximateLine) -
locateNamedBlock
public IliSourceLocator.BlockLocation locateNamedBlock(IliSourceDocument document, IliSourceLocator.BlockKind kind, String name, int approximateLine, IliSourceLocator.BlockLocation owner) Resolves a declaration only within its already resolved owning block. -
locateAttribute
public IliSourceSpan locateAttribute(IliSourceDocument document, IliSourceLocator.BlockLocation container, String attributeName, int approximateLine) -
locateAttributeDeclaration
public IliSourceLocator.AttributeLocation locateAttributeDeclaration(IliSourceDocument document, IliSourceLocator.BlockLocation container, String attributeName, int approximateLine)
-