ParserBuilder builder = context.getBuilder();
logBegin(builder, optional, depth);
TokenType tokenType = builder.getTokenType();
if (tokenType != null && !tokenType.isChameleon()){
if (tokenType.isVariable()) {
PsiBuilder.Marker marker = builder.mark(null);
builder.advanceLexer(parentNode);
return stepOut(marker, depth, ParseResultType.FULL_MATCH, 1, null, context);
}
}
return stepOut(null, depth, ParseResultType.NO_MATCH, 0, null, context);