public interface ProgramElement extends SourceElement, ModelElement
Modifier and Type | Method and Description |
---|---|
Comment[] |
getComments()
Get comments.
|
MatchConditions |
match(SourceData source,
MatchConditions matchCond)
matches the source "text" (@link SourceData#getSource()) against the pattern represented
by this object.
|
equalsModRenaming, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getPositionInfo, getRelativePosition, getStartPosition, prettyPrint, visit
Comment[] getComments()
MatchConditions match(SourceData source, MatchConditions matchCond)
MatchConditions
with
the found instantiations of the schemavariables. If the match
failed, null is returned instead.source
- the SourceData with the program element to matchmatchCond
- the MatchConditions found up to this point