use of lucee.transformer.expression.literal.LitString in project Lucee by lucee.
the class AbstrCFMLExprTransformer method structElement.
/**
* Transfomiert ein Collection Element das in eckigen Klammern aufgerufen wird.
* <br />
* EBNF:<br />
* <code>"[" impOp "]"</code>
* @return CFXD Element
* @throws TemplateException
*/
private ExprString structElement(ExprData data) throws TemplateException {
comments(data);
ExprString name = data.factory.toExprString(assignOp(data));
if (name instanceof LitString)
((LitString) name).fromBracket(true);
comments(data);
return name;
}
Aggregations