public LuaLocalVariableDeclaratorSyntax(LuaVariableDeclaratorSyntax declarator) { if (declarator == null) { throw new ArgumentNullException(nameof(declarator)); } Declarator = declarator; }
public LuaLocalVariableDeclaratorSyntax(LuaIdentifierNameSyntax identifier, LuaExpressionSyntax expression = null) { Declarator = new LuaVariableDeclaratorSyntax(identifier, expression); }