public static class NodeModelBaseRegionAccess.Builder extends AbstractRegionAccess.Builder
Constructor and Description |
---|
NodeModelBaseRegionAccess.Builder() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
add(NodeModelBaseRegionAccess tokenAccess,
INode node) |
NodeModelBaseRegionAccess |
create() |
protected HiddenRegion |
createGap(ITextRegionAccess tokenAccess) |
protected NodeHidden |
createHidden(HiddenRegion gap,
ILeafNode node) |
protected NodeSemanticRegion |
createToken(NodeModelBaseRegionAccess tokenAccess,
INode node) |
protected EObjectTokens |
createTokens(NodeModelBaseRegionAccess access,
INode node) |
protected java.util.Map<org.eclipse.emf.ecore.EObject,AbstractEObjectTokens> |
getEObjectToTokensMap(ITextRegionAccess tokenAccess) |
protected IHiddenRegion |
getFirstRegion() |
protected XtextResource |
getXtextResource() |
protected boolean |
include(INode node) |
protected boolean |
isComment(ILeafNode leaf) |
protected void |
setLeadingGaps() |
protected void |
setTrailingGaps() |
NodeModelBaseRegionAccess.Builder |
withResource(XtextResource resource) |
protected boolean add(NodeModelBaseRegionAccess tokenAccess, INode node)
public NodeModelBaseRegionAccess create()
protected HiddenRegion createGap(ITextRegionAccess tokenAccess)
protected NodeHidden createHidden(HiddenRegion gap, ILeafNode node)
protected NodeSemanticRegion createToken(NodeModelBaseRegionAccess tokenAccess, INode node)
protected EObjectTokens createTokens(NodeModelBaseRegionAccess access, INode node)
protected java.util.Map<org.eclipse.emf.ecore.EObject,AbstractEObjectTokens> getEObjectToTokensMap(ITextRegionAccess tokenAccess)
getEObjectToTokensMap
in class AbstractRegionAccess.Builder
protected IHiddenRegion getFirstRegion()
getFirstRegion
in class AbstractRegionAccess.Builder
protected XtextResource getXtextResource()
getXtextResource
in class AbstractRegionAccess.Builder
protected boolean include(INode node)
protected boolean isComment(ILeafNode leaf)
protected void setLeadingGaps()
protected void setTrailingGaps()
public NodeModelBaseRegionAccess.Builder withResource(XtextResource resource)