brighterscript
Advanced tools
Changelog
0.16.1 - 2020-10-03
isEscapedCharCodeLiteral
to isEscapedCharCodeLiteralExpression
to match other expression class namesFunctionParameter
to FunctionParameterExpression
to match other expression class namesAAMemberExpression
interface into an expression class.isBrsFile
and isXmlFile
to check for constructor file name rather than file extension.instanceof
. All internal BrighterScript logic now uses the is
functions from astutils/reflection
, and plugin authors should do the same.Changelog
0.16.0 - 2020-10-02
Expression.walk
and Statement.walk
functions which provide shallow or deep walking of the ASTast
reflection methods to be used instead of instanceof
.invalidateReferences()
leadingWhitespace
property now that contains leading whitespace. Retrieving whitespace tokens from the Lexer
will be removed in a future update in favor of this appraochStatement
or Expression
instead of simply implementing their interfaces.astUtils/
in favor of direct node walking