use of org.develnext.jphp.core.tokenizer.token.expr.BraceExprToken.Kind in project jphp by jphp-compiler.
the class ExprGenerator method processSimpleExpr.
protected List<Token> processSimpleExpr(Token current, ListIterator<Token> iterator) {
Kind closedBraceKind = null;
if (isOpenedBrace(current, SIMPLE))
closedBraceKind = SIMPLE;
else if (isOpenedBrace(current, ARRAY))
closedBraceKind = ARRAY;
ExprStmtToken token = analyzer.generator(SimpleExprGenerator.class).getToken(current, iterator, Separator.SEMICOLON, closedBraceKind);
return token.getTokens();
}
Aggregations