Package org.eclipse.xtext.parser.packrat
Interface IMarkerFactory
-
- All Known Subinterfaces:
Marker.IMarkerClient
- All Known Implementing Classes:
AbstractPackratParser
,DebugMarkerFactory
,StringWithOffset
,TerminalsPackratParser
public interface IMarkerFactory
Factory forIMarkerFactory.IMarker
instances.IMarkerFactory.IMarker
s are used to store a parse state and to handle alternatives and rejoin them. Subsequent calls tomark()
create kind of child markers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IMarkerFactory.IMarker
Represents a nestable parser state
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMarkerFactory.IMarker
mark()
Creates a new marker.
-
-
-
Method Detail
-
mark
IMarkerFactory.IMarker mark()
Creates a new marker.- Returns:
- the created marker.
-
-