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
IMPORTANT:SyntaxFactory.Literal(string text, long value);
IMPORTANT:SyntaxFactory.Literal(SyntaxTriviaList leading, string text, long value, SyntaxTriviaList trailing).
Changed
Constant folder now attempts to preserve trivia around nodes that were folded.
[Breaking] The following were changed as a result of implementing local variable attributes:
LocalVariableDeclarationStatementSyntax.Names now returns a SeparatedSyntaxList<LocalDeclarationNameSyntax> instead of SeparatedSyntaxList<IdentifierNameSyntax>;
LocalVariableDeclarationStatementSyntax.Update now receives a SeparatedSyntaxList<LocalDeclarationNameSyntax> instead of SeparatedSyntaxList<IdentifierNameSyntax>;
LocalVariableDeclarationStatementSyntax.AddNames now receives a params LocalDeclarationNameSyntax[] instead of params IdentifierNameSyntax[];
LocalVariableDeclarationStatementSyntax.WithNames now receives a SeparatedSyntaxList<LocalDeclarationNameSyntax> instead of SeparatedSyntaxList<IdentifierNameSyntax>;
SyntaxFactory.LocalVariableDeclarationStatement overloads now receive a SeparatedSyntaxList<LocalDeclarationNameSyntax> instead of SeparatedSyntaxList<IdentifierNameSyntax>;
LuaSyntaxOptions constructor and With method now accept an acceptLocalVariableAttributes parameter.
[Breaking] The following were changed as a result of implementing integers:
The Lua 5.3 preset was changed to accept integers;
IMPORTANT:SyntaxToken.Value now can be a long when any of the *IntegerFormat settings are set to IntegerFormats.Int64;
LuaSyntaxOptions constructor and With method now accept 4 IntegerFormats for each number format (binary, octal, decimal and hexadecimal);
The constant folder was modified to support integers.