You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to build literal lists with literalList. But it's not possible to build a list of expressions.
Something like:
list(refer('a'), refer('b'));
I tried to build it myself, but I had to revert to building a string using DartEmitter. The classes that might help me do it the proper way (like BinaryExpression) are private.
This might be solved by an overarching fix, like adding a class that interleaves literal strings with expressions (see proposal in #223 (comment)) or some ability to plug in custom visitor methods.
The text was updated successfully, but these errors were encountered:
It's possible to build literal lists with
literalList
. But it's not possible to build a list of expressions.Something like:
I tried to build it myself, but I had to revert to building a string using
DartEmitter
. The classes that might help me do it the proper way (likeBinaryExpression
) are private.This might be solved by an overarching fix, like adding a class that interleaves literal strings with expressions (see proposal in #223 (comment)) or some ability to plug in custom visitor methods.
The text was updated successfully, but these errors were encountered: